mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-10-19 17:11:09 +02:00
c33ddb05a77741d2a9c9b974ad0cf0fa26d17b6e
Previously when dkms is triggered by e.g. apt-get to build a 8812au for a non-running kernel, Makefile incorrectly uses the currently running kernel version via `uname -r`. This causes the "8812au: disagrees about version of symbol module_layout" error. This is fixed by providing the correct kernel version provided by dkms in the kernelver env var.
rtl8812AU_8821AU_linux
rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
Compiling with DKMS
# 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
Compiling for Raspberry Pi
Install kernel headers and other dependencies.
# sudo apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv dkms build-essential bc
Append following at the end of your /boot/config.txt
, reboot your Pi
kernel=vmlinuz-3.10-3-rpi
initramfs initrd.img-3.10-3-rpi followkernel
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_8821AU_linux
# sudo make clean
# sudo make
# sudo make install
# sudo modprobe -a 8812au
Contributors
- Anand Babu (AB) Periasamy
- Andreas Hofmann
- Andrew Mann
- AndyPi
- Anton
- archshift
- bits3rpent
- Chen Minqiang
- Daiki Tamada
- HackDefendr
- Harshavardhana
- Joe Acosta
- John Lenz
- Karl-Philipp Richter
- Marco Milanesi
- mpoly
- pgroenbech
- scrivy
- Vicent Llongo
- Victor Azizi
Languages
C
99.5%
Makefile
0.5%