Mouse problem with event driver
Christoph Gösgens
cgoesgens at gmx.de
Fri Feb 20 03:03:32 PST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I've got a problem with my mouse. Most likely something hasn't been
configured correctly yet, but i can't find what it might be. I hope you
can help.
I've got two computers at my desk. A fairly new one, and an older one.
Each has got their own screen, and my Keyboard and Mouse are connected
to them through an USB+PS/2 KVM switch. The Mouse in question is a
Logitech MX510.
A short while ago i switched from the ImPS/2 Driver to the event driver
on the newer desktop. Whenever i now switch to the old desktop, the new
computer "loses" the mouse. I see these Messages in the Xorg.log:
(EE) Configured Mouse: Read error: No such device
(EE) Configured Mouse: Failed to reopen device after 10 attempts.
(II) Configured Mouse: Close
I then have to restart X to get the mouse back. Needless to say that's
quite annoying :>
If i am on a tty, i still see (like it used to be) the USB Disconnect
messages, and when i switch back the USB Connect messages. With the old
driver, the Mouse Device would be re-opened and with half a second delay
or so, i could use it again.
This is how it's configured in the xorg.conf:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
# Option "Device" "/dev/input/event4"
Option "Device" "/dev/input/mx510"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
EndSection
Because the event device switches upon reboot (sometimes even when
switching back and forth between the computers i think) i wrote a udev
rule to create an additional Symlink to input/mx510:
KERNEL=="event*", SUBSYSTEMS=="input", ATTRS{name}=="Logitech USB-PS/2
Optical Mouse", SYMLINK+="input/mx510"
This rule works, the symlink is created (and re-created upon re-connect)
but the mouse stays gone.
Thanks in advance for your help.
regards,
Christoph Goesgens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmejgMACgkQXikP07lSR4FtugCg3PzE9sOHFL7r9/dbrifGruSz
LXYAn3UrgLwPe+r7e6vgwWEjFqZsAqi/
=iknX
-----END PGP SIGNATURE-----
More information about the xorg
mailing list