OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: 7_feet_up on June 05, 2005, 05:31:59 am

Title: Usbnet Fixed In Kernel 2.6.12-rc5
Post by: 7_feet_up on June 05, 2005, 05:31:59 am
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  (http://groups.google.nl/group/fa.linux.kernel/attach/f5c96f7402877dbd/usbnet_zaurus.patch?part=2)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: [Select]
This "obvious" one-liner is needed to recognize Zaurus SL 6000;
it just checks two GUIDs not just one.

From: Gerald Skerbitz
Signed-off-by: David Brownell

--- 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;
Title: Usbnet Fixed In Kernel 2.6.12-rc5
Post by: 7_feet_up on July 03, 2005, 07:28:29 am
From kernel version 2.6.12 and on, the usbnet issue is solved. No patch needed.
Title: Usbnet Fixed In Kernel 2.6.12-rc5
Post by: speculatrix on July 04, 2005, 08:10:34 am
Quote
From kernel version 2.6.12 and on, the usbnet issue is solved. No patch needed.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86818\"][{POST_SNAPBACK}][/a][/div]

yup, since 2.6.12-rc5, when I tested it and posted that it worked on kernel bugzilla.