I am working with an Arduino Uno clone that uses the CH340G USB to TTL converter in lieu of the 16U2 found on the Uno. I see that most tutorials suggest downloading the CH340G drivers from what they call 'a chinese website'. I don't quite trust that site, is there any more trustworthy website where one might be able to acquire CH340G drivers for a modern Linux distro (preferably CentOS or Debian).
For High Sierra. Run the package installer for CH340 V1.4 and reboot. Check with your Arduino IDE, the result is no serial port for your Nano. Go to Preferences/Security Pane, you will see that your Mac is blocking content being uploaded. Unlock with your password and Click 'Allow'. Sep 17, 2019 For High Sierra. Run the package installer for CH340 V1.4 and reboot. Check with your Arduino IDE, the result is no serial port for your Nano. Go to Preferences/Security Pane, you will see that your Mac is blocking content being uploaded. Unlock with your password and Click 'Allow'.
I ask here because devices withthat chipseemto bepopularin theArduinocommunity. If the unix stackexchange site would be a better place to ask then the question can be moved. Thank you.
EDIT: Apparently my system is having an issue with recognizing the device. Here are some specs:
My entire dmesg file can be found on pastebin, here is the end of it:
Community♦
dotancohendotancohen
2 Answers
Linux doesn't need drivers (indeed, the whole concept is pretty alien to Linux users).
The CH340G is fully supported by the default kernel in all distros I have ever used. On my Ubuntu machine the CH340G on my NodeMCU is detected automatically:
Nothing to download, nothing to install, nothing to risk the security of your system with.
'Linux doesn't need drivers (indeed, the whole concept is pretty alien to Linux users).'
I feel alienated, however this information is incorrect. I have at least two Ubuntu machines that did not recognize the CH340g chip. One is Linux Mint 18.2 32bit the other is a Linux Mint 19 64bit. I used the 'driver' that I downloaded from the site in question and guess what? It is the exact same driver that NodeMCU uses. For those that want or need to download the driver, but don't want to visit a 'suspicious site' just go here nodemcu-dev and you will find three flavors: Linux, MAC and Windows. Strange that they have an MIT license for their own software.
For Linux, just extract the archive CH341SER_LINUX.ZIP, then open a terminal in the directory and use make && sudo make then load the module ahem.. driver with (may need to use sudo) insmod /{path-to-your-extracted-folder}/ch34x.ko or reboot.
Now, I am not arguing whether or not Linux comes with the module, because I see two (one for each kernel) on just one of my systems located at /lib/modules/{x.x.x-xx}-generic/kernel/drivers/usb/serial/ch341.ko, however the one that is needed comes from the Chinese site in question that happens to be the same place where NodeMCU got theirs (or possibly some other site) for it to be recognized.
Also, I don't get how someone can buy Chinese products (or from anywhere else) and be afraid to visit their site.
Ch340 Driver Mac 10.6
AlienatedAndConflictedAlienatedAndConflicted
Arduino Nano Ch340 Usb Driver
Not the answer you're looking for? Browse other questions tagged ch340 or ask your own question.