Re: suspending hid devices
David Brownell <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 30 January 2007 8:28 am, Alan Stern wrote: > Shouldn't it be true, when you first > do the suspend, that all the I/O queues are empty? Actually, no. That's a gap in the Linux-PM framework: there's no way to shut down tasks cleanly before starting the driver suspend sequence. Which means there's no "shut the I/O queues down" hook, short of calling the lowest level driver's suspend() method. Although ... once the class suspend() and resume() stuff starts working, then I/O requests that are issued through class code -- classic example being the network stack -- could be shut down at that level, so drivers won't have to replicate the relevant (error prone) code. - Dave ------------------------------------------------------------------------- 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 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel