OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Usbnet Fixed In Kernel 2.6.12-rc5
7_feet_up
post Jun 5 2005, 01:31 AM
Post #1





Group: Members
Posts: 27
Joined: 19-April 05
From: Netherlands
Member No.: 6,917



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;
Go to the top of the page
 
+Quote Post
7_feet_up
post Jul 3 2005, 03:28 AM
Post #2





Group: Members
Posts: 27
Joined: 19-April 05
From: Netherlands
Member No.: 6,917



From kernel version 2.6.12 and on, the usbnet issue is solved. No patch needed.
Go to the top of the page
 
+Quote Post
speculatrix
post Jul 4 2005, 04:10 AM
Post #3





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2014 - 07:10 AM