RE: MP3 device device descriptor read error

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

 



Thanks Alan,
>>  I have a MP3/MP4/Etc. media player (http://www.dse.co.nz/dse.shop/4d3c841a01d07c462741c0a87f3b06b5/Product/View/A5148) which when plugged in is mostly detected as a usb_storage device, with size and capacity detected. Unfortunatley after that I get the reset high speed USB device using ehci_hcd and device descriptor read/64, error -110 errors.
>> http://pastebin.com/Y4fxZ8qb The device mounts  fine in badVista using the standard usbblk driver.
>>
>> The device is similar to a Coby device MP815 which claims to be an MTP device. None of the mtp tools work as the usb subsystem seems to be locked up whilst the MP3 player is plugged in.
>>
>
> The log shows that your device is buggy (it uses the wrong tag in a CSW
> packet after an error). The patch below should work around the bug.
> Let me know how it works.
>
> Alan Stern
>
>
> Index: usb-2.6/drivers/usb/storage/unusual_devs.h
> ===================================================================
> --- usb-2.6.orig/drivers/usb/storage/unusual_devs.h
> +++ usb-2.6/drivers/usb/storage/unusual_devs.h
> @@ -1872,6 +1872,12 @@ UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0
> US_SC_DEVICE, US_PR_DEVICE, NULL,
> US_FL_NO_READ_DISC_INFO ),
>
> +UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
> + "Coby Electronics",
> + "MP3 Player",
> + US_SC_DEVICE, US_PR_DEVICE, NULL,
> + US_FL_BULK_IGNORE_TAG ),
> +
> UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
> "ST",
> "2A",
>
 The patch did the trick.  The device is detected and can be mounted.   It is very slow tho:
hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   114 MB in  2.00 seconds =  57.00 MB/sec
 Timing buffered disk reads:   4 MB in  3.89 seconds =   1.03 MB/sec

With the following appearing in the kernel log:[  272.338030] sd 2:0:0:0: [sdb] Unhandled error code
[  272.338034] sd 2:0:0:0: [sdb]  Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[  272.338038] sd 2:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 20 00 00 00 f0 00
[  272.338046] end_request: I/O error, dev sdb, sector 8192

Is there anything that can be done about this?
Jasper 		 	   		  --
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