public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] Resetting USB flash
Date: Fri, 4 Jan 2013 17:18:36 +0000	[thread overview]
Message-ID: <201301041718.38230.michaelkintzios@gmail.com> (raw)
In-Reply-To: <CA+czFiDQf9c2pQDVmBewCvwjhrEKoQNbjDhUC+KvYWd-908c8A@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 3948 bytes --]

On Friday 04 Jan 2013 16:48:41 Michael Mol wrote:
> On Fri, Jan 4, 2013 at 11:32 AM, Mick <michaelkintzios@gmail.com> wrote:
> > I was trying to zero out a USB stick and at some point it seems to have
> > locked itself up.  By that I mean that for all intends and purposes I
> > cannot write to it in any conceivable way.
> > 
> > I tried to delete /dev/sdb1 with c/fdisk, the dd zeros into /dev/sdb1,
> > /dev/sdb and also the first 512B to delete the partition table, but
> > nothing seems to work.
> > 
> > /dev/sdb1 is still there no matter how I try to delete/format/overwrite
> > it.
> > 
> > Is there a way of resetting whatever needs resetting in the USB flash
> > chip to make it work again?
> > --
> > Regards,
> > Mick
> 
> Was it a drive with U3 on it? If so, there are tools you might use,
> but I can't remember their name.
> 
> https://en.wikipedia.org/wiki/U3

No, it's a normal USB flash stick:

Bus 002 Device 006: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB 
Flash Drive
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1307 Transcend Information, Inc.
  idProduct          0x0163 256MB/512MB/1GB Flash Drive
  bcdDevice            1.00
  iManufacturer           1 USBest Technology
  iProduct                2 USB Mass Storage Device
  iSerial                 3 08032204c2f5fd
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               80mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               8
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x000a
  (Bus Powered)
  Remote Wakeup Enabled

Is there some cryptic hdparm command I could run on it to reset it?  I mean, 
it's bricked as is anyway, so it can't get *much* worse.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-01-04 17:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 16:32 [gentoo-user] [OT] Resetting USB flash Mick
2013-01-04 16:48 ` Michael Mol
2013-01-04 17:18   ` Mick [this message]
2013-01-04 17:32     ` Paul Hartman
2013-01-04 19:13       ` Mick
2013-01-04 18:43     ` [gentoo-user] " James
2013-01-04 19:16       ` Mick
2013-01-04 20:27         ` Walter Dnes
2013-01-04 23:56           ` Mick
2013-01-05  2:26             ` Walter Dnes
2013-01-05 10:05               ` Mick
2013-01-07  3:13                 ` Walter Dnes
2013-01-07  6:44                   ` Mick
2013-01-04 19:12 ` Nikos Chantziaras
2013-01-04 19:29   ` Mick
2013-01-04 22:31 ` [gentoo-user] " Alan McKinnon
2013-01-04 23:59   ` Mick

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=201301041718.38230.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.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