linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Denis Vlasenko <vda@ilport.com.ua>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: linux-kernel@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net, gregkh@suse.de,
	dbrownell@users.sourceforge.net, mdharm-usb@one-eyed-alien.net
Subject: Re: USB flash "drive" is not working sometimes
Date: Thu, 16 Jun 2005 11:35:42 +0300	[thread overview]
Message-ID: <200506161135.42392.vda@ilport.com.ua> (raw)
In-Reply-To: <20050616005152.15b34cfd.zaitcev@redhat.com>

On Thursday 16 June 2005 10:51, Pete Zaitcev wrote:
> On Thu, 16 Jun 2005 09:33:01 +0300, Denis Vlasenko <vda@ilport.com.ua> wrote:
> 
> > 2005-06-16_05:23:09.81176 kern.debug: uhci_hcd 0000:00:1f.4: port 1 portsc 0093,00
> > 2005-06-16_05:23:09.81179 kern.debug: hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
> > 2005-06-16_05:23:09.91495 kern.debug: hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
> > 2005-06-16_05:23:09.99598 kern.info: usb 2-1: new full speed USB device using uhci_hcd and address 2
> > 2005-06-16_05:23:09.99944 kern.debug: uhci_hcd 0000:00:1f.4: uhci_result_control: failed with status 440000
> > 2005-06-16_05:23:09.99963 kern.debug: [ce4a7240] link (0e4a71b2) element (0ddbf040)
> > 2005-06-16_05:23:09.99966 kern.debug:   0: [cddbf040] link (0ddbf080) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=0, PID=2d(SETUP) (buf=0e653b80)
> > 2005-06-16_05:23:09.99972 kern.debug:   1: [cddbf080] link (0ddbf0c0) e3 SPD Active Length=0 MaxLen=3f DT1 EndPt=0 Dev=0, PID=69(IN) (buf=0e46c9a0)
> > 2005-06-16_05:23:09.99976 kern.debug:   2: [cddbf0c0] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=0, PID=e1(OUT) (buf=00000000)
> 
> The 440000 is a timeout in most cases. Unsurprisingly, it ends with:
> 
> > 2005-06-16_05:23:10.24285 kern.err: usb 2-1: device descriptor read/64, error -71
> 
> At this point the device is toast, the microcontroller is not running.

Do you mean: "this is a problem with the stick. Sometimes its
electronics simply do not work at first plug in" ?

Can USB controller momentarily cut power to the stick, thus electrically
simulating a replug? I'd likr to try something like this.

> > I remove flash and reinsert:
> 
> > 2005-06-16_06:11:11.24079 kern.info: usb 2-1: new full speed USB device using uhci_hcd and address 6
> >[...]
> > 2005-06-16_06:11:11.35987 kern.debug: usb 2-1: default language 0x0409
> > 2005-06-16_06:11:11.36661 kern.debug: usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3
> 
> Well, duh.
--
vda


  reply	other threads:[~2005-06-16  8:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-16  6:33 USB flash "drive" is not working sometimes Denis Vlasenko
2005-06-16  7:36 ` Matthew Dharm
2005-06-16  7:51 ` Pete Zaitcev
2005-06-16  8:35   ` Denis Vlasenko [this message]
2005-06-17  1:48     ` [linux-usb-devel] " Alan Stern

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=200506161135.42392.vda@ilport.com.ua \
    --to=vda@ilport.com.ua \
    --cc=dbrownell@users.sourceforge.net \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=mdharm-usb@one-eyed-alien.net \
    --cc=zaitcev@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).