On Fri, 23 Feb 2007, Greg KH wrote: > > Part of the development I did with Oliver was to add a .../power/suspended > > attribute for USB devices. Writing 1 would immediately suspend the device > > and writing 0 would immediately resume it. Should I submit that part as a > > separate new patch? > > Well, we probably need to do that with the larger pm changes for all > subsystems, right?
The thing is, each subsystem needs to add this in its own way -- because each type of bus has a different notion of what power states are available. USB is simple in that respect, with only two possible states; things like PCI are more complicated. > I have heard rumors that both Intel and mvista are starting to dig up > the old patches and want to get this stuff all sorted out and into the > main kernel tree. Hopefully something comes of it... My crystal ball is looking particularly cloudy today. Eventually something will have to be done, but will it be done independently by each subsystem? Or will there be a centralized PM core API with a subsystem-specific hook? I have no idea. So it comes down to the same question: Should I submit this USB-only facility for inclusion now, with the understanding that it may need to be changed later? 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