On Friday, August 27, 2010, Alan Stern wrote: > 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 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? > > For that matter, it might be a good idea to move the last_busy and > autosuspend_delay fields into the dev_pm_info structure, along with the > other runtime PM stuff. Since they are going to be used by both SCSI > and USB, they probably will get used by other subsystems as well. Sounds reasonable. Thanks, Rafael -- 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