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.87
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 »

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.

tag_enk commented on 2023-02-20 16:25 (UTC)

Fair warning: this package broke after updating to Linux-LTS 6.1.12-1

Attempted to rebuild DKMS and it would fail to rebuild. Had to roll back to 5.15.94-1-lts in order to get my wifi back.

Would hold off on the latest Linux-LTS kernel if you see this before updating.