Skip to content

Commit c75afaf

Browse files
Icenowygregkh
authored andcommitted
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
commit a6555cb upstream. JieLi tends to use SCSI via USB Mass Storage to implement their own proprietary commands instead of implementing another USB interface. Enumerating it as a generic mass storage device will lead to a Hardware Error sense key get reported. Ignore this bogus device to prevent appearing a unusable sdX device file. Signed-off-by: Icenowy Zheng <[email protected]> Cc: stable <[email protected]> Acked-by: Alan Stern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 64ae835 commit c75afaf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/usb/storage/unusual_devs.h

+11
Original file line numberDiff line numberDiff line change
@@ -2412,6 +2412,17 @@ UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
24122412
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
24132413
US_FL_NOT_LOCKABLE),
24142414

2415+
/*
2416+
* Reported by Icenowy Zheng <[email protected]>
2417+
* This is an interface for vendor-specific cryptic commands instead
2418+
* of real USB storage device.
2419+
*/
2420+
UNUSUAL_DEV( 0xe5b7, 0x0811, 0x0100, 0x0100,
2421+
"ZhuHai JieLi Technology",
2422+
"JieLi BR21",
2423+
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2424+
US_FL_IGNORE_DEVICE),
2425+
24152426
/* Reported by Andrew Simmons <[email protected]> */
24162427
UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
24172428
"DataStor",

0 commit comments

Comments
 (0)