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 !
Search Criteria
Package Details: rtl8821au-dkms-git 5.12.5.2.r148.g0bfe654-1
Package Actions
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) |
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 Next › Last »
Madoka commented on 2017-05-29 18:41 (UTC)
NyanNyanKoneko commented on 2017-05-24 02:08 (UTC)
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 (UTC)
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 (UTC)
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 (UTC)
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
Magotchi commented on 2017-02-03 16:39 (UTC) (edited on 2017-02-04 17:12 (UTC) by Magotchi)
In case anyone else has problems with their ASUS USB-AC56, it doesn't seem to support 5 GHz channels 52, 56, 60, and 64. At first I thought it was a driver regdomain problem, but I can't get it to work with those channels even on Windows with the latest driver from the ASUS website.
zebulon commented on 2016-10-21 12:36 (UTC)
@Grawp: many thanks for merging the patch. Now compiles for 4.8 and works fine.
Terence commented on 2016-10-18 05:55 (UTC)
@HotblackDesiato kernel >= 4.8 is no more compatible with the current driver version but pull requests to bring it back are awaiting to be validated.
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:
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