hello. artix xfce openrc. im tryed to install rtl8811 driver for usb wifi adapter, https://github.com/brektrou/rtl8821CU, i installed git, dkms, base-devel, bc, usb_modeswitch. but when i run sudo ./dkms-install.sh, i got this error:
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8821CU/5.4.1/source -> /usr/src/rtl8821CU-5.4.1
Sign command: /usr/lib/modules/6.6.9-artix1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Certificate or key are missing, generating self signed certificate for MOK...
Building module:
Cleaning build area...
'make' KVER=6.6.9-artix1-1........................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.9-artix1-1 (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.
Sign command: /usr/lib/modules/6.6.9-artix1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
'make' KVER=6.6.9-artix1-1........................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.9-artix1-1 (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.
Finished running dkms install steps.
then i tryed to reboot, and after that i can connect to the wireless network, but connection shut down after 15-30 sec. then after 15-30 sec too connection restored. then i tryed install driver with make, but i also got an error - "make: *** [Makefile:2217: modules] Error 2"
and i also tryed usb-modeswitch like it is written in the readme(https://github.com/brektrou/rtl8821CU), but i got an error again:
Access device 006 on bus 002
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
how i can install this driver?