aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMazin Fadl <mazen@illumed.net>2023-10-11 03:12:22 +0000
committerKyle Evans <kevans@FreeBSD.org>2023-11-26 04:07:16 +0000
commitd0e771e2fd23ca65024ee3026584a020057c166b (patch)
tree75ddbea5381148f7d3ba3c7c1514e5abc3ea6502
parent5330fb235ae6db376bc4ee09f8270f88c27256ca (diff)
downloadsrc-d0e771e2fd23ca65024ee3026584a020057c166b.tar.gz
src-d0e771e2fd23ca65024ee3026584a020057c166b.zip
usb: add necessary quirks for the NOREL Systems NS1081 SD reader
Without these, the Norelsys NS1081 is completely defunct. PR: 263868 Fixes: 7520b88860d7a79 ("usb(4): Automagically apply all quirks [...]") (cherry picked from commit b332adfa96218148dfbb936a9c09d00484c868e3)
-rw-r--r--sys/dev/usb/quirk/usb_quirk.c2
-rw-r--r--sys/dev/usb/usbdevs4
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c
index 42083d6d74bd..284f5add72c1 100644
--- a/sys/dev/usb/quirk/usb_quirk.c
+++ b/sys/dev/usb/quirk/usb_quirk.c
@@ -355,6 +355,8 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = {
USB_QUIRK(NETCHIP, POCKETBOOK, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE),
USB_QUIRK(NIKON, D300, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
UQ_MSC_FORCE_PROTO_SCSI),
+ USB_QUIRK(NORELSYS, NS1081, 0x0000, 0xffff, UQ_MSC_NO_RS_CLEAR_UA,
+ UQ_MSC_NO_INQUIRY),
USB_QUIRK(OLYMPUS, C1, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_WRONG_CSWSIG),
USB_QUIRK(OLYMPUS, C700, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN),
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index 3eda1dd71be1..0f817109367f 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -776,6 +776,7 @@ vendor ARDUINO 0x2341 Arduino SA
vendor TPLINK 0x2357 TP-Link
vendor WESTMOUNTAIN 0x2405 West Mountain Radio
vendor TRIPPLITE 0x2478 Tripp-Lite
+vendor NORELSYS 0x2537 NOREL Systems Ltd.
vendor TENDA2 0x2604 Tenda
vendor HIROSE 0x2631 Hirose Electric
vendor NHJ 0x2770 NHJ
@@ -3501,6 +3502,9 @@ product NOVATECH RTL8188CU 0x9071 RTL8188CU
product NOKIA N958GB 0x0070 Nokia N95 8GBc
product NOKIA2 CA42 0x1234 CA-42 cable
+/* NOREL Systems Ltd. products */
+product NORELSYS NS1081 0x1081 NS1081 USB 3.0 Flash Card Reader
+
/* Novatel Wireless products */
product NOVATEL V640 0x1100 Merlin V620
product NOVATEL CDMA_MODEM 0x1110 Novatel Wireless Merlin CDMA