I've got SanDisk Sansa c240 MP3 player here. It usually causes repeated
USB resets and disconnects, but _sometimes_ it settles down and is
eventually found. But settling down is rare - most of the time it just
keeps resetting.

Anyway once discovered, it is mountable and I managed to write 700 MB of
data with no problem (well, average write speed was 4 MB/s, too low for
my taste).

Does this behavior ring a bell?

Uname, dmesg and lsusb outputs follow. I'd be more than glad to provide
more debugging info on demand.

Vit



$ uname -a
Linux dido 2.6.18.1-v2 #1 SMP PREEMPT Sat Oct 28 17:45:57 CEST 2006
x86_64 GNU/Linux


$ dmesg
...
usb 1-5: new high speed USB device using ehci_hcd and address 6
usb 1-5: configuration #128 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 6
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 6
scsi 3:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 7
usb 1-5: configuration #128 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 7
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 7
scsi 4:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 8
usb 1-5: configuration #128 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 8
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 8
scsi 5:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 9
usb 1-5: configuration #128 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 9
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 9
scsi 6:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 10
usb 1-5: configuration #128 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 10
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 10
scsi 7:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 11
usb 1-5: configuration #128 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 11
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 11
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 11
scsi 8:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 12
usb 1-5: configuration #128 chosen from 1 choice
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 12
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 12
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 12
scsi 9:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 13
usb 1-5: configuration #128 chosen from 1 choice
scsi10 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 13
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 13
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 13
scsi 10:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 14
usb 1-5: configuration #128 chosen from 1 choice
scsi11 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 14
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 14
scsi 11:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 15
usb 1-5: configuration #128 chosen from 1 choice
scsi12 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 15
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 15
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 15
scsi 12:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 16
usb 1-5: configuration #128 chosen from 1 choice
scsi13 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 16
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 16
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 16
scsi 13:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 17
usb 1-5: configuration #128 chosen from 1 choice
scsi14 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 17
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 17
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 17
scsi 14:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 18
usb 1-5: configuration #128 chosen from 1 choice
scsi15 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 18
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 18
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 18
scsi 15:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 19
usb 1-5: configuration #128 chosen from 1 choice
scsi16 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 19
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 19
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 19
scsi 16:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 20
usb 1-5: configuration #128 chosen from 1 choice
scsi17 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 20
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 20
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 20
scsi 17:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 21
usb 1-5: configuration #128 chosen from 1 choice
scsi18 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 21
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 21
usb 1-5: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-5: USB disconnect, address 21
scsi 18:0:0:0: scsi: Device offlined - not ready after error recovery
usb-storage: device scan complete
usb 1-5: new high speed USB device using ehci_hcd and address 22
usb 1-5: configuration #128 chosen from 1 choice
scsi19 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 22
usb-storage: waiting for device to settle before scanning
usb 1-5: reset high speed USB device using ehci_hcd and address 22
  Vendor: SanDisk   Model: Sansa c240        Rev: Sans
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdd: 2006528 512-byte hdwr sectors (1027 MB)
sdd: Write Protect is off
sdd: Mode Sense: 3f 00 00 08
sdd: assuming drive cache: write through
SCSI device sdd: 2006528 512-byte hdwr sectors (1027 MB)
sdd: Write Protect is off
sdd: Mode Sense: 3f 00 00 08
sdd: assuming drive cache: write through
 sdd: sdd1 sdd2
sd 19:0:0:0: Attached scsi removable disk sdd
  Vendor: SanDisk   Model: Sansa c240        Rev: Sans
  Type:   Direct-Access                      ANSI SCSI revision: 00
sd 19:0:0:1: Attached scsi removable disk sde
usb-storage: device scan complete


# lsusb -v
...
Bus 002 Device 009: ID 0781:7450 SanDisk Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0781 SanDisk Corp.
  idProduct          0x7450 
  bcdDevice            7.20
  iManufacturer           1 SanDisk
  iProduct                2 Sansa c240
  iSerial                 3 4453033f-31305453-57018047-6c00d0e4-00000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue   128
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval             100
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
...


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to