public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Sheer <p@2038bug.com>
To: linux-kernel@vger.kernel.org
Subject: patch? Re: USB mass storage fails to register on kernel 2.6.32
Date: Sun, 04 Jul 2010 18:05:21 +0200	[thread overview]
Message-ID: <1278259521.7623.2.camel@localhost> (raw)
In-Reply-To: <1278230583.6443.27.camel@localhost>


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.
> 



  parent reply	other threads:[~2010-07-04 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-04  8:03 USB mass storage fails to register on kernel 2.6.32 Paul Sheer
2010-07-04  9:11 ` Daniel Mack
2010-07-04 10:13   ` Paul Sheer
2010-07-04 13:02 ` Alan Stern
2010-07-04 16:05 ` Paul Sheer [this message]
     [not found] ` <1278255773.6443.82.camel@localhost>
2010-07-05 17:06   ` patch? " Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1278259521.7623.2.camel@localhost \
    --to=p@2038bug.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox