On Tue, 2014-09-02 at 11:39 -0400, Alan Stern wrote: > This patch changes the way usbhid carries out Clear-Halt and reset. > > Currently, after a Clear-Halt on the interrupt-IN endpoint, the driver > immediately restarts the interrupt URB, even if the Clear-Halt failed. > This doesn't work out well when the reason for the failure was that > the device was disconnected (when a low- or full-speed device is > connected through a hub to an EHCI controller, transfer errors caused > by disconnection are reported as stalls by the hub). Instead now the > driver will attempt a reset after a failed Clear-Halt. OK, it is bad style to write three replies to one mail, but something about resetting kept nagging. I just wasn't sure what. What happens if we lose events? Especially with keyboards I see a problem with dropping a release event because this will trigger autorepeat. So should we generate a release event for all pressed keys on reset? Regards & Sorry Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html