From nobody Sun Nov 26 04:07:48 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SdFYd0GNxz52k8C; Sun, 26 Nov 2023 04:07:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SdFYc4gLwz3FMQ; Sun, 26 Nov 2023 04:07:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700971668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EIlbwSCknvUAnPSgLbzusj8BVjBcNM9rjg9tQ0ooLQQ=; b=rfjq43bo2akvRJRtO8Zj15pL9zubEapkP+kQ16JXd54psF/bezSsN6ROLw5o+mvQH7atYA Nv1I0/PTylov77szgFZejZvkmn5R9TUVJMeeg/VCGXexnSWQplryLLsNDunoSgoL0OzhEa eN1DrEOe2+JQW/kSFvWo2TRACaGO+FIVEJYmURYmbh1+ZewKSp7LnT2jIpm1/7aK9K+dAl WnZEI2gLi/Atrow1+RtIFjZA8+oR7J+zqO1H1wXcu8czjiin4Z4X1FAct1PhCoNN/pbXMh zu92KowFIt2BAq3tF/HEaqs5tq2HQDDxAFc/f2wvhnelgyB4JWGf9fmDGPgG5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700971668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EIlbwSCknvUAnPSgLbzusj8BVjBcNM9rjg9tQ0ooLQQ=; b=e9jqep1o9zCKwW912w2EAlJGWJ5QYJI/P6ob9Y9wjtYQAzsmdG4BvlirHlVqGB5//wuife h8U+XzvCYr7/eTtXqElY8Flvo2dPTnnVY+QKUxXphhk8iLvnvCbuWNFzAZzlCRNSTPlVBx IO5xSsqlngLPk1qq5gww/PyuQ2lPcARdyuz9Su8a1FNygFzfyzmK2Ul3nRkxDjK73fyeHs IJo3bDt2Qt1LqZWIojpzvd9AVx5kjrvawhTsJ47XI+jLIpBQwtde0g4Pnj4PwuofUrZGXp Hwl8aoXdtC+lf0NZJrcmim3dNTIwRwpd4AzSdM2cwZDTkhtN4c8QS7d3BHlzBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700971668; a=rsa-sha256; cv=none; b=NEJgNSVlb2v1MUj1Ps5wt3AzhaJnJV7kbUoz22FiAv7eXUQg4V86YUzL0o0ib3EmEV40wM P8iz0FhwROeZesZUbyX+Sujc8MGfb2FGyJj3ZqaSvKcBf/9CBxpdOx4VyyNdtERml9raU0 tKhv45eDC+TRaiEX2QRL5/8jGZ40BW0LWZ1qDaLSyWDY46PKvJ8fWPAirStq361FJ1jbt+ Zy+Ay1nJgUgn+s8+tavJPT5v1U8sdyvOjfrgNgkQLcZ8seYV+YbIqE6olvCDkLKbsYTf/a /u5lu2T79ZZH2EWaASn9jdC4O9QGrjzWg6p/d456a5Pdh4duIvlJu2H21ujGVw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SdFYc3n8xzgYL; Sun, 26 Nov 2023 04:07:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AQ47m8L028383; Sun, 26 Nov 2023 04:07:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AQ47mt8028380; Sun, 26 Nov 2023 04:07:48 GMT (envelope-from git) Date: Sun, 26 Nov 2023 04:07:48 GMT Message-Id: <202311260407.3AQ47mt8028380@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: 6c22e9fa0c0f - stable/14 - usb: add necessary quirks for the NOREL Systems NS1081 SD reader List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 6c22e9fa0c0f9f5b2052b493e4b64205695a0045 Auto-Submitted: auto-generated The branch stable/14 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=6c22e9fa0c0f9f5b2052b493e4b64205695a0045 commit 6c22e9fa0c0f9f5b2052b493e4b64205695a0045 Author: Mazin Fadl AuthorDate: 2023-10-11 03:12:22 +0000 Commit: Kyle Evans CommitDate: 2023-11-26 04:07:11 +0000 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) --- sys/dev/usb/quirk/usb_quirk.c | 2 ++ sys/dev/usb/usbdevs | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index 84ad6398ffca..bf2de35a149e 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -357,6 +357,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 72eb001d3508..6543f0cbaa29 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 @@ -3503,6 +3504,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