LG WebOS USB Serial drivers for 4.4.84-404.glacier.10 kernel:
- ch341
- cp210x
Suitable for HyperSerialEsp8266 / HyperSerialEsp32.
While you can manually load these drivers with insmod
, people usually prefer to have them loaded automatically on each boot.
The following is an example of using the Homebrew Channel init system to load the ch341.ko
driver, assuming it is located in /home/root
:
cat >/home/root/insmod_serial.sh <<'__EOF__'
#!/bin/sh
insmod /home/root/ch341.ko
__EOF__
chmod +x /home/root/insmod_serial.sh
ln -s /home/root/insmod_serial.sh /var/lib/webosbrew/init.d/10-insmod_serial
If you are using a different driver, just replace ch341.ko
with its
filename.
This will create a script named /home/root/insmod_serial.sh
and a symbolic link to it in /var/lib/webosbrew/init.d
.
If you want to temporarily stop the module from being loaded, you can delete the link:
rm /var/lib/webosbrew/init.d/10-insmod_serial
To re-enable it, create the link again:
ln -s /home/root/insmod_serial.sh /var/lib/webosbrew/init.d/10-insmod_serial