Hi,
we have a usb netdevice with works fine with kaweth.c on an i386 box:
Jun 1 16:56:08 riesz kernel: usb.c: USB device number 3 default language ID 0x409
Jun 1 16:56:08 riesz kernel: Manufacturer: NETGEAR
Jun 1 16:56:08 riesz kernel: Product: NETGEAR EA101 USB Ethernet Adapter
Jun 1 16:56:08 riesz kernel: SerialNumber: 00A0CC605BFD
Jun 1 16:56:08 riesz kernel: kaweth.c: Kawasaki Device Probe (Device number:3):
0x0846:0x1001:0x0202
It doesnt work on an ibook due to some endian bugs. I was able to load
the firmware and bring up the interface with the following patch:
--- linux-2.4.5-ac5/drivers/usb/kaweth.c Fri Jun 1 14:52:00 2001
+++ linux-2.4.5_ppc/drivers/usb/kaweth.c Fri Jun 1 18:32:08 2001
@@ -247,7 +247,7 @@
dr->requesttype = requesttype;
dr->request = request;
- dr->value = value;
+ dr->value = le16_to_cpu(value);
dr->index = index;
dr->length = size;
However, it doesnt submit packages:
kaweth.c: Packet length too long for USB frame (pkt_len: 3c00, count: 41)
kaweth.c: Packet len & 2047: 400
kaweth.c: Count 2: 680
My guess is that pkt_len is wrong and should be swapped, but that didnt
help.
any ideas where to look?
I dont have access to the device all the time, so its not possible to
play too much with it.
Gruss Olaf
--
$ man clone
BUGS
Main feature not yet implemented...
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel