Installing custom driver (make error)
I'm trying to install this custom driver (https://github.com/svpcom/rtl8812eu) to use my steam deck as a ground station for fpv.
As dkms is not installed by deafulted i tried to use make but get the following error.
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.13.5-102.bazzite.fc41.x86_64/build M=/var/home/USER/Downloads/rtl8812eu modules
make[1]: Entering directory '/usr/src/kernels/6.13.5-102.bazzite.fc41.x86_64'
make[2]: Entering directory '/var/home/USER/Downloads/rtl8812eu'
CC [M] core/rtw_cmd.o
core/rtw_cmd.c:17:10: fatal error: drv_types.h: No such file or directory
17 | #include <drv_types.h>
| ^~~~~
compilation terminated.
make[4]: [/usr/src/kernels/6.13.5-102.bazzite.fc41.x86_64/scripts/Makefile.build:196: core/rtw_cmd.o] Error 1
make[3]: [/usr/src/kernels/6.13.5-102.bazzite.fc41.x86_64/Makefile:2024: .] Error 2
make[2]: [/usr/src/kernels/6.13.5-102.bazzite.fc41.x86_64/Makefile:263: __sub-make] Error 2
make[2]: Leaving directory '/var/home/USER/Downloads/rtl8812eu'
make[1]: [Makefile:263: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernels/6.13.5-102.bazzite.fc41.x86_64'
make: *** [Makefile:2600: modules] Error 2
GitHub
GitHub - svpcom/rtl8812eu: Linux Driver for WiFi Adapters that are ...
Linux Driver for WiFi Adapters that are based on the RTL8812EU and RTL8822EU Chipsets with packet injection patch- v5.15.0.1 - svpcom/rtl8812eu
2 Replies
Dkms can't work in an atomic system
You would have to convert this to an AK mod and then either create a custom image that installs it, or build the module for every kernel release that you plan to use and manually load it
So basiically i just should not even try as I don't know how to convert it to an AK mod, right?
Just dual boot with something like ubuntu