Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output.
Date: Tue, 18 Apr 2006 03:48:50
Message-Id: 7573e9640604172044w11711dedtcf3ee654b8ed8bcd@mail.gmail.com
In Reply to: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output. by "Frédéric Grosshans"
1 On 4/17/06, Frédéric Grosshans
2 <frederic.grosshans.1995@×××××××××××××.org> wrote:
3 > When I plug it, tje following entries are added to dmesg :
4 >
5 > usb 3-2: new full speed USB device using uhci_hcd and address 6
6 > scsi2 : SCSI emulation for USB Mass Storage devices
7 > usb-storage: device found at 6
8 > usb-storage: waiting for device to settle before scanning
9 > Vendor: Generic Model: USB Flash Drive Rev: 1.04
10 > Type: Direct-Access ANSI SCSI revision:
11 > 02
12 > sd 2:0:0:0: Attached scsi removable disk sda
13 > usb-storage: device scan complete
14 >
15 > The strangest part is the lsusb output (verbose output at the end of the
16 > mail):
17 > sanduleak ~ # lsusb -s6
18 > Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp.
19 > Flash Disk 32 MB
20 >
21 > This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite
22
23 This doesn't really matter. It comes from the database at
24 http://www.linux-usb.org/usb.ids
25
26 However, I think the kernel doesn't fully recognize your device. Your
27 dmesg output seems to be missing size discovery like so:
28
29 Type: Direct-Access ANSI SCSI revision: 02
30 SCSI device sdb: 2047488 512-byte hdwr sectors (1048 MB)
31 sdb: Write Protect is off
32
33 Also, from your lsusb output:
34
35 > iManufacturer 0
36 > iProduct 0
37
38 When I compare to what I get with my flash drive:
39
40 idVendor 0x0ea0 Ours Technology, Inc.
41 idProduct 0x2168 Transcend JetFlash 2.0 / Astone USB Drive
42 bcdDevice 2.00
43 iManufacturer 1 USB
44 iProduct 2 Flash Disk
45
46 Those strings for iManufacturer and iProduct seem to come from the
47 sysfs entries:
48
49 carcharias 1-3 # (cd /sys/devices/pci0000\:00/0000\:00\:1d.7/usb1/1-3
50 ; cat manufacturer product; )
51 USB
52 Flash Disk
53
54 Which in turn come from the table in
55 /usr/src/linux/drivers/usb/storage/unusual_devs.h. Maybe you can try
56 adding an entry for your device to that table? Something like:
57
58 UNUSUAL_DEV( 0x1043, 0x8006, 0x0110, 0x0110,
59 "USB",
60 "Flash Disk",
61 US_SC_DEVICE, US_PR_DEVICE, NULL,
62 US_FL_IGNORE_RESIDUE ),
63
64 HTH,
65 -Richard
66
67 --
68 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output. "Frédéric Grosshans" <frederic.grosshans.1995@×××××××××××××.org>