Re: Request for assistance

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
Am Dienstag, 17. April 2007 17:50 schrieb Mark Glassberg:
> On Tue, Apr 17, 2007 at 05:31:25PM +0200, Oliver Neukum wrote:
> > Am Dienstag, 17. April 2007 17:18 schrieb Mark Glassberg:
> > > usb 3-1: new full speed USB device using uhci_hcd and address 2
> > > usb 3-1: ep0 maxpacket = 8
> > > usb 3-1: skipped 4 descriptors after endpoint
> > > usb 3-1: default language 0x0409
> > > usb 3-1: new device strings: Mfr=1, Product=2, SerialNumber=0
> > > usb 3-1: Product: 2Wire USB Remote NDIS Ethernet
> > > usb 3-1: Manufacturer: 2Wire Inc
> > > usb 3-1: uevent
> > > usb 3-1: no configuration chosen from 1 choice
> > 
> > It still happens. Recompile your kernel with CONFIG_USB_DEBUG
> > and retry. We need to know the reason for failing to select a configuration.
>  
> My .config file is attached.  As you can see, CONFIG_USB_DEBUG=y.

OK. Please run two tests.

#1 - try the attached patch
#2 - compile USB_NET_RNDIS_HOST statically into your kernel

	Regards
		Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
usb_rndis_generic.patch (text/x-diff, 555 B)
--- linux-2.6.21-rc7/drivers/usb/core/generic.c.alt	2007-04-17 18:08:56.000000000 +0200
+++ linux-2.6.21-rc7/drivers/usb/core/generic.c	2007-04-17 18:09:31.000000000 +0200
@@ -107,7 +107,11 @@ static int choose_configuration(struct u
 		 */
 		if (i == 0 && desc && (is_rndis(desc) || is_activesync(desc))) {
 #if !defined(CONFIG_USB_NET_RNDIS_HOST) && !defined(CONFIG_USB_NET_RNDIS_HOST_MODULE)
-			continue;
+			/* if there's no alternative, take it anyway */
+			if (num_configs > 1)
+				continue;
+			else
+				best = c;
 #else
 			best = c;
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.