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

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

Post by Alan Ster » Sat, 04 Aug 2007 11:50:07



While I agree in general, perhaps a different approach would work
better. For instance, we could blacklist a few known-bad device
classes (maybe even using the existing blacklist) rather than
whitelisting a few known-good ones -- or trying to blacklist each
member of the bad classes!

Also, building something this sweeping into a kernel driver feels like
a mistake. It ought to be more easily configurable from userspace, say
via a sysfs file. Although this wouldn't be so important if we take
the blacklist-classes route.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

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

Post by Jiri Kosin » Sun, 05 Aug 2007 00:00:19


Random keyboards, even connection to EHCI/OHCI seemed to make difference.
We have been doing some experiments with Alan during OLS and it seemed
quite hopeless.

A few keyboards we have been testing with seemed to be losing keypressess
when coming out of suspend (if and only if the root hub wasn't suspended
too, etc. Magic).

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/

 
 
 

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

Post by Jiri Kosin » Sun, 05 Aug 2007 00:40:07


I agree here.


I currently don't have any HID UPS by hand to verify, but I'd be surprised
if they would advertise remote wakeup capability ... ?

Thanks,

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

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

Post by Alan Ster » Sun, 05 Aug 2007 02:50:13


It's rare, but it does happen. I've seen a device get so messed up by
suspend that it needed a reset; it wouldn't be surprising to find other
devices requiring a power cycle.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

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

Post by Alan Ster » Sun, 05 Aug 2007 06:20:09


The last report appears to be related more to the EHCI-cpufreq problem,
for which a patch was recently posted.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/