Package Details: rtl8821au-dkms-git 5.8.2.3.r75.ga02117b-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.8.2.3
Upstream URL: https://github.com/morrownr/8821au
Licenses: GPL2
Conflicts: 8821au
Submitter: zebulon
Maintainer: zebulon
Last Packager: zebulon
Votes: 46
Popularity: 0.62
First Submitted: 2017-09-12 06:28
Last Updated: 2021-06-09 20:38

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 ... 3 4 5 6 7 8 9 10 11 12 13 Next › Last »

ArchExplorer commented on 2017-07-09 09:56

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

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

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

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

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

Madoka commented on 2017-05-29 18:41

Thank you for the fix. But, this module still has issues with connectivity for me. Seems to be worse with 4.11 kernel. Constant loss of connection. The following messages are displayed with dmesg when the problem occurs, and repeats several times. Hardware is TP-Link Archer T4U V1.

[ 49.420518] RTL871X: assoc success
[ 49.458614] RTL871X: recv eapol packet
[ 49.458753] RTL871X: send eapol packet
[ 49.465821] RTL871X: recv eapol packet
[ 49.465852] RTL871X: send eapol packet
[ 90.176517] RTL871X: rtw_set_802_11_connect(wlp0s20u2) fw_state=0x00000009
[ 90.295905] RTL871X: start auth
[ 90.298101] RTL871X: auth success, start assoc
[ 90.300696] RTL871X: rtw_cfg80211_indicate_connect(wlp0s20u2) BSS not found !

NyanNyanKoneko commented on 2017-05-24 02:08

Okay, I fixed the issue. You can see the 4.11 kernel fix here: https://github.com/Grawp/rtl8812au_rtl8821au/pull/42/files

To get this to compile under 4.11, you need to edit /usr/src/rtl8812au_rtl8821au-[VERSION NUMBER HERE]/include/osdep_service_linux.h

Add this code around line 70:

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
#include <linux/signal.h>
#include <linux/sched/signal.h>
#endif

Then, rebuild DKMS modules with "# dkms autoinstall".

Until someone merges this code in the git repository, I guess 4.11 kernel users need to edit this in by hand.

NyanNyanKoneko commented on 2017-05-24 00:43

I am using the linux-lts kernel because the software package doesn't like the 4.11 kernels. Hopefully there will be an update soon.

Mayzie commented on 2017-05-22 09:16

Does not build against 4.11 kernels (particularly, 4.11.2-1-ck-ivybridge):

Error! Bad return status for module build on kernel: 4.11.2-1-ck-ivybridge (x86_64)
Consult /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/make.log for more information.

$ cat /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/make.log
DKMS make.log for rtl8812au_rtl8821au-4.3.20.r16.d716b38 for kernel 4.11.2-1-ck-ivybridge (x86_64)
Mon May 22 19:13:11 AEST 2017
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.11.2-1-ck-ivybridge/build M=/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build modules
make[1]: Entering directory '/usr/lib/modules/4.11.2-1-ck-ivybridge/build'
CC [M] /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/include/drv_types.h:32:0,
from /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending (current))
^~~~~~~~~~~~~~
/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:295: /var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1496: _module_/var/lib/dkms/rtl8812au_rtl8821au/4.3.20.r16.d716b38/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.11.2-1-ck-ivybridge/build'
make: *** [Makefile:1670: modules] Error 2

b0n commented on 2017-02-28 01:05

I cannot make this work with the ASUS USB-AC56 at all. It seems to randomly disconnect and reconnect for no reason at all. I have tried it on kernel 4.8 and 4.9


