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

From: Dave Jones
Date: Fri Aug 03 2007 - 11:04:42 EST


On Fri, Aug 03, 2007 at 04:43:16PM +0200, Jiri Kosina wrote:
> On Fri, 3 Aug 2007, Matthew Garrett wrote:
>
> > Windows will autosuspend hubs, bluetooth devices, HID devices
>
> Hi Matthew,
>
> are you sure about windows suspending the HID devices in runtime? I have
> never seen LEDs of USB keyboard connected to windows host to go off after
> some time of not using it.

Not so sure about keyboards, but I've seen the LEDs on USB mice dim or go off
after a few seconds of inactivity under Windows, but under Linux they stay on.

> 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?

Dave

--
http://www.codemonkey.org.uk
-
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/