The eagle modem seem to have some problem with usb at high speed : there are EILSEQ
errors in iso mode and lost atm cell in bulk mode.
Testing is need in order to know where the problem come from : modem, some
usb hub chipset, ...
ueagle-atm
Bulk test
Start the driver in bulk mode, using the module parameters iso=0.
Then download and upload.
result
add below your
- grep Product /proc/bus/usb/devices
- cat /proc/driver/ueagle-atm/*
- cat /proc/net/atm/ueagle-atm*
Matthieu Castet test:
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S: Product=ADSL-USB Modem
S: Product=VIA Technologies, Inc. USB 2.0
Driver version ueagle Chipset: Eagle1
Vendor ID : 0x1110 Product ID : 0x900f Rev: 0x400b
USB Bus : 002 USB Device : 003 Dbg mask: 0x0
Tx Rate 928 Rx Rate 7616
Tx Margin 9 Rx Margin 9 Atten 24 dB
Tx error 0 Rx error 0
Tx FEC 0 Rx FEC 0
Tx flow 751410 Rx flow 751341
VID-CPE 0 VID-CO 28 HEC 0
Delin GOOD Flags 0000000000
Modem is operational
ADSL-USB Modem (usb-0000:00:10.0-1)
MAC: 00:60:4c:0b:21:27
AAL5: tx 8256 ( 0 err ), rx 10134 ( 578 err, 0 drop )
Line up
the average download speed is 100KB/s instead of 700KB/s.
Stanislaw W. Gruszka
S: Product=Intel Corp. 82801BA/BAM USB (Hub #2)
S: Product=Intel Corp. 82801BA/BAM USB (Hub #1)
S: Product=ADSL-USB Modem
agle-usb status display
Driver version ueagle Chipset: Eagle2
Vendor ID : 0x1110 Product ID : 0x9021 Rev: 0x500b
USB Bus : 001 USB Device : 002 Dbg mask: 0x0
Tx Rate 96 Rx Rate 160
Tx Margin 31 Rx Margin 41 Atten 15 dB
Tx error 0 Rx error 0
Tx FEC 0 Rx FEC 0
Tx flow 5666004 Rx flow 5665935
VID-CPE 0 VID-CO 28 HEC 0
Delin GOOD Flags 0000000000
Modem is operational
ADSL-USB Modem (usb-0000:00:1f.2-1)
MAC: 00:60:4c:65:d3:60
AAL5: tx 8391 ( 0 err ), rx 7754 ( 81 err, 0 drop )
Line up
There are atm errors, but my rx transfer was ok,
probably because I have slow internet connection.
Iso test
Apply
http://castet.matthieu.free.fr/eagle/patch/status.patch on usbatm.
reload usbatm and ueagle-atm.
Then download and upload.
result
add below your
- grep Product /proc/bus/usb/devices
- cat /proc/driver/ueagle-atm/*
- grep -c usbatm_complete_receive /var/log/syslog
- grep usbatm_complete_receive /var/log/syslog | grep frame | grep "actual_length 0" | grep -v -c -e "status -84" -e "status -18"
Matthieu Castet test:
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
S: Product=VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
S: Product=ADSL-USB Modem
S: Product=VIA Technologies, Inc. USB 2.0
Driver version ueagle Chipset: Eagle1
Vendor ID : 0x1110 Product ID : 0x900f Rev: 0x400b
USB Bus : 002 USB Device : 003 Dbg mask: 0x0
Tx Rate 928 Rx Rate 7616
Tx Margin 9 Rx Margin 10 Atten 24 dB
Tx error 0 Rx error 1
Tx FEC 0 Rx FEC 69
Tx flow 202101 Rx flow 202101
VID-CPE 0 VID-CO 28 HEC 3
Delin GOOD Flags 0000000000
Modem is operational
ADSL-USB Modem (usb-0000:00:10.0-1)
MAC: 00:60:4c:0b:21:27
AAL5: tx 1710 ( 0 err ), rx 12995 ( 0 err, 0 drop )
Line up
grep -c usbatm_complete_receive /var/log/syslog
39143
grep usbatm_complete_receive /var/log/syslog | grep frame | grep "actual_length 0" | grep -v -c -e "status -84" -e "status -18"
0
S: Product=Intel Corp. 82801AA USB
S: Product=ADSL-USB Modem
Driver version ueagle Chipset: Eagle1
Vendor ID : 0x1110 Product ID : 0x900f Rev: 0x400b
USB Bus : 001 USB Device : 003 Dbg mask: 0x0
Tx Rate 928 Rx Rate 7616
Tx Margin 9 Rx Margin 10 Atten 24 dB
Tx error 0 Rx error 0
Tx FEC 0 Rx FEC 0
Tx flow 389367 Rx flow 389298
VID-CPE 0 VID-CO 28 HEC 0
Delin GOOD Flags 0000000000
Modem is operational
ADSL-USB Modem (usb-0000:00:1f.2-2)
MAC: 00:60:4c:0b:21:27
AAL5: tx 1701 ( 0 err ), rx 12542 ( 0 err, 0 drop )
Line up
grep -c usbatm_complete_receive /var/log/syslog
28131
grep usbatm_complete_receive /var/log/syslog | grep frame | grep "actual_length 0" | grep -v -c -e "status -84" -e "status -18"
0
grep Product /proc/bus/usb/devices
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2
S: Product=Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1
no adsl connection
grep -c usbatm_complete_receive /var/log/syslog
10000
grep usbatm_complete_receive /var/log/syslog | grep frame | grep "actual_length 0" | grep -v -c -e "status -84" -e "status -18"
0
It seem that there no iso packet which have a size of 0 and a status 0.
Stanislaw W. Gruszka
S: Product=Intel Corp. 82801BA/BAM USB (Hub #2)
S: Product=Intel Corp. 82801BA/BAM USB (Hub #1)
S: Product=ADSL-USB Modem
eagle-usb status display
Driver version ueagle Chipset: Eagle2
Vendor ID : 0x1110 Product ID : 0x9021 Rev: 0x500b
USB Bus : 001 USB Device : 002 Dbg mask: 0x0
Tx Rate 96 Rx Rate 160
Tx Margin 31 Rx Margin 41 Atten 15 dB
Tx error 0 Rx error 0
Tx FEC 0 Rx FEC 0
Tx flow 3018267 Rx flow 3018198
VID-CPE 0 VID-CO 28 HEC 0
Delin GOOD Flags 0000000000
Modem is operational
grep -c usbatm_complete_receive /var/log/syslog
621946
grep usbatm_complete_receive /var/log/syslog | grep frame | grep "actual_length 0" | grep -v -c -e "status -84" -e "status -18"
0
eagle-usb
Bulk test
Compile your driver with bulk (BULK=1 make)
Then download and upload.
result
add below your
- grep Product /proc/bus/usb/devices
- cat /proc/driver/eagle-usb/*
Iso test
Apply
https://mail.gna.org/public/eagleusb-dev/2005-01/msg00082.html patch
Then download and upload.
result
add below your
- grep Product /proc/bus/usb/devices
- cat /proc/driver/eagle-usb/*
- grep -c "eagle urb error" /var/log/syslog
- grep "eagle urb error" /var/log/syslog | head -10