[linux-usb-devel] Sierra Wireless modem - issues with suspend again

2007-07-19 Thread James Graves
file(s) it previously had. This will still leave the application with an invalid file descriptor, but at least it wouldn't have to go looking around for a different device file. Any advice appreciated. Thanks, James Graves

Re: [linux-usb-devel] Sierra Wireless modem - issues with suspend again

2007-07-19 Thread James Graves
, James Graves - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ linux-usb

Re: [linux-usb-devel] Large writes issue with Sierra Wireless modem

2007-06-11 Thread James Graves
Greg KH wrote: On Tue, Jun 05, 2007 at 03:26:07PM -0500, James Graves wrote: Hello all, We're seeing a strange problem when writing commands to a Sierra Wireless USB modem. It is a USB 1.1 device. We're sending some commands over the control channel for the modem. Almost everything

[linux-usb-devel] Large writes issue with Sierra Wireless modem

2007-06-05 Thread James Graves
certainly appreciate it. Thanks, James Graves - 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

Re: [linux-usb-devel] suspend/resume for usb serial devices

2007-05-11 Thread James Graves
.log Any suggestions welcome. Cheers, James Graves - 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

Re: [linux-usb-devel] suspend/resume for usb serial devices

2007-05-07 Thread James Graves
Oliver Neukum wrote: this is wrong for 2 reasons: [... sierra_resume() and sierra_setup_urbs() ...] 1. You allocate new urbs. But you don't free the old urbs in suspend. 2. You don't restart the read queue. resume() must share code with open() in that regard OK, I have pulled out the code

Re: [linux-usb-devel] suspend/resume for usb serial devices

2007-05-02 Thread James Graves
=117451402229177w=4 And it uses usb_unlink_urb() instead of stop_urb() as suggested by Oliver. Please let me know what you think. James Graves Delta Mobile Software, Inc. - This SF.net email is sponsored by DB2 Express Download

Re: [linux-usb-devel] suspend/resume for usb serial devices

2007-05-02 Thread James Graves
Here's those two patch files. Boy, don't I feel silly. James --- sierra.c 2007-05-02 13:11:47.0 -0500 +++ sierra_107.c 2007-04-30 19:17:43.0 -0500 @@ -15,7 +15,7 @@ */ -#define DRIVER_VERSION v.1.0.6 +#define DRIVER_VERSION v.1.0.7 #define DRIVER_AUTHOR Kevin Lloyd [EMAIL

[linux-usb-devel] Suspend / resume support for Sierra Wireless modems

2007-04-25 Thread James Graves
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? Thanks for any help. James Graves Delta Mobile Software, Inc