Bug 8167 - usb: no configuration chosen from 1 choice
Summary: usb: no configuration chosen from 1 choice
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-10 03:45 UTC by Nick Shaforostoff
Modified: 2007-08-09 23:24 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.20.1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.