Console ps2 mouse behavior control (was : Re: test)

Ion-Mihai Tetcu itetcu at apropo.ro
Sun Nov 30 05:35:11 PST 2003


On Sun, 30 Nov 2003 08:16:30 -0500
Dev Tugnait <dev at unixdaemon.org> wrote:

Plese wrap at 72 char.

> Well hi firstly make sure /etc/rc.conf does set
> Emulate3Buttons=yes...YOu didnt specify what mouse you have...
                        ^^^^^^^^^^^^
So how do you know ?

> Auto
> works fine mos t of the time. If you wan mouse wheel add this to
> XF86Config
> 
>     Identifier  "Mouse1"
>     Driver      "mouse"
>     Option "Protocol"    "Auto"
>     Option "Device"      "/dev/sysmouse"
>     Option "ZAxisMapping" "4 5"
>     Option Emulate3Buttons "no"
> 
> restart X this is just an example feel free to try it have fun :)

Or:

it# cat /etc/rc.conf | grep moused
moused_enable="YES"
moused_flags="-z 4"
moused_type="auto"

and

it# cat /etc/X11/XF86Config | grep -A4 Mouse
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/sysmouse"
    Option "Buttons" "5"

for:

it# dmesg | grep psm
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3

actually and A4Tech Optical 3D Mouse.




-- 
IOnut
Unregistered ;) FreeBSD user


More information about the freebsd-newbies mailing list