public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-usb-devel@lists.sourceforge.net
Cc: Holger Klawitter <listen@klawitter.de>, linux-kernel@vger.kernel.org
Subject: Re: [linux-usb-devel] 2.6.11: usbnet broken
Date: Wed, 2 Mar 2005 12:58:10 -0800	[thread overview]
Message-ID: <200503021258.10638.david-b@pacbell.net> (raw)
In-Reply-To: <200503021807.11717.listen@klawitter.de>

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

On Wednesday 02 March 2005 9:07 am, Holger Klawitter wrote:
> 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!


> 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


[-- Attachment #2: Diff --]
[-- Type: text/x-diff, Size: 379 bytes --]

--- 1.184/drivers/usb/core/usb.c	2005-01-20 14:33:35 -08:00
+++ edited/drivers/usb/core/usb.c	2005-03-02 12:47:31 -08:00
@@ -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

      reply	other threads:[~2005-03-02 20:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 17:07 2.6.11: usbnet broken Holger Klawitter
2005-03-02 20:58 ` David Brownell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503021258.10638.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=listen@klawitter.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox