Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6
Linus Torvalds <[email protected]>
| Newsgroups | gmane.linux.usb.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 13 Sep 2007, Adrian Bunk wrote: > > No, what I'm concerned about is that this would require userspace for > something that is completely in-kernel. If done right (and autosuspend now is), there is no "required" userspace. If you want autosuspend, you just say so. The kernel doesn't do it by default. This is not about "user space required" - it's about "user space can ask for it if it wants to". Notice? There doesn't even have to be any blacklists/whitelists at all. It really can be just an application that allows the user to check or uncheck the capability (with a warning saying something like: "Some USB devices may disconnect when suspended - if this affects you, uncheck this"). That's why the kernel shouldn't set policy. It's a *good* thing to just expose the capabilities, but not necessarily use them! Linus ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel