I would not recommend changing the module name, as only the in-tree kernel modules have the rtl prefix, but if you really, really want to create problems later, for no good reason ...
$ diff Makefile ../rtl8812au/Makefile
369c369
< MODULE_NAME = rtl8812au
---
> MODULE_NAME = 8812au
391,393c391,393
< hal/$(RTL871X)/$(HCI_NAME)/$(MODULE_NAME)_led.o \
< hal/$(RTL871X)/$(HCI_NAME)/$(MODULE_NAME)_xmit.o \
< hal/$(RTL871X)/$(HCI_NAME)/$(MODULE_NAME)_recv.o
---
> hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
> hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
> hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o
Needless to say I will not be making those changes any time soon. There is no real requirement to 'find all rtl drivers', as they are loaded on demand in any case.
Pinned Comments
zebulon commented on 2019-10-01 06:19 (UTC) (edited on 2025-02-12 07:25 (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.