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

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 15 Next › Last »

tramapoline commented on 2017-08-02 09:21 (UTC)

Wworks for my arch t4uh :). Would be worth looking into getting this in the AUR maybe...

Twinklebreeze commented on 2017-07-31 23:07 (UTC)

I might have a look into that. Hopefully this one recognizes my adapter.

Throne3d commented on 2017-07-31 20:32 (UTC)

It looks like there's a more actively updated git repo (not an AUR package) here: https://github.com/abperiasamy/rtl8812AU_8821AU_linux This might have already been found but if so I'm not sure anyone's properly mentioned it. (There's a comment mentioning the repo but only briefly.) It states it's based off the "4.3.14" version of the driver, so it might be missing some things, but the last update to the repo was about 15 hours ago as of this reply.

Twinklebreeze commented on 2017-07-31 17:28 (UTC)

I wish I knew more about driver development. I think this project needs forked and actively maintained. I switched to lts, but that only delays the inevitable.

tramapoline commented on 2017-07-30 12:25 (UTC) (edited on 2017-07-31 10:21 (UTC) by tramapoline)

Kernel 4.12.3-1 broke this for me - I #include-ed linux/signal.h and linux/sched/signal.h in osdep_service.h, and applied the 4.11.x patch, but that still hasn't worked, and there looks to be something seriously wrong. can anyone help / is anyone working on this?

ArchExplorer commented on 2017-07-09 09:56 (UTC)

Hi There is a fix for kernel 4.9.11: https://github.com/Grawp/rtl8812au_rtl8821au/pull/46 But it's not merged yet. Hope it gets merged soon. I did apply from hand :-)

rollenwiese commented on 2017-07-08 03:06 (UTC) (edited on 2017-07-08 03:07 (UTC) by rollenwiese)

To get my TP-Link Archer T4U working: git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git cd rtl8812AU_8821AU_linux wget https://patch-diff.githubusercontent.com/raw/abperiasamy/rtl8812AU_8821AU_linux/pull/217.patch patch -p1 < 217.patch followed the compilation instructions in the repo

Twinklebreeze commented on 2017-07-07 17:12 (UTC)

Anyone else having trouble compiling in kernel 4.11.9-1? /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_add_monitor_if’: /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/os_dep/linux/ioctl_cfg80211.c:3952:12: error: ‘struct net_device’ has no member named ‘destructor’; did you mean ‘priv_destructor’? mon_ndev->destructor = rtw_ndev_destructor; ^~~~~~~~~~ priv_destructor make[2]: *** [scripts/Makefile.build:295: /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/os_dep/linux/ioctl_cfg80211.o] Error 1 make[1]: *** [Makefile:1492: _module_/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build] Error 2 make[1]: Leaving directory '/usr/lib/modules/4.11.9-1-ARCH/build' make: *** [Makefile:1670: modules] Error 2

Kpunkt commented on 2017-06-13 18:13 (UTC)

I'm using the linked fix on an Edimax EW-7811UAC on a 5GHz network and the connection has been and continues to be superb. It's almost like having a wired one.

xlaits commented on 2017-06-03 05:04 (UTC)

I'm using an NetGear A6100 AC600, and I cannot seem to get this to work. Like, at all. I'm having the same issues as Madoka, but I'll post them just for some prosperity/possible differences. [ 4731.503548] RTL871X: nolinked power save enter [ 4736.820502] RTL871X: nolinked power save leave [ 4741.096547] RTL871X: rtw_set_802_11_connect(wlp0s19f2u3) fw_state=0x00000008 [ 4741.191735] RTL871X: start auth [ 4741.194591] RTL871X: auth success, start assoc [ 4741.290004] RTL871X: rtw_cfg80211_indicate_connect(wlp0s19f2u3) BSS not found !! [ 4741.290042] RTL871X: assoc success [ 4741.328207] RTL871X: recv eapol packet [ 4741.328598] RTL871X: send eapol packet [ 4742.699605] RTL871X: rtw_aes_decrypt(wlp0s19f2u3) no_gkey_bc_cnt:1, no_gkey_mc_cnt:0 [ 4744.156717] RTL871X: rtw_aes_decrypt(wlp0s19f2u3) no_gkey_bc_cnt:3, no_gkey_mc_cnt:0 [ 4744.335438] RTL871X: recv eapol packet [ 4744.335756] RTL871X: send eapol packet [ 4745.284263] RTL871X: rtw_aes_decrypt(wlp0s19f2u3) no_gkey_bc_cnt:1, no_gkey_mc_cnt:0 [ 4747.339544] RTL871X: recv eapol packet [ 4747.339822] RTL871X: send eapol packet [ 4748.650247] RTL871X: rtw_aes_decrypt(wlp0s19f2u3) no_gkey_bc_cnt:1, no_gkey_mc_cnt:0 [ 4750.343650] RTL871X: recv eapol packet [ 4750.343916] RTL871X: send eapol packet [ 4752.728635] RTL871X: nolinked power save enter [ 4753.229186] RTL871X: nolinked power save leave