Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 18:05:14 -0500
From:      Paul Schmehl <pauls@utdallas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Xorg and mice
Message-ID:  <8351CCFCAECF1B7B139D2FB2@utd59514.utdallas.edu>

next in thread | raw e-mail | index | archive | help
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@utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8351CCFCAECF1B7B139D2FB2>