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: 48
Popularity: 0.048878
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) (edited on 2025-02-12 07:26 (UTC) by zebulon)

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

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

1 2 3 4 5 6 .. 15 Next › Last »

cyqsimon commented on 2025-06-20 12:24 (UTC)

Didn't build for kernel 6.15.2.

DKMS (dkms-3.2.1) make.log for 8821au/5.12.5.2.r247.gb90b76d for kernel 6.15.2-arch1-1 (x86_64)

Building module(s)
# command: 'make' -j12 KVER=6.15.2-arch1-1 KSRC=/lib/modules/6.15.2-arch1-1/build
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.15.2-arch1-1/build M=/var/lib/dkms/8821au/5.12.5.2.r247.gb90b76d/build  modules
make[1]: Entering directory '/usr/lib/modules/6.15.2-arch1-1/build'
make[2]: Entering directory '/var/lib/dkms/8821au/5.12.5.2.r247.gb90b76d/build'
  CC [M]  core/rtw_cmd.o
  CC [M]  core/rtw_security.o
  CC [M]  core/rtw_debug.o
  CC [M]  core/rtw_io.o
  CC [M]  core/rtw_ioctl_query.o
  CC [M]  core/rtw_ioctl_set.o
  CC [M]  core/rtw_ieee80211.o
core/rtw_cmd.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
core/rtw_security.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_cmd.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_security.o] Error 1
  CC [M]  core/rtw_mlme.o
core/rtw_debug.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
core/rtw_io.c:47:10: fatal error: drv_types.h: No such file or directory
   47 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_debug.o] Error 1
core/rtw_ioctl_query.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_io.o] Error 1
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_ioctl_query.o] Error 1
core/rtw_ioctl_set.c:17:10: fatal error: drv_types.h: No such file or directory
   17 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
core/rtw_ieee80211.c:20:10: fatal error: drv_types.h: No such file or directory
   20 | #include <drv_types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_ieee80211.o] Error 1
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_ioctl_set.o] Error 1
core/rtw_mlme.c:17:10: fatal error: hal_data.h: No such file or directory
   17 | #include <hal_data.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: core/rtw_mlme.o] Error 1
make[3]: *** [/usr/lib/modules/6.15.2-arch1-1/build/Makefile:2003: .] Error 2
make[2]: *** [/usr/lib/modules/6.15.2-arch1-1/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/8821au/5.12.5.2.r247.gb90b76d/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.15.2-arch1-1/build'
make: *** [Makefile:2505: modules] Error 2

# exit code: 2
# elapsed time: 00:00:00
----------------------------------------------------------------

I believe this is a distinct issue from the one reported for 6.13?

stas-t commented on 2025-02-05 09:49 (UTC)

@zebulon: thank you, rebuilding fixed it for linux 6.13.1!

zebulon commented on 2025-02-05 09:22 (UTC)

Upstream Git repository has fixes for 6.13. Please reinstall the package, as it needs no PKGBUILD syntax update.

zebulon commented on 2025-02-05 09:21 (UTC)

Yes indeed kernel 6.13 broke many of the rtl drivers, including the rtl8814au-aircrack-dkms-git version. Please be patient until we find a fix.

stas-t commented on 2025-02-03 15:53 (UTC)

Just wanted to inform that after upgrade to linux 6.13.1.arch1-1 dkms build fails:

os_dep/linux/ioctl_cfg80211.c:10523:32: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_chan_def *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct cfg80211_chan_def *)’ [-Wincompatible-pointer-types]
10523 |         .set_monitor_channel = cfg80211_rtw_set_monitor_channel,
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
os_dep/linux/ioctl_cfg80211.c:10523:32: note: (near initialization for ‘rtw_cfg80211_ops.set_monitor_channel’)

For linux-lts 6.12.12-1 the build worked fine so I temporarily switched to lts kernel.

I'm wondering: is it possible to get my 0bda:a811 device working with new rtw88 driver?

zebulon commented on 2024-09-18 15:58 (UTC) (edited on 2024-09-18 16:02 (UTC) by zebulon)

@concatenate: do you need 8812 or 8821 ? This is 8821au only. Now if the aircrack driver does not work too, it is unfortunately a problem difficult to solve, due to the fact these drivers are half open, half proprietary. EDIT: Alfa docs for your adapter are here: https://docs.alfa.com.tw/Support/Linux/RTL8811AU/ and indeed they mention 8812au, 8821au, aircrack but the title of the page says 8811au ! I know that Alfa is usually Linux friendly, have you tried to contact them? They also bring you to https://linux-hardware.org/index.php?id=usb:0bda-0811 and unfortunately it seems it is marked as "FAILED" for many systems.

concatenate commented on 2024-09-07 00:57 (UTC)

I am currently on 6.6.49-1-lts kernel and I'm using the Alfa AWUS036ACS AC600 USB Wireless Adapter and WikiDevi says that this adapter uses the rtl8812au driver. I have tried literally almost every driver with no success. The LED turns on but the driver somehow messes with the kernel and hangs my PC. I can't use wireshark on the interface. I have tried rtl88xxau-aircrack-dkms-git and along with rtl8821au from morrownr from GitHub and it still does not work well (crashes and unresponsive). I believe the driver is not updated to the latest kernel and it's breaking something in the background. If anyone has an updated driver or a workaround to get it working, please let me know. I am devastated. :/

ttsiodras commented on 2023-11-19 15:44 (UTC)

Downloading the latest snapshot, and building from the current master (7305e07) results in a working rtl8821au-dkms-git-5.12.5.2.r216.g7305e07 that properly builds with DKMS during kernel updates (currently at 6.6.1-arch1-1).

kell2648 commented on 2023-07-27 02:29 (UTC)

@zebulon This just broke on my system too. Happened fairly recently, but couldn't tell you the exact kernel update that put the kibosh on it. I'm currently on 6.4.6-arch1-1 but it might've been an update or 2 prior. Not sure if there's been any updates since your last post so bump for visibility. I'll buy new hardware if I need to, but the USB dongle I was using wasn't all that old really. Thank you!

zebulon commented on 2023-02-23 00:51 (UTC)

@tag_enk: unfortunately it seems that this driver has not been yet updated to linux kernel version 6. This driver starts to be outdated and you may have better result with https://aur.archlinux.org/packages/rtl88xxau-aircrack-dkms-git.