Bug 234029 - Add USB device support for TP-Link Archer T4UH ver.1
Summary: Add USB device support for TP-Link Archer T4UH ver.1
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: 12.0-STABLE
Hardware: amd64 Any
: --- Affects Some People
Assignee: Andriy Voskoboinyk
URL:
Keywords: feature
Depends on:
Blocks:
 
Reported: 2018-12-15 00:36 UTC by hakotani000
Modified: 2018-12-19 23:45 UTC (History)
1 user (show)

See Also:
avos: mfc-stable12+
avos: mfc-stable11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hakotani000 2018-12-15 00:36:09 UTC
[PATCH] TP-Link Archer T4UH ver.1

Only add  idProduct  0x0103

more usbdevs.patch 
--- /sys/dev/usb/usbdevs        2018-12-15 09:13:43.243094000 +0900
+++ /sys/dev/usb/usbdevs.new    2018-12-14 19:11:14.335656000 +0900
@@ -4610,6 +4610,7 @@
 product TPLINK WN822NV4                0x0108  TL-WN822N v4
 product TPLINK WN823NV2                0x0109  TL-WN823N v2
 product TPLINK T4UV2           0x010d  Archer T4U ver 2
+product TPLINK T4UHV1          0x0103  Archer T4UH ver 1
 product TPLINK T4UHV2          0x010e  Archer T4UH ver 2
 product TPLINK RTL8153         0x0601  RTL8153 USB 10/100/1000 LAN
 
more rtwn_usb_attach.h.patch 
--- /sys/dev/rtwn/usb/rtwn_usb_attach.h 2018-12-15 09:13:43.263495000 +0900
+++ /sys/dev/rtwn/usb/rtwn_usb_attach.h.new     2018-12-14 19:13:13.934004000 +0900
@@ -139,6 +139,7 @@
        RTWN_RTL8812AU_DEV(SITECOMEU,           WLA7100),
        RTWN_RTL8812AU_DEV(TPLINK,              T4U),
        RTWN_RTL8812AU_DEV(TPLINK,              T4UV2),
+       RTWN_RTL8812AU_DEV(TPLINK,              T4UHV1),
        RTWN_RTL8812AU_DEV(TPLINK,              T4UHV2),
        RTWN_RTL8812AU_DEV(TRENDNET,            TEW805UB),
        RTWN_RTL8812AU_DEV(ZYXEL,               NWD6605),
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-15 14:59:34 UTC
A commit references this bug:

Author: avos
Date: Sat Dec 15 14:58:46 UTC 2018
New revision: 342124
URL: https://svnweb.freebsd.org/changeset/base/342124

Log:
  Add new USB id in rtwn_usb(4) (RTL8812AU)

  PR:		234029
  Submitted by:	<hakotani000@gmail.com>
  MFC after:	4 days

Changes:
  head/sys/dev/rtwn/usb/rtwn_usb_attach.h
  head/sys/dev/usb/usbdevs
Comment 2 hakotani000 2018-12-16 09:19:08 UTC
This patch make stable12.
Thanks.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2018-12-17 09:15:37 UTC
(In reply to hakotani000 from comment #2)

Does stable/11 not contain support for this device (after this patch is added) ?
Comment 4 Andriy Voskoboinyk freebsd_committer freebsd_triage 2018-12-17 10:56:03 UTC
Nope, RTL8812AU support was added only in base r307529 (and it was not merged to 11-stable).
Comment 5 commit-hook freebsd_committer freebsd_triage 2018-12-19 02:23:59 UTC
A commit references this bug:

Author: avos
Date: Wed Dec 19 02:23:52 UTC 2018
New revision: 342209
URL: https://svnweb.freebsd.org/changeset/base/342209

Log:
  MFC r342124:
  Add new USB id in rtwn_usb(4) (RTL8812AU)

  PR:		234029
  Submitted by:	<hakotani000@gmail.com>

Changes:
_U  stable/12/
  stable/12/sys/dev/rtwn/usb/rtwn_usb_attach.h
  stable/12/sys/dev/usb/usbdevs
Comment 6 Andriy Voskoboinyk freebsd_committer freebsd_triage 2018-12-19 02:26:13 UTC
Committed, thanks!
Comment 7 hakotani000 2018-12-19 23:45:58 UTC
Committed, thanks!