[Bug 1970408] Re: brltty package disconnecting ttyUSB0 used for Arduino
Henrik Östman
1970408 at bugs.launchpad.net
Wed Jul 6 17:09:25 UTC 2022
*** This bug is a duplicate of bug 1958224 ***
https://bugs.launchpad.net/bugs/1958224
I develop using ESP32-devices on Plattform.io, once I upgradeed to Ubuntu 22.04 serialport communication over USB stopped working. The problem was as reported, and I can confirm that the forcing of brltty to a non-existing device does work for me.
```
braille-device usb:0000:0000
```
I hope there will be a official patch available.
--
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/1970408
Title:
brltty package disconnecting ttyUSB0 used for Arduino
Status in brltty package in Ubuntu:
Confirmed
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
More information about the foundations-bugs
mailing list