View Full Version : Connect/disconnect USB mouse

March 6th, 2007, 08:45 AM
I have a USB mouse which allows you to set its resolution via the mouse wheel and a key. This never works right after a boot, but only if you unplug it and plug it in again. So I was thinking of a little script or program to automatically disconnect and reconnect the mouse at boot time. Is there any library that can handle this or any other way to achieve it? I am fluent in C and shell scripts and know most of the other major languages so any hint is welcome.