Important: In kernel version 5.5, the speed handling if fixed. You can see the commit log here. Thus if you're running kernel 5.5 or later please use the default ch341.ko module.
Install required packages
sudo apt install dkms
Build and install module
sudo dkms build .
sudo dkms install ch340/1.0.0
Blacklist the "wrong" driver. Open blacklist.conf (may not exist).
sudo nano /etc/modprobe.d/dkms.conf
Add the following line:
blacklist ch341
- Initial release