Bug 254280

Summary: [PATCH] Add USB product ID for Asus USB N10 Nano Rev. B1
Product: Base System Reporter: mickey242
Component: wirelessAssignee: Andriy Gapon <avg>
Status: Closed FIXED    
Severity: Affects Some People CC: grahamperrin, usb
Priority: ---    
Version: 12.2-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to add USB product ID for Asus USB N10 Nano Rev. B1 to if_rtwn_usb(4). none

Description mickey242 2021-03-14 15:21:27 UTC
Created attachment 223261 [details]
Patch to add USB product ID for Asus USB N10 Nano Rev. B1 to if_rtwn_usb(4).

Revision B1 of the Asus USB N10 Nano wireless adapter uses an RTL8188EUS chipset instead of the RTL8188CUS chipset used in the original version of the device and identifies itself using a different USB product ID (0x18f0). The if_rtwn_usb(4) driver does not know about this USB product ID and therefore does not recognize the device.

Attached patch adds the USB product ID of the Asus USB N10 Nano Rev. B1 to the list of devices recognized by the if_rtwn_usb(4) driver.
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2021-12-05 10:35:52 UTC
Thank you for the patch!
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-12-06 07:44:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=cd6f0b47692cb004b1e52a28cbd853f251b99c93

commit cd6f0b47692cb004b1e52a28cbd853f251b99c93
Author:     Andreas Wetzel <mickey242@gmx.net>
AuthorDate: 2021-12-06 07:21:38 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2021-12-06 07:43:26 +0000

    rtwn/usb: add product ID for Asus USB N10 Nano Rev. B1

    According to information found on the internet the following products
    use exactly the same hardware but probably different USB IDs:
    - Edimax EW-7811Un V2 (v2)
    - Edimax EW-7811GLN 2.0A (v2)
    I am not adding them as I cannot verify.

    PR:             254280
    MFC after:      1 week

 share/man/man4/rtwn_usb.4          | 1 +
 sys/dev/rtwn/usb/rtwn_usb_attach.h | 1 +
 sys/dev/usb/usbdevs                | 1 +
 3 files changed, 3 insertions(+)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-12-13 06:36:47 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=99e934e6f152eefa47bfae62db2ee0b439f137c0

commit 99e934e6f152eefa47bfae62db2ee0b439f137c0
Author:     Andreas Wetzel <mickey242@gmx.net>
AuthorDate: 2021-12-06 07:21:38 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2021-12-13 06:35:49 +0000

    rtwn/usb: add product ID for Asus USB N10 Nano Rev. B1

    According to information found on the internet the following products
    use exactly the same hardware but probably different USB IDs:
    - Edimax EW-7811Un V2 (v2)
    - Edimax EW-7811GLN 2.0A (v2)
    I am not adding them as I cannot verify.

    PR:             254280

    (cherry picked from commit cd6f0b47692cb004b1e52a28cbd853f251b99c93)

 share/man/man4/rtwn_usb.4          | 1 +
 sys/dev/rtwn/usb/rtwn_usb_attach.h | 1 +
 sys/dev/usb/usbdevs                | 1 +
 3 files changed, 3 insertions(+)
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-12-13 06:37:48 UTC
A commit in branch stable/12 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=de63ba95e38200b16b205da95af49dbdf4d1ea39

commit de63ba95e38200b16b205da95af49dbdf4d1ea39
Author:     Andreas Wetzel <mickey242@gmx.net>
AuthorDate: 2021-12-06 07:21:38 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2021-12-13 06:36:41 +0000

    rtwn/usb: add product ID for Asus USB N10 Nano Rev. B1

    According to information found on the internet the following products
    use exactly the same hardware but probably different USB IDs:
    - Edimax EW-7811Un V2 (v2)
    - Edimax EW-7811GLN 2.0A (v2)
    I am not adding them as I cannot verify.

    PR:             254280

    (cherry picked from commit cd6f0b47692cb004b1e52a28cbd853f251b99c93)

 share/man/man4/rtwn_usb.4          | 1 +
 sys/dev/rtwn/usb/rtwn_usb_attach.h | 1 +
 sys/dev/usb/usbdevs                | 1 +
 3 files changed, 3 insertions(+)