Skip to contentSkip to conversation

AX8817x (USB ethernet) problem in 2.6.0-test1

PATCH Applied Måns Rullgård 2 participants 3 messages Jul 21, 2003 – Jul 31, 2003

lore
Share & tools
lore
#0 lore raw

My Netgear FA120 USB2 ethernet adaptor isn't working properly with Linux 2.6.0-test1. First off, I had to modify it slightly (patch below) to make it work at all with USB2. Now I can send data at the full expected speed (~11 MB/s). The problem is that receiving is only 200 kb/s. This is obviously annoying. For the record, it works perfectly with 2.4.21-pre5 and ax8817x.c version 0.9.7. Any ideas?

Index: drivers/usb/net/ax8817x.c
===================================================================
RCS file: /home/cvs/linux-2.5/drivers/usb/net/ax8817x.c,v retrieving revision 1.2

usb/net/ax8817x.c +1 -1
diff -u -r1.2 ax8817x.c
@@ -1238,7 +1238,7 @@
 
 	usb_fill_int_urb(ax_info->int_urb, usb, usb_rcvintpipe(usb, 1),
 			 ax_info->int_buf, 8, ax_int_callback, ax_info,
-			 100);
+			 usb->speed == USB_SPEED_HIGH? 8: 100);
 
 	ret = usb_submit_urb(ax_info->int_urb, GFP_ATOMIC);
 	if (ret < 0) {
Signature · 2 lines
Måns Rullgård
[email protected]
Applied
#1 lore raw
Quoted 4 lines · Måns Rullgård

My Netgear FA120 USB2 ethernet adaptor isn't working properly with Linux 2.6.0-test1. First off, I had to modify it slightly (patch below) to make it work at all with USB2.

Applied, thanks.

greg k-h

#2 lore raw
Quoted 5 lines · Greg KH
Quoted 3 lines

My Netgear FA120 USB2 ethernet adaptor isn't working properly with Linux 2.6.0-test1. First off, I had to modify it slightly (patch below) to make it work at all with USB2.

Applied, thanks.

Has anyone looked into what might be causing the terrible receive performance I'm seeing? The module author, Dave Hollis, had some ideas, but I don't know where he's been lately. Are you there, Dave?

Are there more values with different meanings for USB2 devices?

Signature · 2 lines
Måns Rullgård
[email protected]