On 4/17/06, Frédéric Grosshans
<[EMAIL PROTECTED]> wrote:
> When I plug it, tje following entries are added to dmesg :
>
>         usb 3-2: new full speed USB device using uhci_hcd and address 6
>         scsi2 : SCSI emulation for USB Mass Storage devices
>         usb-storage: device found at 6
>         usb-storage: waiting for device to settle before scanning
>           Vendor: Generic   Model: USB Flash Drive   Rev: 1.04
>           Type:   Direct-Access                      ANSI SCSI revision:
>         02
>         sd 2:0:0:0: Attached scsi removable disk sda
>         usb-storage: device scan complete
>
> The strangest part is the lsusb output (verbose output at the end of the
> mail):
>         sanduleak ~ # lsusb -s6
>         Bus 003 Device 006: ID 1043:8006 iCreate Technologies Corp.
>         Flash Disk 32 MB
>
> This is a not an iCreate 32MB drive, but a Kingston DataTraveler Elite

This doesn't really matter.  It comes from the database at
http://www.linux-usb.org/usb.ids

However, I think the kernel doesn't fully recognize your device.  Your
dmesg output seems to be missing size discovery like so:

  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdb: 2047488 512-byte hdwr sectors (1048 MB)
sdb: Write Protect is off

Also, from your lsusb output:

>   iManufacturer           0
>   iProduct                0

When I compare to what I get with my flash drive:

  idVendor           0x0ea0 Ours Technology, Inc.
  idProduct          0x2168 Transcend JetFlash 2.0 / Astone USB Drive
  bcdDevice            2.00
  iManufacturer           1 USB
  iProduct                2 Flash Disk

Those strings for iManufacturer and iProduct seem to come from the
sysfs entries:

carcharias 1-3 # (cd /sys/devices/pci0000\:00/0000\:00\:1d.7/usb1/1-3
; cat manufacturer product; )
USB
Flash Disk

Which in turn come from the table in
/usr/src/linux/drivers/usb/storage/unusual_devs.h.  Maybe you can try
adding an entry for your device to that table?  Something like:

UNUSUAL_DEV(  0x1043, 0x8006, 0x0110, 0x0110,
                "USB",
                "Flash Disk",
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_IGNORE_RESIDUE ),

HTH,
-Richard

-- 
[email protected] mailing list

Reply via email to