Help - Search - Members - Calendar
Full Version: Usbnet Fixed In Kernel 2.6.12-rc5
OESF Forums > General Forums > Desktop Operating Systems Issues > Linux Issues
7_feet_up
As many already noticed, usbnet for zaurus was broken since kernel 2.6.11.
Good news: it now works again in 2.6.12-rc5.
I also applied the usbnet_zaurus.patch from David Brownell he submitted 3 june in the fa.linux.kernel newsgroup, which I don't know was necessary since I own the zaurus sl-5600, not sl-6000.
Here's the patch:
CODE
This "obvious" one-liner is needed to recognize Zaurus SL 6000;
it just checks two GUIDs not just one.

From: Gerald Skerbitz <gsker@tcfreenet.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>

--- linux-2.6.12-rc5/drivers/usb/net/usbnet.c.orig    2005-06-01 18:06:20.000000000 -0500
+++ linux-2.6.12-rc5/drivers/usb/net/usbnet.c    2005-06-01 18:29:30.000000000 -0500
@@ -2765,7 +2765,7 @@ static int blan_mdlm_bind (struct usbnet
   }
   /* expect bcdVersion 1.0, ignore */
   if (memcmp(&desc->bGUID, blan_guid, 16)
-        && memcmp(&desc->bGUID, blan_guid, 16) ) {
+        && memcmp(&desc->bGUID, safe_guid, 16) ) {
       /* hey, this one might _really_ be MDLM! */
       dev_dbg (&intf->dev, "MDLM guid\n");
       goto bad_desc;
7_feet_up
From kernel version 2.6.12 and on, the usbnet issue is solved. No patch needed.
speculatrix
QUOTE(7_feet_up @ Jul 3 2005, 12:28 PM)
From kernel version 2.6.12 and on, the usbnet issue is solved. No patch needed.
*


yup, since 2.6.12-rc5, when I tested it and posted that it worked on kernel bugzilla.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.