The maximum possible bandwidth for a speedtouch modem is about 7Mbaud.
You can only get this by using isochronous urbs (enable_isoc=1) and
altsetting 3.  With the current default altsetting of 2, the modem
maxes out at about 4Mbaud.  So change the default altsetting to 3
when using isochronous urbs.  It would be nice to base the altsetting
on the detected line speed, but that's hard given the current design.

Signed-off-by: Duncan Sands <[EMAIL PROTECTED]>

Index: Linux/drivers/usb/atm/speedtch.c
===================================================================
--- Linux.orig/drivers/usb/atm/speedtch.c       2006-04-28 18:23:33.000000000 
+0200
+++ Linux/drivers/usb/atm/speedtch.c    2006-04-28 18:29:55.000000000 +0200
@@ -69,7 +69,7 @@
 #define RESUBMIT_DELAY         1000    /* milliseconds */
 
 #define DEFAULT_BULK_ALTSETTING        1
-#define DEFAULT_ISOC_ALTSETTING        2
+#define DEFAULT_ISOC_ALTSETTING        3
 #define DEFAULT_DL_512_FIRST   0
 #define DEFAULT_ENABLE_ISOC    0
 #define DEFAULT_SW_BUFFERING   0


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to