Problem with arduino IDE and CH340

Hello.
I have been using arduino uno/nano clones for a long time that work with ch340.
After an update, my boards were not detected in the arduino ide.
After some research, I installed the AUR package ch34x-dkms-git which solved the problem for other people.
The installation ends without error message for my current kernel but there is no change on the situation in the ide.

The module does not start with the system, I have to modprobe it at each start.

sudo dmesg | grep ch34x give me

[  160.025005] usbcore: registered new interface driver ch34x
[  160.025031] usbserial: USB Serial support registered for ch34x
[  232.480134] usbserial: USB Serial deregistering driver ch34x
[  232.480175] usbcore: deregistering interface driver ch34x
[  467.878692] usbcore: registered new interface driver ch34x
[  467.878706] usbserial: USB Serial support registered for ch34x

Thank you in advance.

Did you only install driver or follow this tutorial?

That’s expected behavior if you didn’t add the module to /etc/modules-load.d/modules.conf

I install only the AUR package

I’ll do it, but it might make a difference in the behavior of the module?

No. Entry in this file == modprobe during boot.

Ok, thank you.
Do you have a solution to my problem?

Just look into this tutorial, check what you missed and do it.

1 Like

Before installing the aur package, I tried the tutorial, it did not work.