Am Mittwoch, 12. Oktober 2011, 20:50:03 schrieb Henrik Rydberg:
On Wed, Oct 12, 2011 at 04:38:38PM +0200, Oliver Neukum wrote:
quoted
Am Mittwoch, 12. Oktober 2011, 16:26:21 schrieb Matthew Garrett:
quoted
Sorry, yes, you're right. In that case it's probably working for me
because the keyboard is another interface on the same device, so the
wakeup bit is being set from there.
Very good. A mystery is solved. Indeed you may have found
a deficiency in the USB spec.
Glad you sorted this out. So we can really only treat a device as one
(auto)power unit, due to remote wakeup being requested at the device level,
rather than at the interface level.
Yes, when in doubt we must request it, even at the cost of unnecessary wakeups.
This also means that only Matthew's latest patch is correct. We cannot depend
on the usbhid always be loaded and requesting remote wakeups.
Regards
Oliver