Re: [linux-usb-devel] 2.6.21-rc3-mm1

Alan Stern
2007-03-10T16:00:09Z

On Sat, 10 Mar 2007, Mariusz Kozlowski wrote:

> Right. Can't be 100% sure but without the patch it would have probably
> failed by now so I guess the patch is ok. Not sure how to make usb mouse
> plugging/unplugging process automatic ;-)

echo FOO >/sys/bus/usb/drivers/usbhid/unbind

to simulate an unplug (actually, to do an unbind), and

echo FOO >/sys/bus/usb/drivers/usbhid/unbind

to do a bind, where FOO is the name of the USB mouse device link present
in the /sys/bus/usb/drivers/usbhid directory.

Alan Stern