Clip+ doesn't work in Linux

Like it says. The device is recognized as a USB device but not as a USB mass storage device. It is in MSC mode.

dmesg output:

usb 2-4: new high speed USB device using ehci_hcd and address 9
hub 2-0:1.0: unable to enumerate USB device on port 4
usb 2-4: new high speed USB device using ehci_hcd and address 10
usb 2-4: configuration #1 chosen from 1 choice

Relevant lsusb output:

Bus 002 Device 010: ID 0781:74d1 SanDisk Corp.

Nothing in /proc/scsi/scsi.

This device is supposed to support MSC. Any ideas?

Depends on the flavour of Linux…

Ubuntu 9.10 gives:

 [2027.664313] hub 1-0:1.0: unable to enumerate USB device on port 5
[2030.038920] usb 1-5: new high speed USB device using ehci_hcd and address 9
[2030.169838] usb 1-5: configuration #1 chosen from 1 choice
[2030.175714] scsi7 : SCSI emulation for USB Mass Storage devices
[2030.175882] usb-storage: device found at 9
[2030.175887] usb-storage: waiting for device to settle before scanning
[2035.173311] usb-storage: device scan complete
[2035.173935] scsi 7:0:0:0: Direct-Access     SanDisk  Sansa Clip+ 4GB  v01. PQ: 0 ANSI: 0
[2035.174507] scsi 7:0:0:1: Direct-Access     SanDisk  Sansa Clip+ 4GB  v01. PQ: 0 ANSI: 0
[2035.179340] sd 7:0:0:0: Attached scsi generic sg3 type 0
[2035.179555] sd 7:0:0:1: Attached scsi generic sg4 type 0
[2035.197801] sd 7:0:0:0: [sdc] 7683072 512-byte logical blocks: (3.93 GB/3.66 GiB)
[2035.199823] sd 7:0:0:0: [sdc] Write Protect is off
[2035.199832] sd 7:0:0:0: [sdc] Mode Sense: 04 00 00 00
[2035.199837] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[2035.200801] sd 7:0:0:1: [sdd] Attached SCSI removable disk
[2035.202414] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[2035.202423]  sdc:
[2035.210167] sd 7:0:0:0: [sdc] Assuming drive cache: write through
[2035.210176] sd 7:0:0:0: [sdc] Attached SCSI removable disk

And mounts the Clip+ quite happily.

What distro are you using, what version, what hardware etc?

Edited to remove question already answered in OP’s P.

Message Edited by crispibits on 02-19-2010 01:24 AM

Just thinking about this - Do you have another MSC class device which does work?  Can you compare the outputs of lsusb -v?

I just compared two devices on Ubuntu , one (a freecom HDD) works on my Archos 605 (a clamped down Linux based PMP), the other (Clip+) doesn’t.

The only lines of notes were:

clip + iConfiguration          4 config1: Mass Storage only

freecom iConfiguration          4 USB Mass Storage

clip+ iInterface              5 ms ifac 1 (SCSI::BULK_ONLY)

freecom iInterface              6 MSC Bulk-Only Transfer

clip+ bmAttributes         0x80
      (Bus Powered)

freecom bmAttributes         0xc0
      Self Powered

I don’t know anything about USB specs, but a quick google suggests that the iConfig and iInterface are just string descriptors, although the index number being different might have some effect?

Mine shows up fine in PCLOS 2010.1 and Mint 9. Shows up as Sansa Clipp (yes with two P’s) and the 2GB card shows up as removable media.

Since my FUZE showed up as two generic devices (Player and Card) I have left well enough alone with the CLIP+

Sorry I can’t offer more help.

I’ve ran into the same problem before with Debian Squeeze (kernel 2.6.32).   The problem only occurs when I plug it into an external USB hub  and does not occur when I plug it into one of the USB jacks built into the back of the computer.   I’ve seen this problem occur with different brands of hubs and computers with different USB chipsets, so I think it is either a bug with the clip or a bug in the linux USB stack.  If you are using a hub try a direct connection, or try an alternate USB port on the computer.

If you use a home-baked kernel, you need to enable multi-lun support in the scsi stack to support USB devices with more than one storage interface.

No problems on my Puppy linux machines ~

Jul  1 19:04:55 (none) user.info kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Jul  1 19:04:55 (none) user.debug kernel: usb-storage: device found at 8
Jul  1 19:04:55 (none) user.debug kernel: usb-storage: waiting for device to settle before scanning
Jul  1 19:05:00 (none) user.notice kernel: scsi 4:0:0:0: Direct-Access     SanDisk  Sansa Clip+ 2GB  v01. PQ: 0 ANSI: 0
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:0: [sdf] 3801088 512-byte hardware sectors (1946 MB)
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:0: [sdf] Write Protect is off
Jul  1 19:05:00 (none) user.debug kernel: sd 4:0:0:0: [sdf] Mode Sense: 04 00 00 00
Jul  1 19:05:00 (none) user.err kernel: sd 4:0:0:0: [sdf] Assuming drive cache: write through
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:0: [sdf] 3801088 512-byte hardware sectors (1946 MB)
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:0: [sdf] Write Protect is off
Jul  1 19:05:00 (none) user.debug kernel: sd 4:0:0:0: [sdf] Mode Sense: 04 00 00 00
Jul  1 19:05:00 (none) user.err kernel: sd 4:0:0:0: [sdf] Assuming drive cache: write through
Jul  1 19:05:00 (none) user.info kernel:  sdf:
Jul  1 19:05:00 (none) user.info kernel:
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:0: [sdf] Attached SCSI removable disk
Jul  1 19:05:00 (none) user.notice kernel: scsi 4:0:0:1: Direct-Access     SanDisk  Sansa Clip+ 2GB  v01. PQ: 0 ANSI: 0
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:1: [sdg] 15523840 512-byte hardware sectors (7948 MB)
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:1: [sdg] Write Protect is off
Jul  1 19:05:00 (none) user.debug kernel: sd 4:0:0:1: [sdg] Mode Sense: 04 00 00 00
Jul  1 19:05:00 (none) user.err kernel: sd 4:0:0:1: [sdg] Assuming drive cache: write through
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:1: [sdg] 15523840 512-byte hardware sectors (7948 MB)
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:1: [sdg] Write Protect is off
Jul  1 19:05:00 (none) user.debug kernel: sd 4:0:0:1: [sdg] Mode Sense: 04 00 00 00
Jul  1 19:05:00 (none) user.err kernel: sd 4:0:0:1: [sdg] Assuming drive cache: write through
Jul  1 19:05:00 (none) user.info kernel:  sdg:
Jul  1 19:05:00 (none) user.info kernel:  sdg1
Jul  1 19:05:00 (none) user.notice kernel: sd 4:0:0:1: [sdg] Attached SCSI removable disk
Jul  1 19:05:00 (none) user.debug kernel: usb-storage: device scan complete

That’s off one of the USB extension leads that i run from the back of the PC’s. I do get the ‘unable to enumerate’ errors, then the above messages are output and the two devices load (2GB player and 8GB Micro SD card)

Message Edited by creaky on 07-01-2010 11:11 AM