[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb-devel
Subject:    Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 4149] New: no USB flash
From:       Alan Stern <stern () rowland ! harvard ! edu>
Date:       2005-02-02 19:45:38
Message-ID: Pine.LNX.4.44L0.0502021440350.627-100000 () ida ! rowland ! org
[Download RAW message or body]

On Wed, 2 Feb 2005, Andrew Morton wrote:

> Begin forwarded message:
> 
> Date: Wed, 2 Feb 2005 07:31:13 -0800
> From: bugme-daemon@osdl.org
> To: bugme-new@lists.osdl.org
> Subject: [Bugme-new] [Bug 4149] New: no USB flash mem stick with kernel 2.6.10
> 
> 
> http://bugme.osdl.org/show_bug.cgi?id=4149
> 
>            Summary: no USB flash mem stick with kernel 2.6.10
>     Kernel Version: 2.6.10
>             Status: NEW
>           Severity: high
>              Owner: greg@kroah.com
>          Submitter: michael.elbaum@weizmann.ac.il
> 
> 
> Distribution: Gentoo
> Hardware Environment: IBM Thinkpad T42
> Software Environment: gnome or console
> Problem Description:
> 
> My USB memory stick is not recognized when I boot in a 2.6.10 kernel. The same
> stick works fine in 2.6.8 and 2.6.9. I tried the Gentoo kernel first, then
> vanilla. I had the same error so I'm reporting it here. It's the same with devfs
> or udev. The usb generally seems to come up normally, and a simple usb mouse
> works fine. This may or may not be related to bug #4140. I recorded the lines in
> /var/log/messages:
> 
> 
> in 2.6.10:
> 
> Feb  1 10:11:56 localhost usb 1-4: new high speed USB device using ehci_hcd and
> address 3
> Feb  1 10:11:56 localhost usb 3-2: new full speed USB device using uhci_hcd and
> address 3
> Feb  1 10:11:56 localhost usb 3-2: device descriptor read/64, error -71
> Feb  1 10:11:57 localhost usb 3-2: device descriptor read/64, error -71
> Feb  1 10:11:57 localhost usb 3-2: new full speed USB device using uhci_hcd and
> address 4
> Feb  1 10:11:57 localhost usb 3-2: device descriptor read/64, error -71
> Feb  1 10:11:57 localhost usb 3-2: device descriptor read/64, error -71
> ****************************************************************************************

Below is a patch for 2.6.10 which may help.  Please let me know if it 
does.

If it doesn't, try setting the "old_scheme_first=y" parameter for the
usbcore module.

Alan Stern



--- a/drivers/usb/core/hub.c	Wed Oct 20 11:46:41 2004
+++ b/drivers/usb/core/hub.c	Tue Jan 18 13:09:03 2005
@@ -1357,6 +1357,8 @@
 
 		/* return on disconnect or reset */
 		if (status == -ENOTCONN || status == 0) {
+			if (status == 0)
+				msleep(20);
 			clear_port_feature(hdev,
 				port + 1, USB_PORT_FEAT_C_RESET);
 			/* FIXME need disconnect() for NOTATTACHED device */



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic