Re: Suspend / resume support for Sierra Wireless modems
David Brownell <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday 25 April 2007, James Graves wrote: > > Hello all, > > We're looking to add support for suspend and resume to the Sierra > Wireless modem driver (linux/drivers/usb/serial/sierra.c). > > My initial impression is that there is relatively little that needs to > be done, but I would like to confirm this. Here's the task list as I > understand it: > > 1) Add the suspend and resume functions to usb_driver structure. > > 2) In the suspend routine, kill all the URBs for all the active devices. > > 3) In the resume routine, re-submit the URBs for all the active devices. > > Is that it? Suspend should also prevent submission of new URBs, "plugging" the queue ... resume should likewise re-enable that. It's possible that the serial and line discipline stacks do that already, but I wouldn't know. - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel