2.6.11: usbnet broken
Hi there,
in 2.6.11 the usbnet module is not being loaded for my Zaurus SL-C860 (Vendor ID = 044d, Product ID = 9031), which used to work in 2.6.10. (as stated in previous post, rc4 and rc5 were also broken).
Moreover, there seems to be a wrong Product ID in usbnet (already in 2.6.9):
is=9050 should be=9031. Hence my Zarus is being recognized as C-750/760 (which is fine as 760 and 860 only differ in memsize).
Regards
Holger Klawitter
Quoted 5 lines · Holger Klawitter
Hi there,
in 2.6.11 the usbnet module is not being loaded for my Zaurus SL-C860 (Vendor ID = 044d, Product ID = 9031), which used to work in 2.6.10. (as stated in previous post, rc4 and rc5 were also broken).
Hmm, I don't think that post made it near linux-usb-devel ... :)
If the problem is just that the driver isn't loaded, but works if it's modprobed by hand (or statically linked), then it's a hotplug problem. Likely the same one that prevents _real_ CDC Ethernet devices from hotplugging. See if the attached patch improves things.
Alternatively, I understand that the 2.6 based OpenZaurus code is starting to work quite well on those models. You could upgrade from that old Lineo/Embedix code, and gain the ability to talk to Windows using RNDIS networking for free!
Quoted 3 lines
Moreover, there seems to be a wrong Product ID in usbnet (already in 2.6.9):
is=9050 should be=9031. Hence my Zarus is being recognized as C-750/760 (which is fine as 760 and 860 only differ in memsize).
Are you saying Linux is saying something about "750/760"? Where? Current usbnet versions only say "Sharp Zaurus, PXA-2xx based". Maybe the Lineo/Embedix code is mis-identifying itself.
- Dave
drivers/usb/core/usb.c +1 -1
@@ -601,7 +601,7 @@ usb_dev->descriptor.bDeviceProtocol))return -ENOMEM ; -if (usb_dev->descriptor.bDeviceClass ==0 ) { +if (1 ) {struct usb_host_interface *alt = intf->cur_altsetting;/* 2.4 only exposed interface zero. in 2.5, hotplug