I tested version 0.2 of the Kawasaki driver on the `D-Link DSB-650' and had
an encouraging failure.

Any suggestions?

Richard Melrose

Changed kaweth.c:

static struct usb_eth_dev usb_dev_id[] = {
        { "KLSI KL5KUSB101B", 0x05e9, 0x0008, NULL },
        { "NetGear EA-101", 0x0846, 0x1001, NULL },
        { "Peracom Enet", 0x0565, 0x0002, NULL },
        { "Peracom Enet2", 0x0565, 0x0005, NULL },
        { "3Com 3C19250", 0x0506, 0x03e8, NULL },
        { "Linksys USB10T", 0x066b, 0x2202, NULL },
        { "D-Link DSB-650C", 0x2001, 0x4000, NULL },
        { "D-Link DSB-650", 0x0557, 0x2002, NULL },
        { "AOX USB Ethernet", 0x03e8, 0x0008, NULL },
        { "ADS USB-10BT", 0x06e1, 0x0008, NULL },
        { "Entrega E45", 0x1645, 0x0005, NULL},
        { "SMC 2202USB", 0x0707, 0x0100, NULL},
        { "Correga K.K.", 0x07aa, 0x0001, NULL},
        { NULL, 0, 0, NULL }
}; 


make output:

gcc -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include -fno-strict-aliasing 
-fno-strength-reduce -malign-loops=2 -malign-functions=2 -malign-jumps=2 -D__KERNEL__ 
-DMODULE -c -fomit-frame-pointer kaweth.c
kaweth.c: In function `kaweth_control':
kaweth.c:300: warning: unsigned int format, purb_t arg (arg 2)
kaweth.c: In function `kaweth_usb_recieve':
kaweth.c:528: warning: unused variable `result'
kaweth.c: In function `kaweth_open':
kaweth.c:590: warning: unused variable `result'
kaweth.c: In function `kaweth_probe':
kaweth.c:860: warning: unsigned int format, long unsigned int arg (arg 2)
kaweth.c:871: warning: unsigned int format, long unsigned int arg (arg 2)
kaweth.c:790: warning: unused variable `mac_addr'
/tmp/cc225k0K.s: Assembler messages:
/tmp/cc225k0K.s:8: Warning: Ignoring changed section attributes for .modinfo

dmesg:

Kawasaki USB->Ethernet Driver loading...
usb.c: registered new driver kaweth
Kawasaki Device Probe: 0x0557:0x2002
D-Link DSB-650 connected...
Reading kaweth configuration
Request type: c0  Request: 0  Value: 0 Index: 0 Length: 12
usb-uhci.c: interrupt, status 2, frame# 1254
kaweth control message failed (urb addr: c7abb340)
usb_control/bulk_msg: timeout
usb-uhci.c: interrupt, status 2, frame# 165
usb-uhci-debug.h:   TD @ c12b4f60/012B4F60, MaxLen=07 DT0 EP=0 Dev=4 PID=(SETUP) 
buf=05568a20
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo 
usb-uhci-debug.h:     Link points to TD @ 012b49a0, Breadth first
Actual length: 0, length 18
Resetting...
usb-uhci.c: interrupt, status 2, frame# 168
usb-uhci-debug.h:   TD @ c12b48e0/012B48E0, MaxLen=07 DT0 EP=0 Dev=4 PID=(SETUP) 
buf=05568b20
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo 
usb-uhci-debug.h:     Link points to TD @ 012b47a0, Breadth first
Downloading firmware at c8858ff8 to kaweth device at c13a4000...
Firmware length: 3838
Request type: 40  Request: ff  Value: 0 Index: 0 Length: efe
usb-uhci.c: interrupt, status 2, frame# 182
usb-uhci-debug.h:   TD @ c12b49a0/012B49A0, MaxLen=07 DT0 EP=0 Dev=4 PID=(SETUP) 
buf=05568b20
usb-uhci-debug.h:     Len=07 e0 Stalled CRC/Timeo 
usb-uhci-debug.h:     Link points to TD @ 012b4f60, Breadth first
kaweth control message failed (urb addr: c7abb340)
usb-uhci.c: interrupt, status 2, frame# 187
usb-uhci-debug.h:   TD @ c12b47a0/012B47A0, MaxLen=07 DT0 EP=0 Dev=4 PID=(SETUP) 
buf=05568a20
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo 
usb-uhci-debug.h:     Link points to TD @ 012b48e0, Breadth first
usb-uhci.c: interrupt, status 2, frame# 191
usb-uhci-debug.h:   TD @ c12b48a0/012B48A0, MaxLen=07 DT0 EP=0 Dev=4 PID=(SETUP) 
buf=05568a20
usb-uhci-debug.h:     Len=07 e0 SPD Stalled CRC/Timeo 
usb-uhci-debug.h:     Link points to TD @ 012b4920, Breadth first
Actual length: 0, length 3838
Error downloading firmware (-110), no net device created

from /proc/bus/usb/devices:

T:  Bus=01 Lev=02 Prnt=02 Port=06 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0557 ProdID=2002 Rev= 0.02
S:  Manufacturer=ATEN Inc.
S:  Product=USB-Ethernet
S:  SerialNumber=00107400278D
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 90mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=kaweth
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=  1ms




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to