Revision as of 12:15, 26 June 2014 by Craig Peacock (Talk | contribs)

TP-Link Archer T4U AC1200 Wireless Dual Band USB Adapter Linux Drivers

Internal Photos of the [TP-Link Archer T4U] Wireless Adapter lodged with the [FCC] shows this device consists of a RealTek RTL8812au Chipset.

The T4U has an USB Vendor ID (VID) of 0x2357 and Product ID (PID) of 0x101.

To date, the mainline Linux Kernel does not support this device, hence drivers need to be compiled manually.

One source for the drivers is Anand Babu (AB) Periasamy's git repository. Chone the source:

git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux/

TP-Link T4U's USB VID and PID has not yet been included. Edit op_dep/linux/usb_intf.c and add the following line to the bottom of the CONFIG_RTL8812A #ifdef section.

	{USB_DEVICE(0x2357, 0x0101),.driver_info = RTL8812}, /* TP-Link - T4U */

Now you are ready to make and install the driver:

make
sudo make install

At this stage, plugging in a T4U dongle should be detected and the appropriate driver loaded:

[   57.083756] usb 1-1: new high-speed USB device number 2 using ehci-pci
[   57.292224] usb 1-1: New USB device found, idVendor=2357, idProduct=0101
[   57.292231] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   57.292234] usb 1-1: Product: 802.11n NIC
[   57.292236] usb 1-1: Manufacturer: Realtek
[   57.292238] usb 1-1: SerialNumber: 123456
[   57.337273] cfg80211: Calling CRDA to update world regulatory domain
[   57.486501] 8812au: module verification failed: signature and/or  required key missing - tainting kernel
[   57.507475] cfg80211: World regulatory domain updated:
[   57.507480] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   57.507482] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   57.507485] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   57.507487] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   57.507488] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   57.507490] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   61.711265] usbcore: registered new interface driver rtl8812au