[ 342.445998] RTL871X: assoc success
[ 382.938960] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[ 397.885824] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1u1: link is not ready
[ 397.914982] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1u1: link is not ready
[ 400.221988] RTL871X: rtw_set_802_11_connect(wlp0s20u1u1) fw_state=0x00000008
[ 400.327121] RTL871X: start auth
[ 400.329991] RTL871X: auth success, start assoc
[ 400.344255] RTL871X: rtw_cfg80211_indicate_connect(wlp0s20u1u1) BSS not found !!
[ 400.344264] RTL871X: assoc success
[ 400.344347] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20u1u1: link becomes ready
[ 462.479517] RTL871X: linked_status_chk(wlp0s20u1u1) disconnect or roaming
[ 464.621752] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(181) in 2003 ms
[ 464.621754] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00791000 (0x00d61010, 0x00791000)
[ 466.864674] RTL871X: nolinked power save enter
[ 467.335425] RTL871X: nolinked power save leave
[ 469.579437] RTL871X: rtw_set_802_11_connect(wlp0s20u1u1) fw_state=0x00000008
[ 469.752283] RTL871X: start auth
[ 469.755615] RTL871X: auth success, start assoc
[ 469.769867] RTL871X: rtw_cfg80211_indicate_connect(wlp0s20u1u1) BSS not found !!
[ 469.769877] RTL871X: assoc success
[ 527.000691] RTL871X: linked_status_chk(wlp0s20u1u1) disconnect or roaming
[ 529.017949] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(182) in 2010 ms
[ 529.017952] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00791000 (0x00d61010, 0x00791000)
[ 533.286073] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(181) in 2006 ms
[ 533.286075] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00291000 (0x00d61010, 0x00291000)
[ 535.528520] RTL871X: There are some pkts to transmit
[ 535.528522] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 537.632542] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(181) in 2006 ms
[ 537.632545] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00051000 (0x00d61010, 0x00051000)
[ 539.872929] RTL871X: rtw_set_802_11_connect(wlp0s20u1u1) fw_state=0x00000008
[ 541.871757] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(181) in 2000 ms
[ 541.871759] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00051000 (0x00d61010, 0x00051000)
[ 544.114760] RTL871X: There are some pkts to transmit
[ 544.114762] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 546.212403] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(181) in 2000 ms
[ 546.212405] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00051000 (0x00d61010, 0x00051000)
[ 548.454664] RTL871X: There are some pkts to transmit
[ 548.454666] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 550.601286] RTL871X: There are some pkts to transmit
[ 550.601288] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 550.962308] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1u1: link is not ready
[ 551.000765] IPv6: ADDRCONF(NETDEV_UP): wlp0s20u1u1: link is not ready
[ 553.037536] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(180) in 2000 ms
[ 553.037539] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00051000 (0x00d61010, 0x00051000)
[ 555.287913] RTL871X: There are some pkts to transmit
[ 555.287915] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 557.427634] RTL871X: There are some pkts to transmit
[ 557.427636] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 559.560853] RTL871X: There are some pkts to transmit
[ 559.560855] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 561.694154] RTL871X: There are some pkts to transmit
[ 561.694156] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 563.827500] RTL871X: There are some pkts to transmit
[ 563.827503] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 565.960612] RTL871X: There are some pkts to transmit
[ 565.960615] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 568.093835] RTL871X: There are some pkts to transmit
[ 568.093837] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 570.227046] RTL871X: There are some pkts to transmit
[ 570.227048] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 572.360310] RTL871X: There are some pkts to transmit
[ 572.360312] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 575.941052] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)NOT empty(181) in 2003 ms
[ 575.941055] RTL871X: SetHwReg8812A:(HW_VAR_CHECK_TXBUF)0x200=0x00d61010, 0x204=0x00051000 (0x00d61010, 0x00051000)
[ 578.190109] RTL871X: There are some pkts to transmit
[ 578.190112] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 580.253541] RTL871X: There are some pkts to transmit
[ 580.253543] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 582.390076] RTL871X: There are some pkts to transmit
[ 582.390078] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 584.519923] RTL871X: There are some pkts to transmit
[ 584.519925] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 586.653191] RTL871X: There are some pkts to transmit
[ 586.653193] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 588.786496] RTL871X: There are some pkts to transmit
[ 588.786498] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 590.919737] RTL871X: There are some pkts to transmit
[ 590.919739] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0
[ 593.053282] RTL871X: There are some pkts to transmit
[ 593.053284] RTL871X: free_xmitbuf_cnt: 4, free_xmit_extbuf_cnt: 0