No ttyUSB0 on Ubuntu Studio 22.04

Hi

I just upgraded my laptop and Arduino does not appear in /dev/ttyUSB0. It does appear however in my desktop which is still running previous LTS Ubuntu. I noticed that in my desktop lsusb -t -v says that it is using ftdi_sio and in the laptop however it prints usbfs. I also noticed this in dmesg
ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0

The permissions are the same in both OSs as far as I can see.

Some info about my system. My Arduino is an old duemillanove with atmega 326. My OS is latest LTS Ubuntu Studio 22.04 running the kernel 5.15.0-27-lowlatency #28-Ubuntu SMP PREEMPT Tue Apr 19 15:27:08 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ groups
r2d2 adm tty uucp dialout cdrom sudo audio dip plugdev lpadmin sambashare

$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0424:5534 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 04f2:b477 Chicony Electronics Co., Ltd HP HD Webcam
Bus 002 Device 004: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 002 Device 003: ID 0424:2134 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 002 Device 011: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ lsusb -t -v
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
ID 1d6b:0003 Linux Foundation 3.0 root hub
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
ID 0424:5534 Microchip Technology, Inc. (formerly SMSC) Hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 2: Dev 11, If 0, Class=Vendor Specific Class, Driver=usbfs, 12M
ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
|__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
ID 0424:2134 Microchip Technology, Inc. (formerly SMSC) Hub
|__ Port 4: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
ID 8087:07dc Intel Corp. Bluetooth wireless interface
|__ Port 4: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
ID 8087:07dc Intel Corp. Bluetooth wireless interface
|__ Port 7: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
ID 04f2:b477 Chicony Electronics Co., Ltd
|__ Port 7: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
ID 04f2:b477 Chicony Electronics Co., Ltd
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
ID 1d6b:0002 Linux Foundation 2.0 root hub
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
ID 8087:8001 Intel Corp. Integrated Hub

$sudo dmesg -c

[ 3562.811094] usb 2-2: new full-speed USB device number 11 using xhci_hcd
[ 3562.943495] usb 2-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 3562.943519] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3562.943531] usb 2-2: Product: FT232R USB UART
[ 3562.943540] usb 2-2: Manufacturer: FTDI
[ 3562.943549] usb 2-2: SerialNumber: A7006QYM
[ 3562.949045] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 3562.949095] usb 2-2: Detected FT232RL
[ 3562.949754] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0
[ 3564.362520] usb 2-2: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1
[ 3564.363717] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0

any ideas why this is happening? I have been searching in forums and I don't see any solutions...

thanks in advance

Did you reinstall the IDE after the upgrade?

Have you tried the fix posted here: https://stackoverflow.com/questions/48736486/ftdi-usb-serial-device-converter-now-disconnected-issue-with-docker-and-arm

Apparently something to do with the daemon "brltty"

1 Like

Bingo! I run from command line

sudo apt-get remove brltty

and it started working straight away

many thanks!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.