Am Dienstag, 11. Oktober 2011, 18:43:55 schrieb Alan Stern: > On Tue, 11 Oct 2011, Dmitry Torokhov wrote: > > Hmm, reading Alan's comment I can see why wakeup might be beneficial > > when system is in the sleep state, but while it is running and there is > > no driver or driver wants to disable wakeups I think we should > > accommodate it. > > Currently, wakeup is enabled for USB devices during autosuspend if and > only if one or more of the interface drivers has set the > intf->needs_remote_wakeup flag. Therefore all that usbhid should need > to do is clear that flag when the device file is closed. Now I am confused because Matthew reported that his device generated remote wakeups without setting needs_remote_wakeup at all. Matthew, could you clarify? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html