Difference between revisions of "WeMOS: Install Driver CH340 di Ubuntu 22.04"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 12: | Line 12: | ||
find . -name *.ko | xargs gzip | find . -name *.ko | xargs gzip | ||
sudo cp ch34x.ko.gz /usr/lib/modules/$(uname -r)/kernel/drivers/usb/serial | 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 | ||
+ | |||
Revision as of 18:09, 24 February 2023
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