[Bug 1990189] Re: brlttty claiming CH341 usbtty device blocking access

Julian Andres Klode 1990189 at bugs.launchpad.net
Thu Oct 26 10:02:57 UTC 2023


This has been fixed in mantic, and the following needs to be cherry-
picked to 22.04:

 # Device: 1A86:7523
+# Generic Identifier
+# Vendor: Jiangsu QinHeng, Ltd.
+# Product: CH341 USB Bridge Controller
 # Baum [NLS eReader Zoomax (20 cells)]
-ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"
+ENV{PRODUCT}=="1a86/7523/*", ATTRS{idVendor}=="1a40", ATTRS{idProduct}=="0101", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"

This bug is similar to bug 1958224.

** Changed in: brltty (Ubuntu)
       Status: Confirmed => Fix Released

** Also affects: brltty (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Tags added: rls-jj-incoming

** Changed in: brltty (Ubuntu)
   Importance: Low => High

** Changed in: brltty (Ubuntu Jammy)
   Importance: Undecided => High

** Changed in: brltty (Ubuntu Jammy)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to brltty in Ubuntu.
https://bugs.launchpad.net/bugs/1990189

Title:
  brlttty claiming CH341 usbtty device blocking access

Status in brltty package in Ubuntu:
  Fix Released
Status in brltty source package in Jammy:
  Triaged

Bug description:
  While this problem seems to have been fixed for FTDI and CP210 based
  devices CH340/CH341 based (and possibly other USB serial adapters) are
  unusable except by brltty.

  Workaround: disable brltty
  sudo systemctl stop brltty-udev.service
  sudo systemctl mask brltty-udev.service
  sudo systemctl stop brltty.service
  sudo systemctl disable brltty.service

  [139099.253351] usb 1-2.1.2: new full-speed USB device number 17 using xhci_hcd
  [139099.370766] usb 1-2.1.2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.63
  [139099.370777] usb 1-2.1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
  [139099.370782] usb 1-2.1.2: Product: USB2.0-Serial
  [139099.414885] ch341 1-2.1.2:1.0: ch341-uart converter detected
  [139099.429265] usb 1-2.1.2: ch341-uart converter now attached to ttyUSB0
  [139100.045076] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input24
  [139100.782817] usb 1-2.1.2: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
  [139100.786100] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
  [139100.786136] ch341 1-2.1.2:1.0: device disconnected
  [143917.740171] usb 1-2.1.2: USB disconnect, device number 17

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=22.04
  DISTRIB_CODENAME=jammy
  DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"

  ProblemType: BugDistroRelease: Ubuntu 22.04
  Package: brltty 6.4-4ubuntu3
  ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46
  Uname: Linux 5.15.0-47-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: MATE
  Date: Mon Sep 19 12:01:21 2022
  InstallationDate: Installed on 2022-08-23 (27 days ago)
  InstallationMedia: Ubuntu-MATE 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bashSourcePackage: brltty
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/1990189/+subscriptions




More information about the foundations-bugs mailing list