Hi, I'm having problems with getting a stable connection with the latest version of the user-space drivers.
Background Info --------------- michael:~# cat /etc/debian_version 3.0 michael:~# cat /proc/version Linux version 2.4.22 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 (Debian prerelease)) #7 Wed Oct 15 23:09:58 BST 2003 michael:~# modem_run --help modem_run version 1.2-beta2: $ <snip> michael:~# pppd --version pppd version 2.4.1 A custom 2.4.22 kernel on a standard x86 Debian stable install. I've installed the Debian package from http://osdn.dl.sourceforge.net/sourceforge/speedtouch/speedtouch_1.2-0beta2_i386.deb Hardware -------- michael:~# cat /proc/pci PCI devices found: <snip> Bus 0, device 13, function 0: USB Controller: Lucent Microelectronics USS-312 USB Controller (rev 16). IRQ 11. Master Capable. Latency=64. Min Gnt=3.Max Lat=86. Non-prefetchable 32 bit memory at 0x40180000 [0x40180fff]. <snip> michael:~# 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= 0.00 S: Product=USB OHCI Root Hub S: SerialNumber=c8868000 C:* #Ifs= 1 Cfg#= 1 Atr=40 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#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=06b9 ProdID=4061 Rev= 0.00 S: Manufacturer=ALCATEL S: Product=Speed Touch USB S: SerialNumber=0090D0512ADA C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=50ms I: If#= 1 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs I: If#= 1 Alt= 1 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs E: Ad=06(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=07(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs E: Ad=06(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms E: Ad=07(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 3 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbdevfs E: Ad=06(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms E: Ad=07(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=05(O) Atr=02(Bulk) MxPS= 8 Ivl=0ms E: Ad=85(I) Atr=02(Bulk) MxPS= 8 Ivl=0ms In the past I've had problems with the card overheating. This manifests itself as a device disconnect error and lots of failed transfer messages (errno=-110 IIRC). I don't think that it is a problem and I have checked all of the cabling several times. Firmware -------- michael:~# md5sum /usr/lib/speedtouch/mgmt.o ce3582cc9c3b967baa0e918f2708075d /usr/lib/speedtouch/mgmt.o "linux - version 1.3.4" according to FAQ.gz "Firmware information (CRC:0x94a45435, Size:526187, 1.3.3 - GNU/Linux - Win32)" according to modem_run Logs ---- /var/log/syslog: Nov 15 22:49:01 michael pppd[9886]: pppd 2.4.1 started by root, uid 0 Nov 15 22:49:01 michael pppoa3[9887]: pppoa3 version 1.2-beta2 started by root (uid 0) Nov 15 22:49:01 michael pppd[9886]: using channel 3163 Nov 15 22:49:01 michael kernel: divert: not allocating divert_blk for non-ethernet device ppp0 Nov 15 22:49:01 michael pppd[9886]: Using interface ppp0 Nov 15 22:49:01 michael pppd[9886]: Connect: ppp0 <--> /dev/pts/1 Nov 15 22:49:01 michael pppoa3[9887]: Control thread ready Nov 15 22:49:01 michael pppoa3[9890]: host --> pppoa3 --> modem stream ready Nov 15 22:49:01 michael pppoa3[9891]: modem --> pppoa3 --> host stream ready Nov 15 22:49:02 michael pppd[9886]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x82ac802f>] <SNIP> Nov 15 22:52:16 michael pppd[9886]: sent [LCP EchoReq id=0x3 magic=0x905760ac] Nov 15 22:52:16 michael pppd[9886]: rcvd [LCP EchoRep id=0x3 magic=0x44a1c4e1] Nov 15 22:52:41 michael pppoa3[9909]: Error reading usb urb Nov 15 22:52:41 michael pppoa3[9905]: Woken by a sem_post event -> Exiting Nov 15 22:52:41 michael pppoa3[9905]: Read from usb Canceled Nov 15 22:52:41 michael pppoa3[9905]: Write to usb Canceled Nov 15 22:52:41 michael pppoa3[9905]: Exiting Nov 15 22:52:41 michael pppd[9886]: Script /usr/sbin/pppoa3 -m 1 -c -vpi 0 -vci 38 finished (pid 9905), status = 0xff Nov 15 22:52:41 michael pppd[9886]: Modem hangup Nov 15 22:52:41 michael pppd[9886]: Script /etc/ppp/ip-down started (pid 9940) Nov 15 22:52:41 michael pppd[9886]: Connection terminated. Nov 15 22:52:41 michael pppd[9886]: Connect time 2.0 minutes. Nov 15 22:52:41 michael pppd[9886]: Sent 34279 bytes, received 208343 bytes. Nov 15 22:52:41 michael kernel: divert: no divert_blk to free, ppp0 not ethernet Nov 15 22:52:41 michael pppd[9886]: using channel 3166 Nov 15 22:52:41 michael kernel: divert: not allocating divert_blk for non-ethernet device ppp0 Nov 15 22:52:41 michael pppd[9886]: Using interface ppp0 Nov 15 22:52:41 michael pppd[9886]: Connect: ppp0 <--> /dev/pts/1 Nov 15 22:52:41 michael pppoa3[9943]: pppoa3 version 1.2-beta2 started by root (uid 0) Nov 15 22:52:41 michael pppoa3[9943]: Control thread ready Nov 15 22:52:41 michael pppoa3[9948]: host --> pppoa3 --> modem stream ready Nov 15 22:52:41 michael pppoa3[9949]: modem --> pppoa3 --> host stream ready Nov 15 22:52:41 michael pppoa3[9949]: CRC error in an AAL5 frame Nov 15 22:52:41 michael pppoa3[9949]: Error reading usb urb Nov 15 22:52:41 michael pppoa3[9943]: Woken by a sem_post event -> Exiting Nov 15 22:52:41 michael pppoa3[9943]: Read from usb Canceled Nov 15 22:52:41 michael pppoa3[9943]: Write to usb Canceled Nov 15 22:52:41 michael pppoa3[9943]: Exiting Nov 15 22:52:41 michael pppd[9886]: Script /usr/sbin/pppoa3 -m 1 -c -vpi 0 -vci 38 finished (pid 9943), status = 0xff Nov 15 22:52:41 michael pppd[9886]: Modem hangup Nov 15 22:52:41 michael pppd[9886]: Connection terminated. When the "Error reading usb urb" comes up seems to be a bit random - sometimes it will be fine for hours or even days and then all of a sudden it won't connect for more than a minute. It seems to happen more when the line is in higher use and when it has happened once it seems to happens lots of times in short succession and then straighten itself out. Also of (possible) connection are the high number of logged messages like: Nov 16 03:01:57 michael pppoa3[10215]: CRC error in an AAL5 frame Nov 16 03:02:04 michael pppd[10210]: sent [LCP EchoReq id=0xda magic=0x54552a13] Nov 16 03:02:04 michael pppd[10210]: rcvd [LCP EchoRep id=0xda magic=0x6d278ea4] Looking through the source code for pppoa3 the problem appears to be with pusb_endpoint_rw_no_timeout in pusb-linux.c one function (I suspect the ioctl-s that are SUBMITing and REAPing the URB) is setting errno to something that isn't EINTR or ETIMEDOUT. It think this traces through to: http://lxr.linux.no/source/drivers/usb/devio.c?v=2.4.22#L779 http://lxr.linux.no/source/drivers/usb/devio.c?v=2.4.22#L982 but alas my knowledge of kernel USB drivers isn't good enough fro me to follow this any further. What I found like to know is: 1. What is the best firmware to use? I have: ed70254b584fec3f0b5277d0550b39a1 /usr/lib/speedtouch/KQD6P2.eni adae14d607b8caa6acc253feb1d82705 /usr/lib/speedtouch/firmware.bin ce3582cc9c3b967baa0e918f2708075d /usr/lib/speedtouch/mgmt.o I got firmware.bin from http://speedtouch.sourceforge.net/files/firmware.bin and the other two from the Alcatel site. Am I right in thinking that KQD6P2.eni doesn't seem to give very good results. 2. Am I right in thinking this is either a hardware or a line problem? 3. Does anyone know what I can do to solve it? I already have a variety of scripts that restart various parts of the connection but it would be nice to sort this out once and for all. Cheers, - Martin -- Martin [EMAIL PROTECTED] "Seasons change, things come to pass" Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]