next up previous contents home.gif
Next: Built in memory stick Up: Video & Input Devices Previous: Video & Input Devices   Contents

Getting the USB mouse to work

A quick tail of /var/log/messages indicated that my machine could see the mouse and a search on the net gave me the right thing to add to XF86config. A new device in the pointer section, and a mod to the screen section.
XF86config modifications
Section "ServerLayout"
  Identifier    "Simple Layout"
  Screen        "Screen1"
  InputDevice   "Mouse1" "CorePointer"
  InputDevice   "Mouse2"
  InputDevice   "Keyboard1" "CoreKeyboard"
EndSection

and then set up a second mouse section that looks like this:

Section "InputDevice"
  Identifier    "Mouse2"
  Driver        "mouse"
  Option        "Protocol" "IMPS/2"
  Option        "Device" "/dev/input/mice"
  Option        "SendCoreEvents" "on"
  Option        "ZAxisMapping" "4 5"
EndSection

With this you can use both the usb mouse and the touch pad. It doesn't turn the touchpad off. Middle scroll button works.



Douglas Dawson 2004-03-31