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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Stern
Date: Thursday, September 13, 2007 - 8:20 am

On Thu, 13 Sep 2007, Adrian Bunk wrote:


Your meaning isn't entirely clear.  Presumably HAL will contain such a 
whitelist.  But there's nothing to stop you from setting up your own 
whitelist via udev scripts, or even turning autosuspend on or off by 
hand.


It's not clear that this sort of approach will turn out to be workable.  
Whitelists/blacklists do okay in the kernel when they refer to a 
relatively small subset of devices.  However in this case I have the 
impression that we're talking about roughly a 50/50 split.  Keeping an 
in-kernel list with even 10% of all existing USB devices simply isn't 
feasible.

Besides, is it really that much harder for userspace to modify device
settings as the devices are detected than for it to modify an in-kernel
whitelist just once?  Don't forget about possible races: Devices may
already have been detected and configured before userspace was able to
modify the whitelist.

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, 6:33 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 7:52 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 8:20 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 8:40 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 9:07 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 9:43 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 12:13 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Pete Zaitcev, (Thu Sep 13, 12:26 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 1:19 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Thu Sep 13, 1:31 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 1:44 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 2:28 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Thu Sep 13, 3:05 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Linus Torvalds, (Thu Sep 13, 5:11 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Matthew Dharm, (Thu Sep 13, 5:24 pm)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Jiri Kosina, (Fri Sep 14, 1:55 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Adrian Bunk, (Fri Sep 14, 7:15 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 7:26 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 7:29 am)
Re: [GIT PATCH] USB autosuspend fixes for 2.6.23-rc6, Alan Stern, (Fri Sep 14, 7:34 am)