From nobody Wed Sep 21 14:01:04 2022 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 4MXg7452y3z4cXqn; Wed, 21 Sep 2022 14:01:04 +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 4MXg7432lLz47RW; Wed, 21 Sep 2022 14:01:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663768864; 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=HwpowikA4sjRrThS7TKEN8NBVAIcU28RClRNGynN8/4=; b=Ns3IhftzBp7aSDEedmbGxEDnsfa/tMpP/Xa2KWSa3xL9b3yYtddCDz/ZRuSpjr7W5hKSUj yZb6LS9iCRPifEkNplgBkY6QbHSiW1/kChqyRCszBa0oSzGoHQ/F2IPQLZOAkXQaEDkuL6 PU24Ek8kzOuWdC8jK10PZMn/ABngPKiMgKeZVvx1yPdrNCZNLaf2NvgdfSnIIDCV95KHYD aEnGo5TZnIRAwmO3adTA+fFR7s6ENB4QZBrXD9YR6f9PmM3FcpWdxR0koMwqFtpPO461vL 25wZHxACD7eU5TF/iuSK2nE52twX0JYr+EklbXN8i1Sbyltg0O81o2armQCDQw== 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 4MXg7428Kfz14gq; Wed, 21 Sep 2022 14:01:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28LE14KR099552; Wed, 21 Sep 2022 14:01:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28LE14SX099551; Wed, 21 Sep 2022 14:01:04 GMT (envelope-from git) Date: Wed, 21 Sep 2022 14:01:04 GMT Message-Id: <202209211401.28LE14SX099551@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 226fef966a1f - stable/13 - USB: add 2 (3) more device IDs for rtw88-usb devices and a quirk 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 226fef966a1f234d871c199af77ca411f87d2389 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663768864; 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=HwpowikA4sjRrThS7TKEN8NBVAIcU28RClRNGynN8/4=; b=QqYjR5T5kqz564CiK0zfO0/1wZB+wGLB4ITn9OoF7BS8k38iteC/PGA3I2vUTNCKx/fdbj 22q16+Z8T1EQE3K5N5Cqoj6dOWdfkH1Aggzi3UTnBXFHECMLugKz/+kK9j4MyVtw+5Feas y4odt3S9XWf89lmDK84+sDjL3gDQGf5In4ld7tAOaWyb+Bdk22m5HF3I+gnyDkjKx8gnyy v9nivy9kQYPCres5lOjX+3hR2WZ7bEwiYUT/ZCOP134QLUS2WemNwrRBY9o7dQuILMLEFA uN4Znep81zWP0ANNCOWANeDvsNgef1NJs/zzZmYzkqjIK8i5ps5vVMVwFOKB9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663768864; a=rsa-sha256; cv=none; b=kKmVHhHvGQ+rLwRa4MPL3BFjKGRRCTAurhxpdooVQOSGdOur68CHIUf/hsWLUrVQ/bZ/gT DDROwSIYIgTRin/aeF+5Pgq64CKhZ3+xWrn5Erz78W7qhDuMNGXL2GHjpodUCWlnVDQ+KY q+CFeeWN6UlTFwNDYEGYNEfLBgNQ7tlhhGObU7IxEOB76wb9IiTW6iJ1u/N07epnAG8wLg 2qsNiNvyPxamJtY4rF6V4KiERYzPYaf0tV824wycdpjTQjryF170a2SmdSaPkNXkWBigIk z6cxnlLUgpHezCURtP/Jp6Y7zvH9QLDDA2/yvY/z7/mQCS3P2QpeFaUOdz9tTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=226fef966a1f234d871c199af77ca411f87d2389 commit 226fef966a1f234d871c199af77ca411f87d2389 Author: Bjoern A. Zeeb AuthorDate: 2022-09-07 23:48:59 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-09-21 11:39:18 +0000 USB: add 2 (3) more device IDs for rtw88-usb devices and a quirk Add DLink DWA-182 rev D1 and generic Realtek RTW8821CU entry found on a Tenda U10 USB WLAN Stick, AC 650 Mbps (and possibly more devices). The latter first presents itself as a CD device with Windows drivers (useless on FreeBSD) first so add a quirk for that we get the wireless device right away. While here sort some other Realtek entries by DeviceID. (cherry picked from commit b3b6a959c85af3aabbde3ef2b80dbd4bf5b6f5a7) --- sys/dev/usb/quirk/usb_quirk.c | 1 + sys/dev/usb/usbdevs | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c index d86ca5643515..82aa3a5baf7d 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -576,6 +576,7 @@ static struct usb_quirk_entry usb_quirks[USB_DEV_QUIRKS_MAX] = { UQ_MSC_NO_INQUIRY, UQ_CFG_INDEX_0), USB_QUIRK(SMART2, G2MEMKEY, 0x0000, 0xffff, UQ_MSC_NO_INQUIRY), USB_QUIRK(RALINK, RT_STOR, 0x0001, 0x0001, UQ_MSC_IGNORE), + USB_QUIRK(REALTEK, RTW8821CU_CD, 0x0001, 0x0001, UQ_MSC_IGNORE), /* Non-standard USB MIDI devices */ USB_QUIRK(ROLAND, UM1, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), USB_QUIRK(ROLAND, SC8850, 0x0000, 0xffff, UQ_AU_VENDOR_CLASS), diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index b3006dee88ab..91332a1e470c 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1729,6 +1729,7 @@ product DLINK DWA182C1 0x3315 DWA-182 rev C1 product DLINK DWA180A1 0x3316 DWA-180 rev A1 product DLINK DWA172A1 0x3318 DWA-172 rev A1 product DLINK DWA131E1 0x3319 DWA-131 rev E1 +product DLINK DWA182D1 0x331c DWA-182 rev D1 product DLINK DWL122 0x3700 DWL-122 product DLINK DWLG120 0x3701 DWL-G120 product DLINK DWL120F 0x3702 DWL-120 rev F @@ -4021,6 +4022,7 @@ product REALTEK USB20CRW 0x0158 USB20CRW Card Reader product REALTEK RTL8188ETV 0x0179 RTL8188ETV product REALTEK RTL8188CTV 0x018a RTL8188CTV product REALTEK RTL8821AU_2 0x0811 RTL8821AU +product REALTEK RTW8821CU_CD 0x1a2b RTW8821CU_CD product REALTEK RTL8188RU_2 0x317f RTL8188RU product REALTEK USBKR100 0x8150 USBKR100 USB Ethernet product REALTEK RTL8152 0x8152 RTL8152 USB Ethernet @@ -4052,11 +4054,12 @@ product REALTEK RTL8187B_2 0x8198 RTL8187B Wireless Adapter product REALTEK RTL8712 0x8712 RTL8712 product REALTEK RTL8713 0x8713 RTL8713 product REALTEK RTL8188CU_COMBO 0x8754 RTL8188CU +product REALTEK RTL8812AU_1 0x8812 RTL8812AU Wireless Adapter +product REALTEK RTL8812AU_2 0x881a RTL8812AU Wireless Adapter product REALTEK RTL8821AU_1 0xa811 RTL8821AU product REALTEK RTL8723BU 0xb720 RTL8723BU product REALTEK RTL8192SU 0xc512 RTL8192SU -product REALTEK RTL8812AU_1 0x8812 RTL8812AU Wireless Adapter -product REALTEK RTL8812AU_2 0x881a RTL8812AU Wireless Adapter +product REALTEK RTW8821CU 0xc811 RTW8821CU /* RedOctane products */ product REDOCTANE DUMMY 0x0000 Dummy product