Bug 8167

Summary: usb: no configuration chosen from 1 choice
Product: Drivers Reporter: Nick Shaforostoff (shafff)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: CLOSED CODE_FIX    
Severity: high CC: protasnb
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.20.1 Subsystem:
Regression: --- Bisected commit-id:

Description Nick Shaforostoff 2007-03-10 03:45:42 UTC
Most recent kernel where this bug did *NOT* occur: 2.6.15
Distribution: Debian (but compiled vanilla kernel)
Problem Description:
kernels beginning with 2.6.16 have typo in their sources, wich causes
usb modem detecion to fail. kern.log says:
usb 3-1: new full speed USB device using ohci_hcd and address 2
usb 3-1: no configuration chosen from 1 choice

the solution is to replace
#ifndef CONFIG_USB_NET_RNDIS_HOST
with 
#ifndef CONFIG_USB_NET_RNDIS_HOST_MODULE
in drivers/usb/core/hub.c -- for 2.6.18
or in drivers/usb/core/generic.c -- for 2.6.20.1
Comment 1 Anonymous Emailer 2007-03-10 04:02:42 UTC
Reply-To: akpm@linux-foundation.org



Begin forwarded message:

Date: Sat, 10 Mar 2007 03:46:19 -0800
From: bugme-daemon@bugzilla.kernel.org
To: bugme-new@lists.osdl.org
Subject: [Bugme-new] [Bug 8167] New: usb: no configuration chosen from 1 choice


http://bugzilla.kernel.org/show_bug.cgi?id=8167

           Summary: usb: no configuration chosen from 1 choice
    Kernel Version: 2.6.20.1
            Status: NEW
          Severity: high
             Owner: greg@kroah.com
         Submitter: shafff@ukr.net


Most recent kernel where this bug did *NOT* occur: 2.6.15
Distribution: Debian (but compiled vanilla kernel)
Problem Description:
kernels beginning with 2.6.16 have typo in their sources, wich causes
usb modem detecion to fail. kern.log says:
usb 3-1: new full speed USB device using ohci_hcd and address 2
usb 3-1: no configuration chosen from 1 choice

the solution is to replace
#ifndef CONFIG_USB_NET_RNDIS_HOST
with 
#ifndef CONFIG_USB_NET_RNDIS_HOST_MODULE
in drivers/usb/core/hub.c -- for 2.6.18
or in drivers/usb/core/generic.c -- for 2.6.20.1

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Comment 2 Natalie Protasevich 2007-06-14 00:28:15 UTC
It looks like the code was updated:

#if !defined(CONFIG_USB_NET_RNDIS_HOST) &&             !defined(CONFIG_USB_NET_RNDIS_HOST_MODULE)

We can close this bugzilla now I suppose.