Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trackpoint & USB Mouse Solution
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Stoffer
n00b
n00b


Joined: 21 Jul 2003
Posts: 65

PostPosted: Sun Nov 16, 2003 10:25 am    Post subject: Trackpoint & USB Mouse Solution Reply with quote

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!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum