I've bought one (pretty cheep at $200). It's a tidy little unit with a USB
interface. 64MB memory, and says 'supported by Linux' on the box.
However, I can't seem to get it working under Linux. Here's the deal:
When I plug it in, the usb manager loads the right modules (scsi_mod and
usb_storage), and information appears under /proc identifying the device.
However, there's nothing under /dev created for me to access the device.
There is an empty directory created at:
/dev/scsi/host0/bus0/target0/lun0/
that might indicate something is going wrong somewhere.
Any ideas? I'm running kernel 2.4.20, Debian unstable. Cheers for any help
:)
Here is some information from some files:
/proc/scsi/usb-storage-0/0 holds:
Host scsi0: usb-storage
Vendor:
Product: USB MP3
Serial Number: 142B1B090126
Protocol: Transparent SCSI
Transport: Bulk
GUID: 0d7d01500000142b1b090126
Attached: Yes
/proc/scsi/scsi holds:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Model: USB MP3 Rev: 1.06
Type: Direct-Access ANSI SCSI revision: 02
/proc/bus/usb/drivers holds:
usbdevfs
hub
96-111: hiddev
hid
usb-storage
Here's the interesting stuff from dmesg:
hub.c: new USB device 00:07.2-2.3, assigned address 9
usb.c: USB device 9 (vend/prod 0xd7d/0x150) is not claimed by any active
driver.
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 89
usb-storage: Array length appears to be: 91
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc48538e0 Out: 0xc48538f4 Int: 0xc4853908
(Period 1)
usb-storage: New GUID 0d7d01500000142b1b090126
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 26 c6 ac ea 94 c6
usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x1 R 219 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
Vendor: Model: USB MP3 Rev: 1.06
Type: Direct-Access ANSI SCSI revision: 02
<snip>
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 9
USB Mass Storage support registered.
Here's the relevent stuff from /var/log/messages:
Mar 28 22:56:55 tnw13_l kernel: hub.c: new USB device 00:07.2-2.3,
assigned address 8
Mar 28 22:56:55 tnw13_l kernel: usb.c: USB device 8 (vend/prod
0xd7d/0x150) is not claimed by any active driver.
Mar 28 22:56:58 tnw13_l kernel: SCSI subsystem driver Revision: 1.00
Mar 28 22:56:58 tnw13_l kernel: Initializing USB Mass Storage driver...
Mar 28 22:56:58 tnw13_l kernel: usb.c: registered new driver usb-storage
Mar 28 22:56:58 tnw13_l kernel: scsi0 : SCSI emulation for USB Mass
Storage devices
Mar 28 22:56:58 tnw13_l kernel: Vendor: Model: USB MP3
Rev: 1.06
Mar 28 22:56:58 tnw13_l kernel: Type: Direct-Access
ANSI SCSI revision: 02
Mar 28 22:56:58 tnw13_l kernel: USB Mass Storage support registered.
here's the output from lsmod (the top two are the interesting ones):
Module Size Used by Not tainted
usb-storage 117232 0 (unused)
scsi_mod 87188 1 [usb-storage]
isofs 26420 1 (autoclean)
zlib_inflate 18852 0 (autoclean) [isofs]
ide-floppy 14048 0 (autoclean)
ide-tape 57232 0 (autoclean)
ide-cd 30564 1 (autoclean)
cdrom 29600 0 (autoclean) [ide-cd]
mousedev 4340 1 (autoclean)
agpgart 19792 0 (autoclean) (unused)
keybdev 2112 0 (unused)
hid 19588 0 (unused)
input 3616 0 [mousedev keybdev hid]
xircom_cb 7016 0 (unused)
xircom_tulip_cb 13336 1
ds 7016 2
yenta_socket 10112 2
pcmcia_core 45248 0 [ds yenta_socket]
uhci 26000 0 (unused)
usbcore 63040 1 [usb-storage hid uhci]
nls_iso8859-1 2844 2 (autoclean)
ntfs 54304 1 (autoclean)
floppy 50940 0 (autoclean)
maestro3 28016 1
soundcore 3908 2 [maestro3]
ac97_codec 11144 0 [maestro3]
rtc 6908 0 (autoclean)
unix 15304 105 (autoclean)
Tim Wright
Assistant Lecturer
Department of Computer Science
University of Canterbury
http://www.cosc.canterbury.ac.nz/~tnw13