Stoffer n00b
Joined: 21 Jul 2003 Posts: 65
|
Posted: Sun Nov 16, 2003 10:25 am Post subject: Trackpoint & USB Mouse Solution |
|
|
I finally got a usb mouse and my trackpoint to work at the same time on my IBM T30 laptop, so I thought I'd post the solution. I use XFree version 4.3.0, and in your XF86Config file there is a section for a mouse (usually defaulted to your trackpoint). Note that I DON'T use a touchpad, so I don't have it enabled. Your trackpoint sections should say:
Code: | Section "InputDevice"
# Identifier and driver
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5" |
Note that for the option "Emulate3Buttons", it doesn't really matter if it's on or off, or at least there's no difference that I've noticed. The original unchanged code that was already in your XF86Config file may have the trackpoint listed as Mouse1, you should change this to Mouse0.
Now here's the code for the USB Mouse:
Code: | Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "Emulate3Buttons" "on"
Option "ZAxisMapping" "4 5"
EndSection
|
And finally add a line in the "ServerLayout" section. Originally it would look something like this:
Code: | InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
|
Remember that originally the only mouse in that section would be Mouse1, so change Mouse1 to Mouse0, then add the additional Mouse1 line. So finally it should look like this:
Code: | InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "AlwaysCore"
|
Then restart X and it should work. Hope that helps! |
|