Xorg and mice

Paul Schmehl pauls at utdallas.edu
Wed Aug 17 23:05:16 GMT 2005


I'm running 5.4 SECURITY with Xorg 6.8.2.  I just got a new mouse.  It's a 
Logitech Wireless Optical Mouse.  I'm trying to get it working in Xorg.

I have the following in my xorg.conf file:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "Xinerama" "on"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Protocol" "sysmouse"
        Option      "Device" "/dev/ums1"
        Option      "Emulate3Buttons" "true"
        Option      "Buttons" "12"
        Option      "XAxisMapping" "6 7"
        Option      "YAxisMapping" "11 12"
        Option      "ZAxisMapping" "4 5"
        Option      "Resolution"  "800"
        Option      "Vendor" "Logitech"
EndSection

Cursor movement across the screens is normal.  The left and right mouse 
buttons work as expected, as does the wheel mouse (as a third button.)  So 
does the wheel, scrolling vertically.  But I can't seem to figure out the 
magic combo to get the horizontal scroll to work or the two "side" buttons 
to work.

Does anyone have a working example?  (I'm not interested in using xmodmap 
unless that's the only way to get it working.)  Is there a utility that can 
tell you which button (number) you pressed so you can test all the buttons 
and wheels on a mouse?  I tried xev, but it did nothing at all.

Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-questions mailing list