You are not logged in.
Pages: 1
Hello everybody, this is my first post and i'm excited to be a part of this community.
To get straight to the point, i installed arch for the first time and i'm currently struggling with making my wlan usb card work. The chipset is RTL8188SU and the driver is RTL8192SU. I've found a driver on AUR, namely 8188eu-dkms-git. I've installed it, installed linux-headers and dkms also. Typing dkms status shows that the driver is added, but when i try to autoinstall it, it throws an error. The make.log contains this:
DKMS (dkms-3.2.1) make.log for 8188eu/5.2.2.4.r838.f42fc9c for kernel 6.15.2-arch1-1 (x86_64)
Tue Jun 24 07:51:50 PM CEST 2025
Building module(s)
# command: 'make' modules CONFIG_POWER_SAVING=n KVER=6.15.2-arch1-1 -j4
/bin/sh: line 1: bc: command not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.15.2-arch1-1/build M=/var/lib/dkms/8188eu/5.2.2.4.r838.f42fc9c/build modules
make[1]: Entering directory '/usr/lib/modules/6.15.2-arch1-1/build'
make[2]: Entering directory '/var/lib/dkms/8188eu/5.2.2.4.r838.f42fc9c/build'
/bin/sh: line 1: bc: command not found
CC [M] rtw_cmd.o
CC [M] rtw_security.o
CC [M] rtw_debug.o
CC [M] rtw_io.o
rtw_cmd.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: rtw_cmd.o] Error 1
make[4]: *** Waiting for unfinished jobs....
rtw_security.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: rtw_security.o] Error 1
rtw_debug.c:6:10: fatal error: drv_types.h: No such file or directory
6 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: rtw_debug.o] Error 1
rtw_io.c:27:10: fatal error: drv_types.h: No such file or directory
27 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/6.15.2-arch1-1/build/scripts/Makefile.build:203: rtw_io.o] Error 1
make[3]: *** [/usr/lib/modules/6.15.2-arch1-1/build/Makefile:2003: .] Error 2
make[2]: *** [/usr/lib/modules/6.15.2-arch1-1/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/8188eu/5.2.2.4.r838.f42fc9c/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.15.2-arch1-1/build'
make: *** [Makefile:418: modules] Error 2
# exit code: 2
# elapsed time: 00:00:01
----------------------------------------------------------------Could anybody point me in the right direction? I've checked that the file drv_types.h is in /var/lib/... and /usr/src/..., but the make program seems to be searching it in /var/lib/... and /usr/lib/.... Is this the right behavior or did i configured something wrong?
Offline
It looks like the error is
/bin/sh: line 1: bc: command not foundWhat happens if you type
which bcRlu: 222126
Offline
The output is
no bc in (/usr/local/sbin:/ust/local/bin:/usr/bin:/ust/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)Last edited by kaptur (2025-06-24 19:34:44)
Offline
https://aur.archlinux.org/account/2YgxWwR4
The rtl8xxxu module doesn't work for you? You do have linux-firmware-realtek installed?
Edit: https://archlinux.org/packages/extra/x86_64/bc/ but still see the discussion on the aur page.
Last edited by seth (2025-06-24 19:37:25)
Offline
I installed bc and the command not found error is gone, i have the linux-firmware-realtek package installed, the usb card is shown in lsusb btw.
If i run sudo dkms autoinstall it says
Failed command: 'make' modules CONFIG_POWER_SAVING=n KVER=6.15.2-arch1-1 -j4Last edited by kaptur (2025-06-24 20:11:55)
Offline
Is it shown in "ip l"?
Does rtl8xxxu load?
Offline
The adapter isn't shown in ip l, i loaded rtl8xxxu with modprobe, but it still doesn't work
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stDoes the dkms module build against the LTS kernel as suggested in the AUR comments?
Offline
It's late and i will continue tomorrow ![]()
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stDoes the dkms module build against the LTS kernel as suggested in the AUR comments?
https://0x0.st/8l2M.txt
Should i install the LTS Kernel with headers and so on?
Offline
Should i install the LTS Kernel with headers and so on?
Right now that's your best shot - the rtl8xxxu module doesn't pick up the chip and apparently the OOT module doesn't build on 6.15 - which might end up being a problem because lwfinger deceased pretty much a year ago ![]()
Offline
Sorry to hear that. I will try to make it work.
Offline
All right, with lts kernel the driver decided to work, at least it shows up in ip link, but i still need to figure out how to connect to the net.
Edit: actually the 8188eu-dkms driver still doesn't work, but it loaded automatically r8712u from the core repository
Last edited by kaptur (2025-06-25 18:15:55)
Offline
r8712u from the core repository
Interesting, doesn't exist in the main kernel.
Can it operate the device?
ip lhttps://wiki.archlinux.org/title/Networ … n/Wireless
8188eu-dkms driver still doesn't work
"Doesn't work" or "doesn't build"?
Did you try the -git version?
dkms statusOffline
Interesting, doesn't exist in the main kernel.
Can it operate the device?
I think it's a module from the linux-firmware-realtek package, but i'd have to check home. When i booted with Linux lts the r8712u module loaded automatically, the WLAN adapter started flashing, it shows up when i type ip link, but i need to configure it as per your link. When i load and remove the r8712u module with modprobe the adapter is detected so the driver works.
"Doesn't work" or "doesn't build"?
Did you try the -git version?
It is the -git version from lwfinger, i forgot to add that. Dkms status says it's installed and i can load and remove it with modprobe no problem, but it doesn't "detect" the adapter (it doesn't show up on ip link and it doesn't flash).
So with the lts kernel the core repo driver loads automatically and works with the adapter, the 8188eu-dkms-git driver can be installed and loaded into the kernel, but it doesn't work with the adapter. Now i will try to configure the adapter with the core driver.
Offline
https://www.phoronix.com/news/Linux-6.13-Staging
r8712u was deliberately removed from 6.13 (and not moved out of staging) …
https://linux-hardware.org/?id=usb:0bda-8171
https://aur.archlinux.org/packages/rtl8192du-git
Despite the comments in the AUR, Larry actually patched the driver last year…
Offline
I tried to makepkg the rtl8192du-git source files, but it depends on Linux 5.3, do i guess it is outdated. I tried also to work with the r8712u module that loads automatically, the adapter shows up in ip link and flashes, but when i type iw dev there are no devices. Any idea how would i go about that?
Offline
It's a usb dongle? Are you emotionally attached to it?
Realistically: for now use the LTS kernel, make sure the 8188eu-dkms-git modules shows up as "installed" for the lts kernel in "dkms status", blacklist r8712u, see whether 8188eu loads and adds your device to "ip l"
The restriction for rtl8192du-git is only in the orphaned PKGBUILD - upstream saw patches for 6.8 and might still build if you loosen the PKGBUILD requirements
Offline
Yes it's a dongle, i had it for like 10 years, but i'm not attached to it. I thought making it work would be a good way to learn how some of this stuff works as this is my first time on linux and somewhat tinkering with my computer. Anyway, thanks for the help, i'll try some more.
Offline
Pages: 1