Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Resetting USB flash
Date: Fri, 04 Jan 2013 17:20:54
Message-Id: 201301041718.38230.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] [OT] Resetting USB flash by Michael Mol
1 On Friday 04 Jan 2013 16:48:41 Michael Mol wrote:
2 > On Fri, Jan 4, 2013 at 11:32 AM, Mick <michaelkintzios@×××××.com> wrote:
3 > > I was trying to zero out a USB stick and at some point it seems to have
4 > > locked itself up. By that I mean that for all intends and purposes I
5 > > cannot write to it in any conceivable way.
6 > >
7 > > I tried to delete /dev/sdb1 with c/fdisk, the dd zeros into /dev/sdb1,
8 > > /dev/sdb and also the first 512B to delete the partition table, but
9 > > nothing seems to work.
10 > >
11 > > /dev/sdb1 is still there no matter how I try to delete/format/overwrite
12 > > it.
13 > >
14 > > Is there a way of resetting whatever needs resetting in the USB flash
15 > > chip to make it work again?
16 > > --
17 > > Regards,
18 > > Mick
19 >
20 > Was it a drive with U3 on it? If so, there are tools you might use,
21 > but I can't remember their name.
22 >
23 > https://en.wikipedia.org/wiki/U3
24
25 No, it's a normal USB flash stick:
26
27 Bus 002 Device 006: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB
28 Flash Drive
29 Device Descriptor:
30 bLength 18
31 bDescriptorType 1
32 bcdUSB 2.00
33 bDeviceClass 0 (Defined at Interface level)
34 bDeviceSubClass 0
35 bDeviceProtocol 0
36 bMaxPacketSize0 64
37 idVendor 0x1307 Transcend Information, Inc.
38 idProduct 0x0163 256MB/512MB/1GB Flash Drive
39 bcdDevice 1.00
40 iManufacturer 1 USBest Technology
41 iProduct 2 USB Mass Storage Device
42 iSerial 3 08032204c2f5fd
43 bNumConfigurations 1
44 Configuration Descriptor:
45 bLength 9
46 bDescriptorType 2
47 wTotalLength 39
48 bNumInterfaces 1
49 bConfigurationValue 1
50 iConfiguration 0
51 bmAttributes 0x80
52 (Bus Powered)
53 MaxPower 80mA
54 Interface Descriptor:
55 bLength 9
56 bDescriptorType 4
57 bInterfaceNumber 0
58 bAlternateSetting 0
59 bNumEndpoints 3
60 bInterfaceClass 8 Mass Storage
61 bInterfaceSubClass 6 SCSI
62 bInterfaceProtocol 80 Bulk-Only
63 iInterface 0
64 Endpoint Descriptor:
65 bLength 7
66 bDescriptorType 5
67 bEndpointAddress 0x01 EP 1 OUT
68 bmAttributes 2
69 Transfer Type Bulk
70 Synch Type None
71 Usage Type Data
72 wMaxPacketSize 0x0200 1x 512 bytes
73 bInterval 1
74 Endpoint Descriptor:
75 bLength 7
76 bDescriptorType 5
77 bEndpointAddress 0x82 EP 2 IN
78 bmAttributes 2
79 Transfer Type Bulk
80 Synch Type None
81 Usage Type Data
82 wMaxPacketSize 0x0200 1x 512 bytes
83 bInterval 1
84 Endpoint Descriptor:
85 bLength 7
86 bDescriptorType 5
87 bEndpointAddress 0x83 EP 3 IN
88 bmAttributes 3
89 Transfer Type Interrupt
90 Synch Type None
91 Usage Type Data
92 wMaxPacketSize 0x0040 1x 64 bytes
93 bInterval 8
94 Device Qualifier (for other device speed):
95 bLength 10
96 bDescriptorType 6
97 bcdUSB 2.00
98 bDeviceClass 0 (Defined at Interface level)
99 bDeviceSubClass 0
100 bDeviceProtocol 0
101 bMaxPacketSize0 64
102 bNumConfigurations 1
103 Device Status: 0x000a
104 (Bus Powered)
105 Remote Wakeup Enabled
106
107 Is there some cryptic hdparm command I could run on it to reset it? I mean,
108 it's bricked as is anyway, so it can't get *much* worse.
109 --
110 Regards,
111 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] [OT] Resetting USB flash Paul Hartman <paul.hartman+gentoo@×××××.com>
[gentoo-user] Re: [OT] Resetting USB flash James <wireless@×××××××××××.com>