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
,
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
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
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
.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
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
=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
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
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