Platformio won't detect usb ch340 USB-Serial converter on ESP8266

I ran into this issue on which my computer will detect the USB device but platformio won’t be able to detect it. To fix this I did:

sudo apt remove brltty

Then it worked, I’m on Ubuntu 20.04 LTS. Hope it helps!

2 Likes

Yes indeed! That worked, thank you.

I’m on Ubuntu 22.04.4 LTS. CH340 had been recognized until very recently. Then there was an update to Gnome. I’m not 100% sure but I think that is what caused it. There is no problem with other USB chips, CP210x, FTDI. All modules with CH340 stopped being recognized by udev, they even caused other devices to stop working.
Uninstalling brltty was the solution.