Add a CH34x serial driver - dcasota/photonos-scripts GitHub Wiki

First attempt to install a CH34x serial driver

tdnf distro-sync -y
tdnf install build-essential linux-api-headers linux-devel usbutils -y
mkdir /lib/modules/$(uname -r)/build
git clone https://github.com/juliagoda/CH341SER
cd CH341SER
make
ls ch34x.ko ¦ xargs gzip
cp ch34x.ko.gz /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial
cp ch34x.ko.gz /lib/modules/$(uname -r)/kernel/drivers/usb/serial
depmod -a
modprobe ch34x
lsmod
dmesg ¦ grep ch34
ls /dev/tty*
modinfo ch34x