Bug ID: 218908
           Summary: Missing usbdevs for TP-Link WN-821N v5
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless

rtwn_usb(4) lists TL-WN821N v5 as a supported device but yesterdays -current
fails to recognise it due to a missing entry in usbdevs. With the following
patch I was able to use this device (FCC  ID: TE7WN821NV5) and a TP-Link
TL-WN722N v2 (FCC ID: TE7WN722NV2) after loading rtwn_usb and setting
legal.realtek.license_ack=1 as described in rtwnfw(4).

Kind regards,

Kai-Uwe Eckhardt

--- /usr/src/sys/dev/usb/usbdevs.orig   2017-04-26 12:01:35.568108000 +0200
+++ /usr/src/sys/dev/usb/usbdevs        2017-04-25 14:37:09.992247000 +0200
@@ -4526,8 +4526,10 @@

 /* TP-Link products */
 product TPLINK T4U             0x0101  Archer T4U
+product TPLINK WN821NV5                0x0107  TL-WN821N v5
 product TPLINK WN822NV4                0x0108  TL-WN822N v4
 product TPLINK WN823NV2                0x0109  TL-WN823N v2
+product TPLINK WN722NV2                0x010c  TL-WN722N v2

 /* Trek Technology products */
 product TREK THUMBDRIVE                0x1111  ThumbDrive
--- /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h.orig    2017-04-26
09:40:52.582554000 +0200
+++ /usr/src/sys/dev/rtwn/usb/rtwn_usb_attach.h 2017-04-26 09:46:56.057307000
@@ -109,6 +109,7 @@
        RTWN_RTL8192EU_DEV(REALTEK,             RTL8192EU),
        RTWN_RTL8192EU_DEV(TPLINK,              WN822NV4),
        RTWN_RTL8192EU_DEV(TPLINK,              WN823NV2),
+       RTWN_RTL8192EU_DEV(TPLINK,              WN821NV5),
 #undef RTWN_RTL8192EU_DEV

        /* RTL8188EU */
@@ -120,6 +121,7 @@
        RTWN_RTL8188EU_DEV(ELECOM,              WDC150SU2M),
        RTWN_RTL8188EU_DEV(REALTEK,             RTL8188ETV),
        RTWN_RTL8188EU_DEV(REALTEK,             RTL8188EU),
+       RTWN_RTL8188EU_DEV(TPLINK,              WN722NV2),
 #undef RTWN_RTL8188EU_DEV

        /* RTL8812AU */

You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to