Make does not find kernel header on Venus OS - please help!

I’m using a Raspberry 4 with Venus OS and need to integrate a USB driver for the CH348 chipset installed in a “Waveshare USB TO 8CH TTL”. The driver must be compiled for Venus OS. But with the existing package manager I can’t get a kernel header for the current version:

opkg install linux-headers-5.10.110-rpi-venus-4

This causes me to get the error message during compilation:

make -C /lib/modules/5.10.110-rpi-venus-4/build  M=/data/home/root/LINUX-2/driver  
make[1]: *** /lib/modules/5.10.110-rpi-venus-4/build: No such file or directory.  Stop.
make: *** [Makefile:7: default] Error 2

How can I install the current header for the 5.10.110-rpi-venus-4 or integrate a driver for the CH348 chipset into Venus OS ?

1 Like

Hello !

I’ve stumbled upon a similar problem: I’ve got the USB to TTL 8 channel board with the same chip : CH348, and I found out it needs to be cross-compiled then copy the compiled module and insert the driver module into kernel (insmod).
Did you already solved this problem ?

the driver is here: GitHub - WCHSoftGroup/ch9344ser_linux

ch9344 linux serial driver: This driver supports USB to quad serial ports chip ch9344 and USB to octal serial ports chip ch348.

Compile the driver using “make”, you will see the module “ch9344.ko” if successful

Type “sudo make load” or “sudo insmod ch9344.ko” to load the driver dynamically

Type “sudo make install” to make the driver work permanently

You can refer to the link below to acquire uart application, you can use gcc or Cross-compile with cross-gcc

also: How to Install CH340 Drivers - SparkFun Learn

Please, let me know if you had any success.

Hi, same situation for me, any help or a step by step would be appreciated as I am stuck! having never done this before!

Thanks.