Hi! I have same you problem. but now I can use ttyUSB0 in arduino
normaly.

slove:

1. run cmd. lsusb

(cmd)$  sudo lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Bus 001 Device 003: ID 15ca:00c3 Textech International Ltd. Mini Optical Mouse
Bus 001 Device 002: ID 05c8:0379 Cheng Uei Precision Industry Co., Ltd 
(Foxlink) HP Truevision HD
Bus 001 Device 009: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 001: ID 1d6b:1234 Linux Foundation 2.0 root hub

2. looking for ID (in my case I focus in "Linux Foundation 2.0 root hub" it ID 
1d6b:1234
3. edit file /etc/brltty.conf 
4. in line 109 of brltty.conf  unremak and put ID in usb:xxxxx:xxxxx ex.
   braille-device usb:1d6b:1234  # Specific USB device by serial number. 
5. save file and then restart

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

Title:
  brltty package disconnecting ttyUSB0 used for Arduino

Status in brltty package in Ubuntu:
  New

Bug description:
  Hello

  I connected an ESP8266 microcontroller to my pc to use with Arduino.
  However, the interface didn't appears to list ttyUSB0. Upon inspection
  with dmesg, I noticed that the device is recognised but then brltty
  appears to disconnect it.

  [Tue Apr 26 19:09:35 2022] usb 1-8: New USB device found, idVendor=10c4, 
idProduct=ea60, bcdDevice= 1.00
  [Tue Apr 26 19:09:35 2022] usb 1-8: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
  [Tue Apr 26 19:09:35 2022] usb 1-8: Product: CP2102 USB to UART Bridge 
Controller
  [Tue Apr 26 19:09:35 2022] usb 1-8: Manufacturer: Silicon Labs
  [Tue Apr 26 19:09:35 2022] usb 1-8: SerialNumber: 0001
  [Tue Apr 26 19:09:35 2022] cp210x 1-8:1.0: cp210x converter detected
  [Tue Apr 26 19:09:35 2022] usb 1-8: cp210x converter now attached to ttyUSB0
  [Tue Apr 26 19:09:38 2022] usb 1-8: usbfs: interface 0 claimed by cp210x 
while 'brltty' sets config #1
  [Tue Apr 26 19:09:38 2022] cp210x ttyUSB0: cp210x converter now disconnected 
from ttyUSB0
  [Tue Apr 26 19:09:38 2022] cp210x 1-8:1.0: device disconnected

  This also appears to have happended to other people:
  https://stackoverflow.com/questions/52143723/usb-serial-loses-
  connection-immediately-in-new-linux-kernel-4-12-14

  Once the brltty package is removed, the USB device mounts fine and
  Arduino find it (same dmesg as above, without the last 3 lines).

  I'm actually not sure why this package is installed as I deleted it
  without having to remove ubuntu-desktop.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: brltty (not installed)
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Apr 26 19:15:04 2022
  InstallationDate: Installed on 2022-04-06 (20 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  SourcePackage: brltty
  UpgradeStatus: Upgraded to jammy on 2022-04-18 (8 days ago)

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to