BTW, this is a big deal. I've already had over a dozen microcontroller students with this problem that upgraded to Ubuntu 22.04 LTS and could no longer program their Arduinos.
It also affects any amateur radio operators using FTDI USB to Serial adapters and I've had several of them call me when their adapters no longer worked after upgrading to Ubuntu 22.04 LTS. I filed a bug on brltty and the FTDI chips: Bug #1972030 -- 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: 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 -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

