On Sun, 8 Oct 2006, Oliver Neukum wrote:

> I've never said that autosuspend is a bad idea. For many devices it is
> simple and painless. But it is insufficient. Therefore I think removing
> the ability to explicitely request a suspension from user space is wrong.

I tend to agree.  And I expect we _will_ end up with a userspace interface 
for suspending some devices.  Other devices, like USB hubs, have no need 
of such an interface (other than for testing, perhaps).

The reason for removing the current interface is just that it is so bad.  
Look how confused you were when you saw it recently.  Values are 0, 2, and
3, 3 automatically gets changed to 2,...  There isn't even any way for a
driver to tell whether a suspend message is a runtime request from
userspace or a system sleep transition notification!

> If so many people cannot come up with a good design, doesn't that indicate
> there's no single method that satisfies all needs?

Probably.  That's why I've been saying all along that these things need to 
be decided by the individual drivers.  No single design will be 
appropriate for all of them.

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

Reply via email to