abperiasamy / rtl8812AU_8821AU_linux

rtl8812AU_8821AU linux kernel driver for AC1200 (801.11ac) Wireless Dual-Band USB Adapter
GNU General Public License v2.0
1.22k stars 433 forks source link

rtl8821AU for Raspberry Pi kernel 4.14.71+ and preempt-RT kernel #267

Open CarlosYeverino opened 5 years ago

CarlosYeverino commented 5 years ago

Hello all,

I execute the following in order to get the driver rtl8821AU working on a Raspberry Pi kernel 4.14.71+ :

$ sudo apt-get install git
$ git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
$ cd rtl8812AU_8821AU_linux

//Modify Makefile to have the follwing:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y

//Then execute:
$ sudo make clean
$ sudo make
$ sudo make install
$ sudo modprobe -a rtl8812au

And everything went well. However, when I tested the following I got a warning:

$ sudo modprobe -a rtl8821au
modprobe: WARNING: Module rt8821au not found in directory /lib/modules/4.14.71+

and when I check the drivers available on raspbian (with $sudo lsmod), only rtl8812au appears.

Does it mean that the driver rtl8821au was not installed?

Another question, if I implement the preempt-RT kernel patch on my current kernel, will the driver still work?

netskink commented 4 years ago

Hmm. I am trying to build the driver for rasberry pi. I did not modify the makefile as you have done. It does not build for me though.