Package Details: rtl8821au-dkms-git 5.12.5.2.r148.g0bfe654-1

Git Clone URL: https://aur.archlinux.org/rtl8821au-dkms-git.git (read-only, click to copy)
Package Base: rtl8821au-dkms-git
Description: rtl8821AU and rtl8811AU chipset driver with firmware v5.12.5.2
Upstream URL: https://github.com/morrownr/8821au-20210708
Licenses: GPL2
Conflicts: 8821au
Submitter: zebulon
Maintainer: zebulon
Last Packager: zebulon
Votes: 47
Popularity: 0.074335
First Submitted: 2017-09-12 06:28 (UTC)
Last Updated: 2022-09-02 13:23 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

zebulon commented on 2019-10-01 06:18 (UTC)

To all having an issue with this driver: please try https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git alternatively.

solsticedhiver commented on 2019-03-17 10:59 (UTC) (edited on 2019-03-17 21:10 (UTC) by solsticedhiver)

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 .. 15 Next › Last »

zebulon commented on 2019-01-07 08:50 (UTC) (edited on 2019-01-07 09:16 (UTC) by zebulon)

@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 (UTC)

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 (UTC)

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 (UTC)

@zebulon: dkms module now installs correctly, thanks.

zebulon commented on 2019-01-03 05:34 (UTC)

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

archixx commented on 2019-01-02 19:06 (UTC)

Looks like for kernel 4.20.x there is a patch needed: https://github.com/MilhouseVH/RTL8812AU/pull/1 Just tested it and it worked for me.

HiImTye commented on 2018-12-31 23:12 (UTC)

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.

https://justpaste.it/3r6m7

zebulon commented on 2018-11-14 15:42 (UTC)

@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 (UTC)

@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 (UTC)

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...)