Author Topic: Usbnet Fixed In Kernel 2.6.12-rc5  (Read 5859 times)

7_feet_up

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • http://
Usbnet Fixed In Kernel 2.6.12-rc5
« 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 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;
Zaurus SL-5600
OpenZaurus 3.5.4.2-rc2
Wireless LAN CF Card NL-2511CF MERCURY
Destinator CF GPS receiver
PEAK Compact Flash Card 512MB
SanDisk Standard SD Card 64 MB
Brandless SD Card 1 GB
Sharp Zaurus SL5500 3E-Piel Frama Luxury Black Tan leather PDA case
PSP Battery Pack PW-2992p

7_feet_up

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • http://
Usbnet Fixed In Kernel 2.6.12-rc5
« Reply #1 on: July 03, 2005, 07:28:29 am »
From kernel version 2.6.12 and on, the usbnet issue is solved. No patch needed.
Zaurus SL-5600
OpenZaurus 3.5.4.2-rc2
Wireless LAN CF Card NL-2511CF MERCURY
Destinator CF GPS receiver
PEAK Compact Flash Card 512MB
SanDisk Standard SD Card 64 MB
Brandless SD Card 1 GB
Sharp Zaurus SL5500 3E-Piel Frama Luxury Black Tan leather PDA case
PSP Battery Pack PW-2992p

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Usbnet Fixed In Kernel 2.6.12-rc5
« Reply #2 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.