diff mbox series

uas: Disable UAS driver for Realtek RTL9210 M.2 NVME Adapters

Message ID 20240117141132.1023457-1-bruno@clisp.org (mailing list archive)
State New
Headers show
Series uas: Disable UAS driver for Realtek RTL9210 M.2 NVME Adapters | expand

Commit Message

Bruno Haible Jan. 17, 2024, 2:11 p.m. UTC
Various products that make use of the Realtek RTL9210 M.2 NVME Adapter:
  - SilverStone TS16
  - Sabrent NVMe M.2 enclosure (Model EC-SNVE)
  - UnionSine Dual Protocol M2 NVMe to USB 3.1
malfunction when the UAS driver is used. At least for the
SilverStone TS16, it works fine when the usb-storage driver is used.

In my case, the SilverStone TS16 is identified by this output of
"lsusb -v":
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.20
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x9210 RTL9210 M.2 NVME Adapter
  bcdDevice           20.01
  iManufacturer           1 Realtek
  iProduct                2 USB 3.1 Storage Device
  iSerial                 3 221010010470

Signed-off-by: Bruno Haible <bruno@clisp.org>
Link: https://lore.kernel.org/linux-usb/2270283.o7ts2hSHzF@nimes/
---
 drivers/usb/storage/unusual_uas.h | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h
index 1f8c9b16a0fb..5287c7a446f1 100644
--- a/drivers/usb/storage/unusual_uas.h
+++ b/drivers/usb/storage/unusual_uas.h
@@ -83,6 +83,13 @@  UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
 		US_FL_NO_REPORT_LUNS),
 
+/* Reported-by: Bruno Haible <bruno@clisp.org> */
+UNUSUAL_DEV(0x0bda, 0x9210, 0x0000, 0x9999,
+		"Realtek",
+		"USB 3.1 Storage Device",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_IGNORE_UAS),
+
 /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
 		"Initio Corporation",