Description
Describe the problem
There is a misleading flaw with the CH340 driver under Linux. It causes the USB based boards such as Wemos D1 mini to not show up in the ports list.
There is a lot of tips around, such as :
- Since Linux Mint version 20.3 the CH340 driver is not included in the kernel (version >5.3). Using a n older kernel version fixes this.
- Normally, the driver just needs to be downloaded, compiled and added to the system:
- If the system is in UEFI mode, the driver needs to be signed.
I faintly remember that I could do 1. and 2. for non UEFI versions of Linux Mint, but I did not try 3. as it is too much of a hassle for me. However, I just discovered a fourth solution.
According to this source the driver is included in the kernel after all, but apparently gets blocked by a braille display driver.
Workaround (confirmed): uninstall brltty with sudo apt-get remove brltty
and you're good to go.
To reproduce
Use a out-of-the-box Linux mint and try to get a CH340 based board programmed.
Expected behavior
I would expect the IDE to to check for this brltty flaw as this has been around for quite some time noẃ and is tricky to find.
Arduino IDE version
2.0.3
Operating system
Linux
Operating system version
Linux Mint 21
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details