Hi all, I tried googling for this issue but so far have not managed to solve this, hopefully someone here can help.
I bought Logitech Revolution MX mouse just recently. The mouse is great and for the most part works quite well with Linux. The biggest problem currently is that the mouse device changes every boot and I am left without mouse.
I followed this guide to get it working Logitech MX Revolution in Linux at Andy @ Hillhome.org . What causes problems, is this line in the xorg.conf:
Option "Device" "/dev/input/event2" # cat /proc/bus/input/devices
Because the device /dev/input/event for my Logitech mouse keeps changing, the xorg.conf needs to be changed also every boot.
Here is my /dev/input (event2 is currently the correct device for my mouse):
petrin:/dev/input/by-id # ls -lha ../
total 0
drwxr-xr-x 4 root root 260 Jul 28 2009 .
drwxr-xr-x 13 root root 5.1K Jul 28 19:23 ..
drwxr-xr-x 2 root root 120 Jul 28 2009 by-id
drwxr-xr-x 2 root root 160 Jul 28 2009 by-path
crw-r----- 1 root root 13, 64 Jul 28 2009 event0
crw-r----- 1 root root 13, 65 Jul 28 2009 event1
crw-rw----+ 1 root root 13, 66 Jul 28 2009 event2
crw-r----- 1 root root 13, 67 Jul 28 2009 event3
crw-r----- 1 root root 13, 68 Jul 28 2009 event4
crw-r----- 1 root root 13, 69 Jul 28 2009 event5
crw-r----- 1 root root 13, 70 Jul 28 2009 event6
crw-r----- 1 root root 13, 63 Jul 28 2009 mice
crw-r----- 1 root root 13, 32 Jul 28 2009 mouse0
I dug around and noticed that someone else also has thought of this situation, because under /dev/input/by-id directory there are symlinks that point to the correct device:
petrin:/dev/input/by-id # ls -lha
total 0
drwxr-xr-x 2 root root 120 Jul 28 2009 .
drwxr-xr-x 4 root root 260 Jul 28 2009 ..
lrwxrwxrwx 1 root root 9 Jul 28 2009 usb-Logitech_Logitech_Illuminated_Keyboard-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9 Jul 28 2009 usb-Logitech_Logitech_Illuminated_Keyboard-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9 Jul 28 2009 usb-Logitech_USB_Receiver-event-mouse -> ../event2
lrwxrwxrwx 1 root root 9 Jul 28 2009 usb-Logitech_USB_Receiver-mouse -> ../mouse0
So the fix seemed quite trivial, just to replace the /dev/input/eventX with the symlin /dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse . But to my suprise that does not work! If I specify the device directly, all is well, but that keeps changing and if I try with symlink, mouse does not work. And for the life of me I can not figure out why the symlink to the device does not work, usually a symlink is as good as the original, but I guess it can be different with device-files.
Can anyone suggest a fix for this? It is extremely annoying to jump back to text-terminal to edit xorg.conf after every boot.