RE: MP3 device device descriptor read error

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

 




>>>>>> + US_FL_BULK_IGNORE_TAG ),
>
>>>>> Is there anything that can be done about this?
>>>>
>>>> Maybe. But I'd have to see a debugging log or a usbmon trace (see
>>>> Documentation/usb/usbmon.txt) to figure out the cause of the error.
>>> Attached are logs for doing hdparm, a file copy.
>
> Okay, it looks like the device has another bug. To work around it,
> change the line listed above in the patch to say:
>
> + US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
>
> In other words, add in the US_FL_MAX_SECTORS_64 flag. That did the trick. Getting great speeds (hdparm reacons 80mb/s). Thank you.

I had real trouble using your patch and only just noticed the problem USB_SC... instead of US_SC...here is the amended patch that should work:
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",
+        USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+        US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
+
UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
"ST",
"2A",

 		 	   		  --
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