CH340G USB/Serial converter stop communicating with Espressif esptool after upgrading kernel to 5.4.0-88-generic

Solution 1:

I have got the same kernel and the same issue.

I can program the chip using Windows on my dual boot portable, and I was able to program it from Ubuntu 19.04.

After the update no way to program it. The chip is recognized, and I can communicate with the serial interface, but non way to go in program mode.

Reverting the CH341 module to the one in kernel version 5.4.0-86, will also work.

Simply unload the module:

modprobe -r ch341

Rename the original:

mv /lib/modules/5.4.0-88-generic/kernel/drivers/usb/serial/ch341.ko /lib/modules/5.4.0-88-generic/kernel/drivers/usb/serial/ch341.ko.ori

and than get the one from the previous kernel (hope you still have it onboard)

cp /lib/modules/5.4.0-86-generic/kernel/drivers/usb/serial/ch341.ko /lib/modules/5.4.0-88-generic/kernel/drivers/usb/serial/ch341.ko

and finally:

modprobe ch341

Now you will be able to flash the chip.