[Bug 1976293] Re: 21.10 → 22.04: Installs *brltty* breaking FTDI USB serial devices

Paul Menzel 1976293 at bugs.launchpad.net
Wed Jun 1 12:29:38 UTC 2022


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 at 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/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:02.0/0000: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/pci0000:00/0000:00:1c.0/0000:01:00.0/0000:02:02.0/0000: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 at 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/pci0000:00/0000: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: registered new interface driver ftdi_sio
Aug 26 10:37:24 Ixpees kernel: usbserial: USB Serial support registered for FTDI USB Serial Device
Aug 26 10:37:24 Ixpees kernel: ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected
Aug 26 10:37:24 Ixpees kernel: usb 1-1: Detected FT-X
Aug 26 10:37:24 Ixpees kernel: usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
Aug 26 10:37:24 Ixpees kernel: initcall usb_serial_module_init+0x0/0x1000 [ftdi_sio] returned 0 after 3861 usecs
```

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1976293

Title:
  21.10 → 22.04: Installs *brltty* breaking FTDI USB serial  devices

Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1976293/+subscriptions




More information about the foundations-bugs mailing list