Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

From: David Brownell
Date: Fri Aug 03 2007 - 11:25:02 EST


On Friday 03 August 2007, Dave Jones wrote:
>  > We have been playing with runtime autosuspend of HID devices, are
>  > currently postponed the full support, as it turns out that many devices
>  > don't support this feature properly (probably due to not being tested in
>  > Windows).
>
> Interesting.  Which devices did you notice failing?
> Was it a case that they would sleep and not come back out of that state?

And could you elaborate on "many"? What proportion of HID devices
(by volume, model, etc) seem to have problems?

I'd certainly expect there to be some HID devices which misbehave
(I have one, a cheap MacAlly trackball). Early testing seemed to
indicate such misbehavior was the exception to the rule ... folk
kept disbelieving me when I pointed out some HID devices misbehaved,
since nobody else had seen such a thing!

The specific failure I saw was that the device advertised itself as
supporting remote wakeup, but it couldn't issue that signaling. It
came back from suspend just fine ... but moving or clicking would
not do what it should.

- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/