Re: [BUG] 2.6.32 - Sddr-09 SM reader resets endlessly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Dec 2009, Ed Tomlinson wrote:

> Alan,
> 
> For console:
> 
> [ 1259.709281] usb 3-1: new full speed USB device using ohci_hcd and address 4
> [ 1259.867687] usb 3-1: New USB device found, idVendor=0781, idProduct=0200

Not shown explicitly, the bcdDevice value is 0208.

> [ 1259.874603] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [ 1259.881956] usb 3-1: Product: USB SSFDC
> [ 1259.881958] usb 3-1: Manufacturer: SanDisk
> [ 1259.882194] usb 3-1: configuration #1 chosen from 1 choice
> [ 1259.891501] scsi10 : SCSI emulation for USB Mass Storage devices
> [ 1259.892743] usb-storage: device found at 4
> [ 1259.892746] usb-storage: waiting for device to settle before scanning
> [ 1264.892142] scsi 10:0:0:0: Direct-Access     Sandisk0 ImageMate SDDR-0 0208 PQ: 0 ANSI: 0

The '0' at the end of "Sandisk0" is caused by a bug in usb-storage.

> [ 1264.901175] sd 10:0:0:0: Attached scsi generic sg8 type 0
> [ 1265.279293] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1265.558305] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1265.837226] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1266.112307] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1266.388099] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1266.666283] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1266.830235] sddr09: could not read card info
> [ 1266.847287] sddr09: could not read card info
> [ 1266.851769] usb-storage: device scan complete
> [ 1266.852988] sd 10:0:0:0: [sdh] Test WP failed, assume Write Enabled
> [ 1266.852991] sd 10:0:0:0: [sdh] Assuming drive cache: write through
> [ 1266.991289] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1267.297268] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1267.574303] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1267.851310] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1268.129290] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1268.408257] usb 3-1: reset full speed USB device using ohci_hcd and address 4
> [ 1268.560201] sd 10:0:0:0: [sdh] Attached SCSI removable disk
> [ 1280.034256] usb 3-1: USB disconnect, address 4
> 
> Here is the trace. 

Skipping to the important part, where the sddr09 driver implements TEST 
UNIT READY:

> ffff8801571e5240 2548283209 S Co:3:004:0 s 41 00 0000 0000 000c 12 = 00200000 00000000 00000000
> ffff8801571e5240 2548536793 C Co:3:004:0 -32 12 >

That failure is responsible for the resets.

Andries, do you have any idea what's going on?  Evidently this device 
doesn't accept the protocol used by the sddr09 driver.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux