Gentoo Archives: gentoo-user

From: "Frédéric Grosshans" <frederic.grosshans.1995@×××××××××××××.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 05:26:19
Message-Id: 1145337626.18675.16.camel@localhost
In Reply to: Re: [gentoo-user] No /dev/sda1 with Klingston usb disk. Wrong lsusb output. by Richard Fish
1 Le lundi 17 avril 2006 à 20:44 -0700, Richard Fish a écrit :
2 > On 4/17/06, Frédéric Grosshans
3
4 > This doesn't really matter. It comes from the database at
5 > http://www.linux-usb.org/usb.ids
6
7 OK. Thanks
8
9 > However, I think the kernel doesn't fully recognize your device. Your
10 > dmesg output seems to be missing size discovery like so:
11 >
12 > Type: Direct-Access ANSI SCSI revision: 02
13 > SCSI device sdb: 2047488 512-byte hdwr sectors (1048 MB)
14 > sdb: Write Protect is off
15 >
16 > Also, from your lsusb output:
17 >
18 > > iManufacturer 0
19 > > iProduct 0
20 <snip>
21 >
22 > Those strings for iManufacturer and iProduct seem to come from the
23 > sysfs entries:
24 >
25 > carcharias 1-3 # (cd /sys/devices/pci0000\:00/0000\:00\:1d.7/usb1/1-3
26 > ; cat manufacturer product; )
27 > USB
28 > Flash Disk
29
30 how do you know the /0000\:00\:1d.7/usb1/1-3 part of the above path ?
31 >
32 > Which in turn come from the table in
33 > /usr/src/linux/drivers/usb/storage/unusual_devs.h. Maybe you can try
34 > adding an entry for your device to that table? Something like:
35 >
36 > UNUSUAL_DEV( 0x1043, 0x8006, 0x0110, 0x0110,
37 > "USB",
38 > "Flash Disk",
39 > US_SC_DEVICE, US_PR_DEVICE, NULL,
40 > US_FL_IGNORE_RESIDUE ),
41
42
43 I'm compiling the kernel with this difference. (Its my first source code
44 modification !)
45
46 I'll post the result later.
47
48 Thanks for yout help
49
50 Fred
51
52 --
53 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>