Public bug reported: When using the PlatformIO extension within Microsoft Code to upload firmware to a ESP32 based microcontroller attached via USB, the upload fails with the following repeated error messages in syslog:
"brltty: Ignored Byte: xx" Where xx is a different hexadecimal value. The problem manifests itself with a timeout and a "Looking for upload port... Error: Please specify `upload_port` for environment or use global `--upload-port` option." message in PlatformIO. This error was not present in Ubuntu prior to upgrading to 22.04. Steps taken to resolve: 1. Changed USB cable between powered hub and microcontroller 2. Attempted upload with USB hub powered off 3. Attempted upload from other USB ports 4. Defined USB port microcontroller is connected to in platform.ini by adding "upload_port = /dev/ttyUSB0" Current workaround: Uninstall the brltty package: "sudo apt remove brltty" ** Affects: brltty (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Summary of errors from /var/log/syslog" https://bugs.launchpad.net/bugs/1970789/+attachment/5584744/+files/error.log ** Project changed: ubuntu-image => brltty ** Project changed: brltty => brltty (Ubuntu) -- 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/1970789 Title: Microsoft Code PlatformIO extension conflicts with brltty Ubuntu 22.04 LTS Status in brltty package in Ubuntu: New Bug description: When using the PlatformIO extension within Microsoft Code to upload firmware to a ESP32 based microcontroller attached via USB, the upload fails with the following repeated error messages in syslog: "brltty: Ignored Byte: xx" Where xx is a different hexadecimal value. The problem manifests itself with a timeout and a "Looking for upload port... Error: Please specify `upload_port` for environment or use global `--upload-port` option." message in PlatformIO. This error was not present in Ubuntu prior to upgrading to 22.04. Steps taken to resolve: 1. Changed USB cable between powered hub and microcontroller 2. Attempted upload with USB hub powered off 3. Attempted upload from other USB ports 4. Defined USB port microcontroller is connected to in platform.ini by adding "upload_port = /dev/ttyUSB0" Current workaround: Uninstall the brltty package: "sudo apt remove brltty" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/1970789/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp