Files
linux/drivers
Massimiliano Ghilardi c4766560e4 USB Mass Storage: limit "Rockchip ROCK MP3" device (071b:3203) max I/O to 64 sectors per command
The MP3/MP4/AVI player "Rockchip ROCK MP3" is seen as a USB disk, but fails
if more than 128 sectors (64kB) are sent or requested in a single read or write
command, and disconnects from the USB bus.

Typical kernel log showing the problem is:

usb 3-1: reset high speed USB device using ehci_hcd and address 6
usb 3-1: reset high speed USB device using ehci_hcd and address 6
sd 14:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sdb, sector 32
sd 14:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sdb, sector 32
usb 3-1: USB disconnect, address 6

This patch works around the device limitation by adding "Rockchip ROCK MP3"
to unusual USB devices list and limiting data transfers to 64 sectors (32kB)
per command.
Tested on 2.6.23-rc5 (amd64).

Signed-off-by: Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-09-11 07:48:16 -07:00
..
2007-07-31 15:39:39 -07:00
…
2007-08-22 19:52:46 -07:00
2007-07-31 15:39:39 -07:00
2007-07-21 18:37:12 -07:00
…
…
…
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
…
…
2007-08-25 01:44:01 -04:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-08-25 01:44:01 -04:00
2007-08-24 01:27:24 -04:00
…
2007-08-22 19:52:45 -07:00
2007-08-31 01:42:23 -07:00
…
2007-07-18 15:57:16 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00