Skip to content

brltty silently blocks CH340 USB driver under Linux Mint 20/21 #1788

Closed as not planned
@s0170071

Description

@s0170071

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 :

  1. 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.
  2. Normally, the driver just needs to be downloaded, compiled and added to the system:
  3. 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

Metadata

Metadata

Assignees

Labels

conclusion: invalidIssue/PR not validtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions