diff options
author | Jost Diederichs <jost@qdusa.com> | 2008-07-13 01:37:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 20:32:52 -0400 |
commit | 51cdc1c103dcb7cf1ca280843308a2e32847f9ce (patch) | |
tree | 606cbb76cd0e36ef259e1abdc9e1b66d460eb2f7 /drivers | |
parent | 32fe5e393455d87db4988af03915634304870fb4 (diff) |
USB: usb-storage Motorola Phone Razr v3xx US_FL_FIX_CAPACITY patch
add razr v3xx US_FL_FIX_CAPACITY flag to unusual_devs.h in usb-storage
This is another Motorola phone that incorrectly reports the sector count
(off by one).
Problem Description: io errors when mounting phone's sd-card via the
phones usb port
Steps to reproduce: mount Motorola Razr v3xx phones sd-card on Linux Desktop
via usb cable. Phones USB port must be in memory card mode.
DEBUG output:
Jul 9 19:32:41 micky kernel: Buffer I/O error on device sdd, logical block 3970048
Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Sense Key : Medium Error [current]
Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Add. Sense: No additional sense information
Jul 9 19:32:41 micky kernel: end_request: I/O error, dev sdd, sector 3970048
From: Jost Diederichs <jost@qdusa.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/storage/unusual_devs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h index 927572377f32..564999c42d78 100644 --- a/drivers/usb/storage/unusual_devs.h +++ b/drivers/usb/storage/unusual_devs.h | |||
@@ -1752,6 +1752,15 @@ UNUSUAL_DEV( 0x22b8, 0x4810, 0x0001, 0x0002, | |||
1752 | US_FL_FIX_CAPACITY), | 1752 | US_FL_FIX_CAPACITY), |
1753 | 1753 | ||
1754 | /* | 1754 | /* |
1755 | * Patch by Jost Diederichs <jost@qdusa.com> | ||
1756 | */ | ||
1757 | UNUSUAL_DEV(0x22b8, 0x6410, 0x0001, 0x9999, | ||
1758 | "Motorola Inc.", | ||
1759 | "Motorola Phone (RAZRV3xx)", | ||
1760 | US_SC_DEVICE, US_PR_DEVICE, NULL, | ||
1761 | US_FL_FIX_CAPACITY), | ||
1762 | |||
1763 | /* | ||
1755 | * Patch by Constantin Baranov <const@tltsu.ru> | 1764 | * Patch by Constantin Baranov <const@tltsu.ru> |
1756 | * Report by Andreas Koenecke. | 1765 | * Report by Andreas Koenecke. |
1757 | * Motorola ROKR Z6. | 1766 | * Motorola ROKR Z6. |