View previous topic :: View next topic |
Author |
Message |
Tyris n00b
Joined: 04 May 2003 Posts: 44 Location: Cincinnati, OH
|
Posted: Fri Jan 14, 2005 11:12 pm Post subject: Second mouse doesn't work in X |
|
|
Hi, I'm using X.org 6.8.1.901 on my laptop with the gentoo-dev-sources-2.6.8-r10 kernel. The laptop has a synaptics touchpad and I also have a USB mouse that I prefer to use. If I connect the USB mouse after X has started, the mouse doesn't work even though a device file is created for it. Restarting X or connecting the mouse before X loads works fine. Right now, I have each one set up as separate input devices because I want to use the synaptics driver on the touchpad. While I did learn from the forums here that I could use one input device pointed to /dev/input/mice (mostly likely this would allow the USB mouse to be plugged in at any time), this prohibits me from using the special synaptics driver on the touchpad. Is there a way to be able to connect the USB mouse at any time, and still use the synaptics driver? Thanks! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54397 Location: 56N 3W
|
Posted: Fri Jan 14, 2005 11:30 pm Post subject: |
|
|
Tyris,
Are both your pointers declared as CorePointers?
I have PS/2 and USB set up as different devices OK.
Code: | Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
# Option "Protocol" "ExplorerPS/2"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
# Allow Both mice to work for debugging
Option "SendCoreEvents"
EndSection |
Option "Device" "/dev/input/mouse0" works too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Tyris n00b
Joined: 04 May 2003 Posts: 44 Location: Cincinnati, OH
|
Posted: Sat Jan 15, 2005 5:50 am Post subject: |
|
|
Here are those sections of my xorg.conf:
Code: | Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "SynMouse" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USBMouse" "SendCoreEvents"
EndSection
Section "InputDevice"
Identifier "USBMouse"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mouse1"
EndSection
Section "InputDevice"
Identifier "SynMouse"
Driver "synaptics"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "55"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.15"
Option "AccelFactor" "0.001"
Option "SHMConfig" "on"
EndSection |
I believe the problem is that without the USB mouse connected, the device /dev/input/mouse1 does not exist, so X will ignore that input section, even if the mouse is connected after X loads. Any suggestions? Thanks! |
|
Back to top |
|
|
|