Comment 18 for bug 231049

Revision history for this message
Peter Cherriman (pjcherriman) wrote :

Here a summary for my sansa clip.

Under gutsy, debian lenny and a 2.6.27 kernel (from interpid):

My clip automounts but only at USB1 speeds

(Hint the easy way to check is do properties on the drive icon, click on drive tab, if connection says 12Mbps its USB1, 480Mbps is USB2)

However if I boot the PC with the clip plugged in, it automounts at USB2 speed. However, if I unplug it and plug it back in it connects at USB1 speeds.

On hardy, it also automounts at USB2 speeds if it plugged in before I boot. However if plug it in later it wont be detected. Sometimes I can get it detected by running "lsusb" a couple times. If that doesn't work unload and reloading the ehci_hcd module is the only way to get it detected, it then mounts at USB2 speed, until it is unplugged, and plugged back in, where again it isn't detected.

When the clip is plugged in after boot, on all the kernels I've tried I get the following error messages.

Sep 14 15:50:27 usb 8-3: new high speed USB device using ehci_hcd and address 3
Sep 14 15:50:29 ehci_hcd 0000:00:1d.7: port 3 reset error -110
Sep 14 15:50:29 hub 8-0:1.0: hub_port_status failed (err = -32)

the -110 is a timeout when reseting something, the kernel (ehci-hcd.c) has a 750usec delay with a comment to revisit the issue with some hardware, where 550usec was not enough. I've not worked out what -32 error message is yet.

On the gutsy, lenny and intrepid kernels, (but not hardy) it then automatically falls back to USB1 and automounts the clip (at USB1 speeds = full speed)

Sep 14 15:50:30 hub 8-0:1.0: unable to enumerate USB device on port 3
Sep 14 15:50:30 usb 5-1: new full speed USB device using uhci_hcd and address 2
Sep 14 15:50:30 usb 5-1: not running at top speed; connect to a high speed hub
Sep 14 15:50:30 usb 5-1: configuration #1 chosen from 1 choice
Sep 14 15:50:30 scsi7 : SCSI emulation for USB Mass Storage devices
Sep 14 15:50:30 usb-storage: device found at 2
Sep 14 15:50:30 usb-storage: waiting for device to settle before scanning
Sep 14 15:50:35 usb-storage: device scan complete
Sep 14 15:50:35 scsi 7:0:0:0: Direct-Access SanDisk Sansa Clip 2GB v01. PQ: 0 ANSI: 0
Sep 14 15:50:35 sd 7:0:0:0: [sdb] 3935232 512-byte hardware sectors (2015 MB)

It then needs the following command to get the clip to remount at USB2 speeds:

sudo modprobe -r ehci_hcd; sudo modprobe ehci_hcd

So in all the cases there is a problem with the clip. On gutsy, lenny, interpid kernels the clip is mounted but only at USB1 speeds. On hardy it doesn't automount. All kernels needs some command line work to get the clip to mount at USB2 speeds, and that only fixes the problem until it is unplugged.

If you boot the PC with the clip already plugged in, in automounts at USB2 speeds, but as before if you unplug it and then plug it back in it either doesn't mount or mounts at USB1 speeds depending on which kernel you are using.