On Thu, 5 Oct 2006, Oliver Neukum wrote: > I have a few observations, but no solution either: > - if root tells a device to suspend, it shall do so
Probably everyone will agree on that. > - the issues of manual & automatic suspend and remote wakeup are orthogonal Except for the fact that remote wakeup kicks in only when a device is suspended. > - there should be a common API for all devices It would be nice, wouldn't it? But we _already_ have several vastly different power-management APIs. Consider for example DPMI and IDE spindown. > - there's no direct connection between power save and open() Why shouldn't a device always be put into a power-saving mode whenever it isn't open? Agreed, you might want to reduce its power usage at times even when it is open... > The question when a device is in use is far from trivial. Yes. It has to be decided by each individual driver. For simple character-oriented devices, "open" is a good first start. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel