Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Alan Stern <stern@...>, Greg KH <gregkh@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-usb-devel@...>, Oliver Neukum <oneukum@...>
Date: Thursday, September 13, 2007 - 4:44 pm

On Thu, 13 Sep 2007, Adrian Bunk wrote:

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
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Greg KH, (Thu Sep 13, 9:33 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 10:52 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 11:20 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 11:40 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 12:07 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 4:19 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 4:44 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 5:28 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 10:26 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 6:05 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 10:29 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 8:11 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Fri Sep 14, 10:15 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 4:31 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 12:43 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Pete Zaitcev, (Thu Sep 13, 3:26 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 3:13 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Jiri Kosina, (Fri Sep 14, 4:55 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Matthew Dharm, (Thu Sep 13, 8:24 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 10:34 am)