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: Adrian Bunk <bunk@...>, Greg KH <gregkh@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-usb-devel@...>, Oliver Neukum <oneukum@...>
Date: Thursday, September 13, 2007 - 12:07 pm

On Thu, 13 Sep 2007, Adrian Bunk wrote:


Well, size is one problem I had in mind.  There are a _lot_ of USB 
devices in existence.

But mainly it's a question of maintenance and modification.  Kernel
developers don't really enjoy maintaining black- or whitelists of
devices, together with all the work involved in sorting through the
issues when somebody posts an email saying "My device doesn't work!".

Also, modifying device lists in the kernel tends to be a slow process, 
involving at least one kernel release cycle.  It's much easier for 
people to maintain userspace databases.  Now I realize you proposed 
there be a userspace interface for modifying the kernel's whitelist -- 
but if you're going to do that, why not put the entire whitelist in 
userspace to begin with?

Maybe you're concerned about propagating updates as painlessly as 
possible -- if the whitelist is in the kernel then every kernel release 
would include an update.  But in userspace it's possible to do updates 
even more quickly and painlessly.  For example, there could be a 
network server available for both interactive lookups and automatic 
queries from HAL.


You _can't_ change the autosuspend setting for a device that hasn't yet
been detected; you can only do it after detection.  But you _can_
modify a whitelist either before or after a device is detected; any
such modifications won't affect the already-existing devices.

Does that answer your question?

Alan Stern

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