Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 0770cda

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 cb8b441 commit 0770cda

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/usb/storage/unusual_devs.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,6 +2423,17 @@ UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
24232423
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
24242424
US_FL_NOT_LOCKABLE),
24252425

2426+
/*
2427+
* Reported by Icenowy Zheng <[email protected]>
2428+
* This is an interface for vendor-specific cryptic commands instead
2429+
* of real USB storage device.
2430+
*/
2431+
UNUSUAL_DEV( 0xe5b7, 0x0811, 0x0100, 0x0100,
2432+
"ZhuHai JieLi Technology",
2433+
"JieLi BR21",
2434+
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2435+
US_FL_IGNORE_DEVICE),
2436+
24262437
/* Reported by Andrew Simmons <[email protected]> */
24272438
UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
24282439
"DataStor",

0 commit comments

Comments
 (0)