lkml.org 
[lkml]   [2010]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectpatch? Re: USB mass storage fails to register on kernel 2.6.32
From
Date

Ok, I changed the cable and it works perfectly.

I suggest the following patch then:

--- ./drivers/usb/core/hub.c 2010-06-11 09:54:26.000000000 +0200
+++ ./drivers/usb/core/hub.c.new 2010-07-04 17:10:28.000000000 +0200
@@ -2777,12 +2777,12 @@
retval = -ENODEV;
goto fail;
}
if (r) {
dev_err(&udev->dev,
- "device descriptor read/64, error %d\n",
- r);
+ "device descriptor read/64, error %d%s\n",
+ r, r == -32 ? ": bad cable?" : "");
retval = -EMSGSIZE;
continue;
}
#undef GET_DESCRIPTOR_BUFSIZE
}

I guess this closes this issue.

Kind regards

-paul


On Sun, 2010-07-04 at 10:03 +0200, Paul Sheer wrote:
> Hi there,
>
> I have a Samsung Story external USB-2.0 1.5TB drive that fails to
> detect as a device in more recent kernel versions. Full kmsg details
> are below. Note that a USB thumb drive works fine on my system.
> Older kernels work fine with the Samsung also. In terms of which
> version of the kernel this stopped working, this I don't know.
>



\
 
 \ /
  Last update: 2010-07-04 18:21    [W:0.037 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site