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

Git Clone URL: https://aur.archlinux.org/rtl8821au-dkms-git.git (read-only, click to copy)
Package Base: rtl8821au-dkms-git
Description: rtl8821AU, rtl8812AU and rtl8811AU chipset driver with firmware v5.1.5
Upstream URL: https://github.com/zebulon2/rtl8812au/tree/v5.1.5
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 https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git 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 9 10 ... Next › Last »

Twinklebreeze commented on 2017-12-03 23:05

This adapter is a pita. I'll never buy a wifi adapter without double checking linux compatibility.

capoeira commented on 2017-12-03 19:22

every other kernel it breaks now

Phate666 commented on 2017-12-03 17:54

Does not work for kernel 4.14

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 https://archlinuxarm.org/packages 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 https://github.com/lord2y/rtl8192eu-arm-linux-driver/blob/master/dkms.conf. 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." (https://wiki.archlinux.org/index.php/PKGBUILD#arch). 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 https://aur.archlinux.org/packages/rtl8812au-rpi-dkms-git/ 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.