Re: /sys/.../power/autosuspend format

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

 



Am Freitag, 27. August 2010, 17:36:53 schrieb Alan Stern:
> Oliver:
> 
> For SCSI devices, the autosuspend idle-delay time will have to vary
> from under one second up to an hour or so.  The current USB
> /sys/.../power/autosuspend format, which simply lists the timeout in
> seconds, won't be adequate.

I see.

> I thought the format could be changed to [MM:]SS[.FFF] where MM is
> minutes, SS is seconds, and FFF is milliseconds.  It would be backward
> compatible with the existing format for input, although the output
> appearance would be different.  The same format could be used for USB
> as well (in fact, the attribute set and show routines could go in
> the PM core, making them easy to share among subsystems).
> 
> What do you think?

It seems to me that the standard for /sys is to use miliseconds.
And that seems to be reasonable. We'd fare better with a second
field and to truncate the output on the old field.

	Regards
		Oliver


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