You are not logged in.
Hey, I have a synaptics touch pad, usb wireless mouse and UDEV rules via wiki to disable the synaptics touchpad when the usb mouse is plugged in. However, when I plug in the usb mouse it is disabled along with the touchpad. I can do cat /dev/input/mouse2 and see the events sent from the wireless mouse.
Xorg
Section "ServerLayout"
Identifier "Arch Linux"
Screen 0 "Screen0"
InputDevice "keyboard"
InputDevice "usbmouse"
InputDevice "synaptics"
EndSection
...
Section "InputDevice"
Identifier "usbmouse"
Driver "mouse"
Option "Device" "/dev/input/mouse2"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
Option "SendCoreEvents" "yes"
# Option "SHMConfig" "on"
EndSection
Section "InputDevice"
Identifier "synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mouse1"
# Option "Protocol" "auto-dev"
# Option "LeftEdge" "60"
# Option "RightEdge" "1070"
# Option "TopEdge" "90"
# Option "BottomEdge" "680"
# Option "PalmDetect" "0"
Option "SHMConfig" "true"
Option "SendCoreEvents" "yes"
# Option "HorizEdgeScroll" "1"
# Option "VertEdgeScroll" "1"
# Option "RBCornerButton" "0"
# Option "RTCornerButton" "0"
Option "MaxSpeed" "0.9"
# You will also need the following 3 lines if you're using Xorg 1.5RC6 or newer
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
01-touchpad.rules
ACTION=="add", SUBSYSTEM=="input", ENV{ID_CLASS}="mouse", RUN+="/usr/bin/synclient -s TouchpadOff=1"
ACTION=="remove", SUBSYSTEM=="input", ENV{ID_CLASS}="mouse", RUN+="/usr/bin/synclient -s TouchpadOff=0"
Thanks!
Last edited by rab (2009-10-19 18:13:44)
rawr
Offline
Bah, fixed it. usbmouse had to be set to /dev/input/mice
rawr
Offline
Bah, fixed it. usbmouse had to be set to /dev/input/mice
Does anyone knows how can I fix this using a HAL .fdi instead of xorg.conf?
Thanks in advance,
Alex Tercete
Offline
How to disable automatical touchpad when USB mouse has been connected already? No in xorg.conf ? Some idea ? Thanks.
Offline