I have a Logitech MX 1000 mouse, which X is configured to use the evdev protocol for. Here's the relevant part of my xorg.conf file:
Code:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB RECEIVER"
Option "Device" "/dev/input/mice"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5 7 6"
Option "Resolution" "800"
Option "CorePointer"
EndSection
This configuration works fine, except that when I unplug the mouse and plug it back in, it no longer works. Restarting X is the only resolution I know of. This is a major issue for me, since I'm constantly switching between boxen by unplugging keyboard/mouse/VGA cables.
According to Googling I've done, this issue is caused by the /dev/event* stream ending when the mouse is unplugged.
Is there any way to make X automatically redetect the mouse when it's plugged back in? Alternatively, is there any program I can run manually to make X redetect the mouse?
Thanks in advance.