I have just returned to doing some Arduino programming. I have installed the 2.2.1 IDE on my xubuntu 22.04 system and I'm getting 'NO PORTS DISCOVERED' whatever I try.
I have connected both an ESP32 based system and a Raspberry Pi with the same result for both.
When I plug the ESP32 device in I see:-
Nov 23 11:12:03 esprimo kernel: [1472081.626400] usb 2-1.5: new full-speed USB device number 23 using ehci-pci
Nov 23 11:12:03 esprimo kernel: [1472081.735794] usb 2-1.5: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
Nov 23 11:12:03 esprimo kernel: [1472081.735804] usb 2-1.5: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Nov 23 11:12:03 esprimo kernel: [1472081.735808] usb 2-1.5: Product: USB Serial
Nov 23 11:12:03 esprimo kernel: [1472081.736824] ch341 2-1.5:1.0: ch341-uart converter detected
Nov 23 11:12:03 esprimo kernel: [1472081.738106] usb 2-1.5: ch341-uart converter now attached to ttyUSB0
Nov 23 11:12:03 esprimo mtp-probe: checking bus 2, device 23: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Nov 23 11:12:03 esprimo mtp-probe: bus: 2, device: 23 was not an MTP device
Nov 23 11:12:03 esprimo systemd[1]: Starting Braille Device Support...
Nov 23 11:12:03 esprimo brltty[2960433]: BRLTTY 6.4 rev BRLTTY-6.4 [https://brltty.app/]
Nov 23 11:12:03 esprimo brltty[2960433]: BRLTTY 6.4 rev BRLTTY-6.4 [https://brltty.app/]
Nov 23 11:12:03 esprimo brltty[2960433]: executing as the invoking user: root
Nov 23 11:12:03 esprimo brltty[2960433]: brltty: executing as the invoking user: root
Nov 23 11:12:03 esprimo Thunar[2960432]: thunar-volman: Unsupported USB device type "usb".
Nov 23 11:12:03 esprimo mtp-probe: checking bus 2, device 23: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Nov 23 11:12:03 esprimo mtp-probe: bus: 2, device: 23 was not an MTP device
Nov 23 11:12:03 esprimo Thunar[2960459]: thunar-volman: Unsupported USB device type "ch341".
Nov 23 11:12:04 esprimo brltty[2960433]: CLDR open error: No such file or directory: /usr/share/unicode/cldr/common/annotations/en.xml
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: CLDR open error: No such file or directory: /usr/share/unicode/cldr/common/annotations/en.xml
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: possible cause: the package that defines the CLDR annotations directory is not installed
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: emoji substitutiion won't be performed
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: BrlAPI Server: release 0.8.3
Nov 23 11:12:04 esprimo brltty[2960433]: possible cause: the package that defines the CLDR annotations directory is not installed
Nov 23 11:12:04 esprimo systemd[1]: Started Braille Device Support.
Nov 23 11:12:04 esprimo brltty[2960433]: emoji substitutiion won't be performed
Nov 23 11:12:04 esprimo brltty[2960433]: BrlAPI Server: release 0.8.3
Nov 23 11:12:04 esprimo brltty[2960433]: Linux Screen Driver:
Nov 23 11:12:04 esprimo kernel: [1472082.309734] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input33
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: Linux Screen Driver:
Nov 23 11:12:04 esprimo brltty[2960433]: USB configuration set error 16: Device or resource busy
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: USB configuration set error 16: Device or resource busy
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: USB interface in use: 0 (ch341)
Nov 23 11:12:04 esprimo brltty[2960433]: USB interface in use: 0 (ch341)
Nov 23 11:12:04 esprimo kernel: [1472082.403751] usb 2-1.5: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
Nov 23 11:12:04 esprimo kernel: [1472082.404143] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
Nov 23 11:12:04 esprimo kernel: [1472082.404160] ch341 2-1.5:1.0: device disconnected
Nov 23 11:12:04 esprimo ModemManager[829]: <info> [base-manager] port ttyUSB0 released by device '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5'
Nov 23 11:12:04 esprimo ModemManager[829]: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5': Operation was cancelled
Nov 23 11:12:04 esprimo brltty[2960433]: NoSpeech Speech Driver:
Nov 23 11:12:04 esprimo brltty[2960433]: brltty: NoSpeech Speech Driver:
My system thinks it's a braille device!
How can I fix this?