[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices
My bad, actually looking on the device, *brltty* was installed for a long time. :-( /var/log/dpkg.log.12.gz:2020-06-24 18:24:40 upgrade brltty:amd64 5.6-11ubuntu2 6.0+dfsg-4ubuntu6 Sorry about the confusion. It looks like the user tested this exact USB serial converter (0403:6001) the first time. ``` Mai 30 12:14:14 Ixpees kernel: Linux version 5.15.0-33-generic (buildd@lcy02-amd64-037) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 (Ubuntu 5.15.0-33.34-generic 5.15.30) […] Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: new full-speed USB device number 4 using xhci_hcd Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00 Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: Product: USB Serial Converter Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: Manufacturer: FTDI Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: SerialNumber: FTFCV4W7 Mai 30 12:16:13 Ixpees mtp-probe[3062]: checking bus 3, device 4: "/sys/devices/pci:00/:00:1c.0/:01:00.0/:02:02.0/:39:00.0/usb3/3-1/3-1.1" Mai 30 12:16:13 Ixpees mtp-probe[3062]: bus: 3, device: 4 was not an MTP device Mai 30 12:16:13 Ixpees snapd[1117]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data Mai 30 12:16:13 Ixpees snapd[1117]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data Mai 30 12:16:13 Ixpees systemd[1]: Starting Braille Device Support... Mai 30 12:16:13 Ixpees kernel: calling usb_serial_init+0x0/0x1000 [usbserial] @ 3008 Mai 30 12:16:13 Ixpees kernel: usbcore: registered new interface driver usbserial_generic Mai 30 12:16:13 Ixpees kernel: usbserial: USB Serial support registered for generic Mai 30 12:16:13 Ixpees kernel: initcall usb_serial_init+0x0/0x1000 [usbserial] returned 0 after 105 usecs Mai 30 12:16:13 Ixpees kernel: calling usb_serial_module_init+0x0/0x1000 [ftdi_sio] @ 3008 Mai 30 12:16:13 Ixpees kernel: usbcore: registered new interface driver ftdi_sio Mai 30 12:16:13 Ixpees kernel: usbserial: USB Serial support registered for FTDI USB Serial Device Mai 30 12:16:13 Ixpees kernel: ftdi_sio 3-1.1:1.0: FTDI USB Serial Device converter detected Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: Detected FT232RL Mai 30 12:16:13 Ixpees kernel: usb 3-1.1: FTDI USB Serial Device converter now attached to ttyUSB0 Mai 30 12:16:13 Ixpees kernel: initcall usb_serial_module_init+0x0/0x1000 [ftdi_sio] returned 0 after 2817 usecs Mai 30 12:16:13 Ixpees mtp-probe[3069]: checking bus 3, device 4: "/sys/devices/pci:00/:00:1c.0/:01:00.0/:02:02.0/:39:00.0/usb3/3-1/3-1.1" Mai 30 12:16:13 Ixpees mtp-probe[3069]: bus: 3, device: 4 was not an MTP device Mai 30 12:16:13 Ixpees snapd[1117]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data Mai 30 12:16:13 Ixpees brltty[3064]: BRLTTY 6.4 rev BRLTTY-6.4 [https://brltty.app/] Mai 30 12:16:13 Ixpees brltty[3064]: BRLTTY 6.4 rev BRLTTY-6.4 [https://brltty.app/] Mai 30 12:16:13 Ixpees brltty[3064]: executing as the invoking user: root Mai 30 12:16:13 Ixpees brltty[3064]: brltty: executing as the invoking user: root Mai 30 12:16:13 Ixpees brltty[3064]: brltty: directory created: /var/lib/brltty Mai 30 12:16:13 Ixpees brltty[3064]: directory created: /var/lib/brltty ``` In the past 0403:6015 was used for example: ``` Aug 26 10:33:08 Ixpees kernel: Linux version 5.8.0-050800-generic (kernel@gloin) (gcc (Ubuntu 9.3.0-13ubuntu1) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #202007052030 SMP Mon Jul 6 00:37:33 UTC 2020 […] Aug 26 10:37:24 Ixpees kernel: usb 1-1: new full-speed USB device number 13 using xhci_hcd Aug 26 10:37:24 Ixpees kernel: usb 1-1: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00 Aug 26 10:37:24 Ixpees kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Aug 26 10:37:24 Ixpees kernel: usb 1-1: Product: FT230X Basic UART Aug 26 10:37:24 Ixpees kernel: usb 1-1: Manufacturer: FTDI Aug 26 10:37:24 Ixpees kernel: usb 1-1: SerialNumber: D307FNWS Aug 26 10:37:24 Ixpees mtp-probe[3194]: checking bus 1, device 13: "/sys/devices/pci:00/:00:14.0/usb1/1-1" Aug 26 10:37:24 Ixpees mtp-probe[3194]: bus: 1, device: 13 was not an MTP device Aug 26 10:37:24 Ixpees kernel: calling usb_serial_init+0x0/0x1000 [usbserial] @ 3193 Aug 26 10:37:24 Ixpees kernel: usbcore: registered new interface driver usbserial_generic Aug 26 10:37:24 Ixpees kernel: usbserial: USB Serial support registered for generic Aug 26 10:37:24 Ixpees kernel: initcall usb_serial_init+0x0/0x1000 [usbserial] returned 0 after 119 usecs Aug 26 10:37:24 Ixpees kernel: calling usb_serial_module_init+0x0/0x1000 [ftdi_sio] @ 3193 Aug 26 10:37:24 Ixpees kernel: usbcore:
[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices
apport information ** Tags added: apport-collected dist-upgrade jammy wayland-session ** Description changed: On a default Ubuntu desktop installation (with GNOME) doing `do-release- upgrade` from 21.10 to 22.04 installed *brltty* breaking FTDI USB serial devices. ``` [ 2435.150025] usb 1-2: new full-speed USB device number 6 using xhci_hcd [ 2435.305646] usb 1-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00 [ 2435.305660] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2435.305666] usb 1-2: Product: USB Serial Converter [ 2435.305671] usb 1-2: Manufacturer: FTDI [ 2435.305675] usb 1-2: SerialNumber: FTFCV4W7 [ 2435.311747] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected [ 2435.311824] usb 1-2: Detected FT232RL [ 2435.313260] usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0 [ 2437.583625] usb 1-2: usbfs: interface 0 claimed by ftdi_sio while 'brltty' sets config #1 [ 2437.585095] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [ 2437.585168] ftdi_sio 1-2:1.0: device disconnected ``` The brltty problem is tracked in the Debian BTS as #667616 [1], and the solution is to remove the package with `sudo apt purge brltty`. The question is though, why `do-release-upgrade` installed it in the first place. I do not remember the problem from earlier release upgrades. [1]: https://bugs.debian.org/667616 + --- + ProblemType: Bug + ApportVersion: 2.20.11-0ubuntu82.1 + Architecture: amd64 + CasperMD5CheckResult: unknown + CrashDB: ubuntu + CrashReports: + 644:0:116:0:2022-05-31 15:11:54.155275593 +0200:2022-05-31 15:11:53.683275612 +0200:/var/crash/kdump_lock + 644:0:116:325:2022-05-31 15:11:57.819275442 +0200:2019-08-23 14:33:45.567141279 +0200:/var/crash/kexec_cmd + CurrentDesktop: GNOME + DistroRelease: Ubuntu 22.04 + InstallationDate: Installed on 2017-03-20 (1898 days ago) + InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2) + Package: ubuntu-release-upgrader (not installed) + ProcVersionSignature: Ubuntu 5.15.0-33.34-generic 5.15.30 + Tags: wayland-session jammy dist-upgrade + Uname: Linux 5.15.0-33-generic x86_64 + UpgradeStatus: Upgraded to jammy on 2022-05-06 (26 days ago) + UserGroups: adm lpadmin sambashare sudo + VarLogDistupgradeXorgFixuplog: + INFO:root:/usr/bin/do-release-upgrade running + INFO:root:No xorg.conf, exiting + _MarkForUpload: True ** Attachment added: "CurrentDmesg.txt.txt" https://bugs.launchpad.net/bugs/1976293/+attachment/5594302/+files/CurrentDmesg.txt.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1976293 Title: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1976293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices
ubuntu-desktop-minimal recommends brltty but it also did that for Ubuntu 21.10 so the upgrade logs might be helpful in determining if the package was previously installed or not. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1976293 Title: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1976293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices
Hi Paul, Please run `apport-collect 1976293` from a terminal on the affected system. This will attach the relevant log files from your system to this bug report. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1976293 Title: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1976293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices
Jeremy, that's not a duplicate. The other bug is about brltty claiming the device, the report here is about the package being installed on upgrade which doesn't sound like it should ** This bug is no longer a duplicate of bug 1958224 brltty claiming cp210x devices on 22.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1976293 Title: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1976293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices
*** This bug is a duplicate of bug 1958224 *** https://bugs.launchpad.net/bugs/1958224 ** This bug has been marked a duplicate of bug 1958224 brltty claiming cp210x devices on 22.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1976293 Title: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1976293/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs