On Fri, 2004-09-10 at 00:06 +0200, Oliver Neukum wrote: > Am Donnerstag, 9. September 2004 12:19 schrieb Ondrej Sury: > > Hello, > > > > there is regression in changes from 2.6.7 to 2.6.8.1 in cdc-acm module. > > I have Gtran USB CDMA modem[1] and it stops responding in 2.6.8.1. It > > worked just fine in 2.6.7. Also using usbserial module under 2.6.8.1 > > works also fine. > > > > Modem is detected, /dev/ttyACM0 is created (using udev), but it doesn't > > respond to commands. > > > > Next bug is in modem itself. It does report bad wMaxPacketSize (64), so > > it's limited to 256kbit max speed. There are many workarounds (original > > credits goes to David Peroutka) and I have modified patch from Petr > > Pisar[2] to hard code 1024 packet size when this modem is detected. > > I have modified cdc-acm and usbserial, see attached patches. > > 1. Does it work with that patch applied?
This patch just solved slowdown in connection speed. With or without this patch it worked once, but almost on all tries it doesn't. I tried it several times and was able to use cdc-acm from 2.6.8.1 only on one occassion. Most prolly this modem[2] is severaly broken. I am willing to provide as much debuging info as possible, but I don't know how to and what to get. > 2. Why do you patch usbserial? That patch was just for sure. I am now running on debian kernel 2.6.8.1 (kernel-image-2.6.8-1-686[1]) without this patch and it seems, that it achieves higher speeds even without increasing MaxPS. So maybe the problem lies elsewhere? Just forgot that I sent that patch :-) 1. Linux version 2.6.8-1-686 ([EMAIL PROTECTED]) (gcc version 3.3.4 (Debian 1:3.3.4-9)) #1 Sat Aug 28 14:11:39 EDT 2004 2. cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.8-1-686 uhci_hcd S: Product=Intel Corp. 82371AB/EB/MB PIIX4 USB S: SerialNumber=0000:00:07.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 1.01 Cls=02(comm.) Sub=00 Prot=00 MxPS=16 #Cfgs= 1 P: Vendor=05c6 ProdID=3196 Rev= 0.00 S: Manufacturer=Qualcomm, Incorporated S: Product=Qualcomm CDMA Technologies MSM C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=32ms I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=usbserial_generic E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=0b(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms Ondrej. -- Ondrej Sury <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel