View previous topic :: View next topic |
Author |
Message |
sharky44 n00b
Joined: 13 Jul 2002 Posts: 48 Location: USA
|
Posted: Sat Jul 13, 2002 4:41 pm Post subject: Multiple Mice? |
|
|
Hi. I've installed Gentoo on my IBM ThinkPad A22m this week, and (with a few glitches along the way, of course) have it working pretty well.
My question is: I have basically two mice -- the trackpoint in the middle of the keyboard, as well as an external USB mouse. It would be very convenient if both of them were functional at the same time. I can get either one to work fine by itself in X, but not both. Here's the relevant portions of my XF86Config file:
-----------------------------------
# TrackPoint
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons"
EndSection
# USB Mouse
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
# This is where the problem lies, I believe:
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse2" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
----------------------------------
With this configuration, only the USB mouse works. If I change the line about the mouse to:
InputDevice "Mouse1" "CorePointer"
then the trackpoint works. BUT - If I, say, put both mouse lines in at the same time, only the first one listed works correctly.
Let me know if anyone has had any luck with this. Thanks |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Jul 13, 2002 4:46 pm Post subject: |
|
|
Out of curiosity, what are /dev/mouse and /dev/input/mouse linked to? (ls -l) _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Sat Jul 13, 2002 4:46 pm Post subject: |
|
|
here the config that works, both touchpad (equals to trackpoint in config) and usb-mouse at the same time: Code: | Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "SendCoreEvents"
EndSection
# touchpad
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection
# usb optical logitech mouseman with wheel
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
|
* ElCondor pasa * _________________ Here I am the victim of my own choices and I'm just starting! |
|
Back to top |
|
|
sharky44 n00b
Joined: 13 Jul 2002 Posts: 48 Location: USA
|
Posted: Sat Jul 13, 2002 5:11 pm Post subject: |
|
|
Thanks, it's working now. This is what I was trying to do:
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse2" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
But taking your suggestion, ElCondor, this is working great. Thanks:
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse2" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
And, just to satisfy your curiousity, kanuslupus:
lr-xr-xr-x 1 root root 10 Jul 13 05:46 /dev/mouse -> misc/psaux
crw-r--r-- 1 root root 13, 63 Dec 31 1969 /dev/input/mice
Thanks for your help!!! |
|
Back to top |
|
|
ElCondor Guru
Joined: 10 Apr 2002 Posts: 520 Location: Vienna, Austria, Europe
|
Posted: Sat Jul 13, 2002 9:48 pm Post subject: |
|
|
sharky44 wrote: | Thanks for your help!!! |
That's what we are here for
Next time it's your turn to help someone else
* ElCondor pasa * _________________ Here I am the victim of my own choices and I'm just starting! |
|
Back to top |
|
|
|