On Tue, 25 Sep 2012, Ming Lei wrote:

> IMO, it should be reasonable to set the device's autosuspend delay
> as zero when its driver is unbound because no one can predict when
> the device will be bound to a new driver.

It could be set to a low value, but it shouldn't be set to 0.  There 
aren't too many things you can do with an unbound device; lsusb is one 
of the most common.

On the other hand, we already have a usbcore module parameter for 
specifying the default autosuspend delay.  That's what the delay is set 
to when a device is first initialized, before it is bound to anything.  
Unfortunately the parameter's value is in seconds, not milliseconds, so 
we can't set it to any positive value smaller than 1 second.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to