WeMOS: Install Driver CH340 di Ubuntu 22.04

From OnnoWiki
Revision as of 18:09, 24 February 2023 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://0xsuk.github.io/posts/2022-07-19-how-to-install-ch340-on-ubuntu-22.04/

sudo su
cd /usr/local/src
git clone https://github.com/juliagoda/CH341SER.git
cd /usr/local/src/CH341SER
make
sudo make load

Load module

find . -name *.ko | xargs gzip
sudo cp ch34x.ko.gz /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial

Cek

lsmod | grep ch341


sudo rmmod ch341
sudo mv /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch341.ko.gz /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch341.ko.gz~
sudo depmod -a



Referensi