Re: Setting usb autosuspend idle-delay in milliseconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, 19. Februar 2010 11:12:22 schrieb Torgny Johansson:
> Hi!
> 
> Is there any way to set the usb autosudpend idle-delay time in smaller
> increments than 1s? We're seeing some issues with a 0s delay (not
> investigated much yet) but all is good with a delay of 1s.

0s is dangerous because you cannot be sure all transfered data has
been processed. Currently the granularity is in seconds without a way
around that.

> We're curious if there's a way to finetune the delay or if there's some
> obvious reason for having 1s increments that we're not aware of? Maybe
> the gain of having finer grained control is negligable?

There's no obvious reason to give the delay in seconds. There is an obvious
reason to suspect that a delay of 0 will fail on many devices. There must
be a lower limit that is device specific. We are pretty sure it is below 1s.

The original idea was that anything lower than 1s would not make a significant
difference. That however is an assumption without experimental verification.

Shall I understand this as a request for a patch that allows milisecond
resolution?

	Regards
		Oliver

PS: You might find it helpful to read an article on last week's lwn.net
which I describe USB autosuspend in.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux