From nobody Wed Sep 07 23:55:48 2022 X-Original-To: dev-commits-src-main@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 4MNJzm6gNpz4bTT5; Wed, 7 Sep 2022 23:55:48 +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 4MNJzm4rDYz3kJH; Wed, 7 Sep 2022 23:55:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662594948; 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=x7paa7tZsS26niHKloUkZdAl/YVrIkI8qe0wpL3Svls=; b=Cymo3OnihE6CgGuaAFFyaBFcYWs48rSbU8lSzwS8lxApr2n8IdjCF3h0m4tYuWwQ3nJu/M abARD07Agj0yg4lp4VvJFtfZLbTk+1t+guAz4LmkIcqAWAnPL+MlPL/sQdc7HhkXoV0TPG DRP04J3hGKG2WFrjehN7HCx3hAHO0D67TXP3NPC+nVE3PVSesK5qGhpFxRQ83AKhjJgnRx IxVc70+0GXU5k56FqLKHW1DrIRptA3NyUB+9E5G8eoR46cG4JX+EnB3BP0+S7XysQwkaTW zIsxiub2G39kjRhQgSh4cSCNopmj6S3itNi80I3yNVaU7yQYYh6Mzs6pEPGrkQ== 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 4MNJzm3y50zhX6; Wed, 7 Sep 2022 23:55:48 +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 287Ntm5p054756; Wed, 7 Sep 2022 23:55:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287NtmGD054755; Wed, 7 Sep 2022 23:55:48 GMT (envelope-from git) Date: Wed, 7 Sep 2022 23:55:48 GMT Message-Id: <202209072355.287NtmGD054755@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: b3b6a959c85a - main - USB: add 2 (3) more device IDs for rtw88-usb devices and a quirk List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: b3b6a959c85af3aabbde3ef2b80dbd4bf5b6f5a7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662594948; 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=x7paa7tZsS26niHKloUkZdAl/YVrIkI8qe0wpL3Svls=; b=Zuq+yx6Oj2WsiVT2zGKHfDArM63n9Jjuj+No9WN8G0Hk03eIiwIuiskd8Oe0BxI/jA9Wgd 9Z+IoDXH/HExvpHrqPWbHvsdjwpbgYihpmpRCWkR9MFH3hWA2tKiRD5pqf4qD6btk9r0Jd p3fJsWCtla2k5SoeSp/0yF9+0AYWx8hJDTyoIIudOEQYXOlbrP7IVqzHRyv7rYruhBo94s 3PGztW9d659NfoiE1d5ABalYOkT+LW/BVAIuorU3eA5HhrItCqAXWuSqrI4DkQ46me8ySs WrraGbscbVS+wRmdX5pw7gJHMq1qds2GpBPioA35NSDVcJC1cmYsGJf1GM28oA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662594948; a=rsa-sha256; cv=none; b=V1fzNTXMNgv7QDEOccJrXAyz54EoLe9kqbj6LigYKwWgSKufTTcFhUqjqmIumbL+SLmkhp O6kNjI2dlXsWtQQCbJ9lGNp3e5LvAT8jJ01LkCv65ayd96iLckE7nZn8D/X/iFb+s+rhI2 npPVoSLLMZdGiCNopygO+v+dhTXaPfwqGCIeVaH5pLEA3t7JSdDmPFHhM61umscoaPzX8V oUP70HyCjVmEyLf4Mgl79nD4H+mR+5FKk3eo2LIC/LR81qdzJJ6VnJDgT2JGVBnpYSHzZZ bVGdH6EpzDpHGnBpDd/lJenGXW4Rg/DDLbhjGOTRKVqxCwa5s17kBO7/ViZI0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=b3b6a959c85af3aabbde3ef2b80dbd4bf5b6f5a7 commit b3b6a959c85af3aabbde3ef2b80dbd4bf5b6f5a7 Author: Bjoern A. Zeeb AuthorDate: 2022-09-07 23:48:59 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-09-07 23:48:59 +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. MFC after: 2 weeks While here sort some other Realtek entries by DeviceID. --- 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 60baed81863d..856cd3c006f9 100644 --- a/sys/dev/usb/quirk/usb_quirk.c +++ b/sys/dev/usb/quirk/usb_quirk.c @@ -578,6 +578,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 437d8a7e4218..70540fe6540b 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 @@ -4028,6 +4029,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 @@ -4059,11 +4061,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