Package Details: rtl8821au-dkms-git 5.1.5.r59.gb863326-2

Git Clone URL: (read-only)
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: 31
Popularity: 2.905855
First Submitted: 2017-09-12 06:28
Last Updated: 2017-09-15 20:53

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

pan-mroku commented on 2017-09-27 14:30

@zebulon: Yes, there is, but it's more like official Arch repo with built packages. Not like AUR with PKGBUILDs. When I find some time I'll propose a working PKGBUILD and we'll see what's next. Thanks :)

zebulon commented on 2017-09-19 14:36

@pan-mroku: there is also for Archlinux on ARM. I think this would be a better place to put ARM PKGBUILDs. I had a look at PKGBUILDs there, and saw some use arch=('armv7h'), but some did not update arch. I have no experience with it so would not be able to advise. I know that the main Archlinux site is for x86_64 and i686 (with the latter one being deprecated soon).
However, you would need to have ARCH=arm in dkms.conf MAKE, as seen in Then it would work without further work.

pan-mroku commented on 2017-09-19 14:05

@zebulon: "Arch officially supports only i686 and x86_64, but projects like Arch Linux ARM provide support for other architectures such as arm for armv5, armv6h for armv6 hardfloat, armv7h for armv7 hardfloat, and aarch64 for armv8 64bit." ( I must have mistaken armv7h with armv7l. Sorry for that :( I used arch=('any') but that probably is a rather dirty solution.
There also exists package but it depends on linux-raspberrypi-headers making it usable only on Raspberry Pi. It uses arch=('armv7h')

zebulon commented on 2017-09-19 12:45

@pan-mroku: is arm one of the architectures we can add to the arch=() variable in the PKGBUILD? Because if it is the case we can add it. However this would need to be taken into account in the dkms.conf file, I suppose, because this is where the make is done (the PKGBUILD does not compile anything, it only packs the driver sources for dkms). Are there examples of arm architecture support (and when using dkms)?

pan-mroku commented on 2017-09-19 08:55

I managed to build it on armv7l (D-Link DWA-171, cubieboard1, Arch ARM). Apart from arch mismatch in PKGBUILD, DKMS was failing to install module because KERNELVER was armv7l. Building it with "ARCH=arm" (instead of ARCH=armv7l) did the trick.
How can I help to introduce changes so the package installs without the handwork?

zebulon commented on 2017-09-14 19:55

I have just pushed a new revision with missing makedepends. Thanks to all for reporting the issue.

zebulon commented on 2017-09-14 12:01

@Koonboi: you are right, rtl8812au_8821au_linux-dkms-git is the last one of the original rtl88xxau AURs to be patched for kernel v4.12. The Realtek driver is ancient though (4.3.14), even older than the latest of the 4.3 series. So unless there is a very good reason to keep it (and then it should be renamed to be consistent with the current naming), it is better to switch to 5.1.5 for rtl8821au.

Svenstaro commented on 2017-09-13 10:34

I merged other packages into this one.

Koonboi commented on 2017-09-13 07:31

This is another package that has been more recently updated, and compiles still.

zebulon commented on 2017-09-05 20:38

To 8821au owners: latest driver version is 5.1.5, whereas it has been updated to 5.2.9 for 8812au. Unfortunately Realtek do not (always) provide unified drivers for their chipsets, hence the new 5.2.9 driver misses the HAL code for 8821au. Therefore I have created this AUR package, which provides the 5.1.5 driver. Note that this driver also works for 8812au users, but it is advised to use the 5.2.9 available here:

Note also that although I can test compilation, I cannot guarantee it will always work and be properly updated due to the fact I do not own a 8821au chipset-based adapter.

All comments