Package Details: rtl8821au-dkms-git 5.1.5.r59.gaf07b27-1

Git Clone URL: (read-only, click to copy)
Package Base: rtl8821au-dkms-git
Description: rtl8821AU, rtl8812AU and rtl8811AU chipset driver with firmware v5.1.5
Upstream URL:
Licenses: GPL2
Conflicts: rtl8821au
Submitter: zebulon
Maintainer: zebulon
Last Packager: zebulon
Votes: 45
Popularity: 0.000001
First Submitted: 2017-09-12 06:28
Last Updated: 2018-04-03 08:35

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

zebulon commented on 2019-10-01 06:18

To all having an issue with this driver: please try alternatively.

solstice commented on 2019-03-17 10:59

a patch to make it work for rpi and may be other ARM device:

--- PKGBUILD.old    2019-03-15 20:08:05.345042676 +0100
+++ PKGBUILD    2019-03-15 20:04:24.390294977 +0100
@@ -32,4 +32,10 @@
         sed -e "s/@_PKGBASE@/${_pkgbase}-dkms/" \
                         -e "s/@PKGVER@/${pkgver}/" \
                         -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
+   # patch Makefile for RPI
+   sed -i '/^CONFIG_PLATFORM_I386_PC/s/y/n/' ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/Makefile
+   sed -i '/^CONFIG_PLATFORM_ARM_RPI/s/n/y/' ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/Makefile
+   # disable debug code with __DATE__ macro (TODO: proper fix ?)
+   sed -i '/__DATE__/s/^/\/\//' ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/core/rtw_debug.c

Note: I am seeing the interface of the usb wifi key marketed as DEEPOW dongle (from amazon) changing MAC address at every boot even though I have not set up anything like that in netctl, here.

I don't know if it's a hardware problem or driver problem. However, it's the same with rtl88xxau-aircrack-dkms-git driver

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 ... Next › Last »

zebulon commented on 2019-01-07 08:50

@t0m5k1: what is the name of your adapter? IDs are listed in os_dep/linux/usb_intf.c and I cannot find any 0xB812 device. That said, if your adapter is missing in the list, then it is a simple matter to add it.

@HiImTye: this is strange, the dkms.conf file used in Arch is not the one from the Github repo, but the one provided with this PKGBUILD snapshot. It has not been changed and I have not been made aware of a similar problem. Can you reproduce it, and could you please pastebin the exact dkms log file? Thanks.

t0m5k1 commented on 2019-01-06 18:40

Not compatible with 0bda:b812

Thought I'd point that out as a google search brought me here for the above ID.

HiImTye commented on 2019-01-05 05:09

compiles just fine now. threw an error on DKMS install (broken pipe), but seems to work just fine after reboot.

losko commented on 2019-01-03 09:23

@zebulon: dkms module now installs correctly, thanks.

zebulon commented on 2019-01-03 05:34

I just merged the patch for kernel 4.20, please let me know if that works.

archixx commented on 2019-01-02 19:06

Looks like for kernel 4.20.x there is a patch needed: Just tested it and it worked for me.

HiImTye commented on 2018-12-31 23:12

it builds with today's kernel 4.20.0 ARCH and zen, however, when installing the dkms module it returns the error

==> dkms install rtl8821au/5.1.5.r72.ga2bcd1b -k 4.20.0-arch1-1-ARCH Error! Bad return status for module build on kernel: 4.20.0-arch1-1-ARCH (x86_64) Consult /var/lib/dkms/rtl8821au/5.1.5.r72.ga2bcd1b/build/make.log for more information.

zebulon commented on 2018-11-14 15:42

@Terence: thanks for the info. That may mean that due to the excellent work from the aircrack-ng contributors and associates, we could have a unified 5.3.4 driver for rtl8812/14/21au. This would be so nice! I will check with my own 8812au device (but this may take a bit of time due to personal reasons). One other way would be to have a new PKGBUILD, e.g. rtl8812_14_21au-dkms-git but I am not fan of such naming scheme.

Terence commented on 2018-11-14 15:16

@zebulon I'm using the 5.3.4 branch of the aircrack-ng repo with no problem since a week.

zebulon commented on 2018-11-14 15:11

Today I received an out-of-date notification due to an issue with kernel 4.19, but now the flag has been removed. Was it an error? Anyway, I think this package should now be refreshed and possibly updated to the aircrack-ng rtl8812au repo, which contains the most up-to-date patches. That said, I wonder if I should stay on branch 5.1.5 or use the later one (5.2.xx or 5.3.4). Has anyone tried aircrack-ng repo by any chance? (I have no rtl8814au hardware to test this...)