Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter

License

Notifications You must be signed in to change notification settings

omegacoleman/rtl8812AU_8821AU_linux

Repository files navigation

rtl8812au

Realtek 8812AU/8821AU USB WiFi driver.

for AC1200 (801.11ac) Wireless Dual-Band USB Adapter

Updates for newer kernels & compilers

A few modifications and updates were made to support newer kernels and compilers. Personally I run a latest fedora box and will do my best to support the latest kernel and gcc compiler.

I forked this code from https://github.com/abperiasamy/rtl8812AU_8821AU_linux

The information below is provided as-is and may be outdated.

Known Supported Devices:

* COMFAST 1200Mbps USB Wireless Adapter(Model: CF-912AC)
* TP-LINK AC1200 Wireless Dual Band USB Adapter(Model: Archer-T4U)
* TP-LINK AC600 Wireless Dual Band USB Adapter(Model: Archer-T2U Nano)

Compiling with DKMS

# sudo make -f Makefile.dkms install

Compiling for NVidia Jeston Nano

# CONFIG_PLATFORM_ARM_JET_NANO = y

Compiling for Raspberry Pi (3)

Install kernel headers and other dependencies.

# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv raspberrypi-kernel-headers dkms build-essential bc

Install kernel headers: https://github.com/notro/rpi-source/wiki

sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/local/bin/rpi-source && sudo chmod +x /usr/local/bin/rpi-source && /usr/local/bin/rpi-source -q --tag-update
rpi-source

Edit Makefile and turn on CONFIG_PLATFORM_ARM_RPI, turn off CONFIG_PLATFORM_I386_PC

CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
# cd /usr/src/rtl8812au
# sudo make clean
# sudo make -j4
# sudo make install
# sudo modprobe -a rtl8812au

Compiling for Ubuntu (16.04) and Debian (9)

Install kernel headers

# sudo apt install linux-headers-$(uname -r)

Compile and install from source

# cd /path/to/rtl8812AU_8821AU_linux
# make
# sudo make install

Load module

# sudo modprobe -a rtl8812au

Cross-compiling.

You can now specify variables on the command line w/out editing makefile. For instance, this builds against recent OpenWRT neo2 platform. Your Cross-compile binaries should be in your PATH.

KSRC=/home/greearb/git/openwrt-neo2-dev/build_dir/target-aarch64_cortex-a53_musl/linux-sunxi_cortexa53/linux-4.14.78 \
EXT_EXTRA_CFLAGS=-DCONFIG_LITTLE_ENDIAN \
ARCH=arm64 \
CROSS_COMPILE=aarch64-openwrt-linux- \
MODDESTDIR=/tmp \
make V=1

Setup DKMS

# sudo apt-get update
# sudo apt-get install dkms
# cd /path/to/rtl8812AU_8821AU_linux
# sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
# sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
# sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
# sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0

Contributors

  • 赵迤晨 (Zhao, Yichen)
  • Adrian Puente Z
  • alberto1a
  • Alejandro Rodríguez
  • Alexander Traud
  • Anand Babu (AB) Periasamy
  • Andreas Hofmann
  • Andrew Mann
  • Andrew Plummer
  • AndyPi
  • Anton
  • archshift
  • Ben Greear
  • bits3rpent
  • Brandon Pfeifer
  • BS
  • C.\ Andy\ Martin
  • Chen Minqiang
  • choryuidentify
  • codarrenvelvindron
  • Coleman
  • cybersn-tdeyarmin
  • Daiki Tamada
  • Daniel Keogh
  • Fjodor42
  • gremsto
  • Guy Taylor
  • HackDefendr
  • Harshavardhana
  • hschletz
  • IeM
  • jAlex
  • James Zhao
  • Jesper Skov
  • jjones-jr
  • Joe
  • Joe Acosta
  • John Lenz
  • Jos Dehaes
  • Julian Oes
  • Karl-Philipp Richter
  • Kondratev Pavel
  • Marco Milanesi
  • masa23
  • Masayuki Yamamoto
  • Mauro Ribeiro
  • Maximilian Schwerin
  • MJaoune
  • mpoly
  • Nicholas George
  • Nick Bartos
  • Paul DeCarlo
  • Peter H. Li
  • pgroenbech
  • Piotr
  • rafaelpierri
  • Remax
  • Rujak Ironhammer
  • Saikrishna Arcot
  • sarlacii
  • scrivy
  • sleicasper
  • Stig Palmquist
  • Taehan Stott
  • thejavascriptman
  • Timothy Pearson
  • Vicent Llongo
  • Victor Azizi
  • xyzz
  • youcai

About

rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages