You are not logged in.
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.18.7-zen1-1-zen/build M=/home/laichiaheng/rtl8852bu modules
make[1]: Entering directory '/usr/lib/modules/6.18.7-zen1-1-zen/build'
make[2]: Entering directory '/home/laichiaheng/rtl8852bu'
CC [M] platform/platform_ops.o
platform/platform_ops.c:15:10: fatal error: drv_types.h: No such file or directory
15 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.18.7-zen1-1-zen/build/scripts/Makefile.build:287: platform/platform_ops.o] Error 1
make[3]: *** [/usr/lib/modules/6.18.7-zen1-1-zen/build/Makefile:2008: .] Error 2
make[2]: *** [/usr/lib/modules/6.18.7-zen1-1-zen/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/laichiaheng/rtl8852bu'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.18.7-zen1-1-zen/build'
make: *** [Makefile:738: modules] Error 2I'm trying to make the USB wifi/bluetooth work, but I can't build the driver.
Kernel: 6.18.7-zen1-1-zen
Last edited by laichiaheng (2026-01-29 12:22:36)
Offline
Hi,
Does the in-kernel rtw88 not work for you? That is the preferred option for rtl8852bu.
Otherwise, what out of tree module are you trying to build? is it an AUR package, some git repository you found or something else?
This is probably the most up-to-date variant of that out-of-tree module: https://github.com/morrownr/rtl8852bu-20250826
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thanks, I successfully to build the driver with AUR, although it can read my WIFI, it still can't connect to it.
The product is tp-link AX900(Archer TX10UB Nano)
Offline
First, what is the output of lsusb?
According to https://wikidevi.wi-cat.ru/Rtw89 this chip might be support by the in-kernel driver, and it seems to be available in linux-zen:
usr/lib/modules/6.18.7-zen1-1-zen/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8851bu.ko.zst
https://github.com/torvalds/linux/commi … c66dad7368
The blueooth part should also be supported by default in since 6.17: https://github.com/torvalds/linux/commi … a7dc4623f5
Then, what did you install for networking?
systemctl list-units --type=service --state=running What is the output of dmesg while you try to connect? Run the following in a second terminal:
dmesg -wThe rtl8852bu in the AUR is outdated as far as I can see. Which package did you install exactly?
I suggest you try this one instead, it is the one the kernel ships but with additional changes that are not in the kernel yet: https://aur.archlinux.org/packages/rtw89-dkms-git
and if that doesn't work, I can help you create a PKGBUILD for https://github.com/morrownr/rtl8852bu-20250826
Last edited by progandy (2026-01-31 10:22:13)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline