Skip to content

Commit 94f9c8c

Browse files
AlanSterngregkh
authored andcommitted
usb-storage: Add unusual_devs entry for JMicron JMS566
Cyril Roelandt reports that his JMicron JMS566 USB-SATA bridge fails to handle WRITE commands with the FUA bit set, even though it claims to support FUA. (Oddly enough, a later version of the same bridge, version 2.03 as opposed to 1.14, doesn't claim to support FUA. Also oddly, the bridge _does_ support FUA when using the UAS transport instead of the Bulk-Only transport -- but this device was blacklisted for uas in commit bc3bdb1 ("usb-storage: Disable UAS on JMicron SATA enclosure") for apparently unrelated reasons.) This patch adds a usb-storage unusual_devs entry with the BROKEN_FUA flag. This allows the bridge to work properly with usb-storage. Reported-and-tested-by: Cyril Roelandt <[email protected]> Signed-off-by: Alan Stern <[email protected]> CC: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3155f4f commit 94f9c8c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/usb/storage/unusual_devs.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2323,6 +2323,13 @@ UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
23232323
USB_SC_DEVICE,USB_PR_DEVICE,NULL,
23242324
US_FL_MAX_SECTORS_64 ),
23252325

2326+
/* Reported by Cyril Roelandt <[email protected]> */
2327+
UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2328+
"JMicron",
2329+
"USB to ATA/ATAPI Bridge",
2330+
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2331+
US_FL_BROKEN_FUA ),
2332+
23262333
/* Reported by Andrey Rahmatullin <[email protected]> */
23272334
UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
23282335
"iRiver",

0 commit comments

Comments
 (0)