On Tue, 5 Dec 2006, Adam Sulmicki wrote: > > Probably the Clear-Halt is what sometimes gets the remote going again. > > You are right. > > I have written a little command line utility that sends libusb's > usb_clear_halt() to device. > > I have tested it with > * remote on power on > * remote on unplug/plugin > * remote on modprobe usbhid > > in each case the usb_clear_halt() would get it unstuck and it would > continue to work normally. I powercycled system and repated test, and > again each time I was able to unstuck remote.
Then I guess that fixes your problem. Sort of. By the way, there's nothing wrong with the device halting its endpoint and needing a Clear-Halt request. However, if it does so it is supposed to let the computer know by sending a STALL response when the endpoint is read. If it had, then the latest versions of usbhid would automatically have sent back a Clear-Halt. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel