Could not configure port: (25, 'Inappropriate ioctl for device') (Linux Mint)

I’m using VSCode on Linux Mint to upload some firmware to a Wemos d1 mini. I’m to a point where I’m directing to the right serial port but when I’m attempting the upload I get the following message:

Looking for upload port...
Using manually specified: /dev/bus/usb/001/007
Uploading .pio/build/lolin_d1_mini/firmware.bin
Traceback (most recent call last):
esptool.py v3.0
  File "/home/joshindigo/.platformio/penv/lib/python3.10/site-packages/serial/serialposix.py", line 398, in _reconfigure_port
Serial port /dev/bus/usb/001/007
    orig_attr = termios.tcgetattr(self.fd)
termios.error: (25, 'Inappropriate ioctl for device')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/joshindigo/.platformio/packages/tool-esptoolpy@1.30000.201119/esptool.py", line 3969, in <module>
    _main()
  File "/home/joshindigo/.platformio/packages/tool-esptoolpy@1.30000.201119/esptool.py", line 3962, in _main
    main()
  File "/home/joshindigo/.platformio/packages/tool-esptoolpy@1.30000.201119/esptool.py", line 3551, in main
    esp = chip_class(each_port, initial_baud, args.trace)
  File "/home/joshindigo/.platformio/packages/tool-esptoolpy@1.30000.201119/esptool.py", line 271, in __init__
    self._port = serial.serial_for_url(port)
  File "/home/joshindigo/.platformio/penv/lib/python3.10/site-packages/serial/__init__.py", line 90, in serial_for_url
    instance.open()
  File "/home/joshindigo/.platformio/penv/lib/python3.10/site-packages/serial/serialposix.py", line 332, in open
    self._reconfigure_port(force_update=True)
  File "/home/joshindigo/.platformio/penv/lib/python3.10/site-packages/serial/serialposix.py", line 401, in _reconfigure_port
    raise SerialException("Could not configure port: {}".format(msg))
serial.serialutil.SerialException: Could not configure port: (25, 'Inappropriate ioctl for device')
*** [upload] Error 1

What happens if you comment out the port from platformio.ini? PlatformIO is pretty good at finding the correct port on its own.

I use Linux Mint too, and somewhere I have a D1 Mini. I don’t recall having specified a port.

Also, /dev/bus/usb/001/007 – I’ve never specified a port that way before. I’m not saying it’s incorrect, but usually it’s something like /dev/ttyUSB0 or similar. Maybe /dev/ttyACM0.

Cheers,
Norm.

1 Like

I have tried setting it to auto (the port isn’t specefied within the platformio.ini but rather the enviroment) and it tells me to set upload port/install 99 udev which is already installed.

As best as I can tell that’s where the board is read on my device. I can’t see any file such as ttySUSB0 or the like. The device definitely at least reads into /dev/bus/usb/… since it adds a id file such as 007 when plugged inand removes it when unplugged.

Not sure if this problem is coming up because I have the extension working weird. Basically I had an issue where I wasn’t seeing I had python3-venv for installation but I got the extension to install by reinstalling VSCode with a flatpack. So not sure if that means anything, I’m newer to working with this stuff.

Thanks

Interesting.

I’ve just dug out my D1 Mini and plugged it into USB while dmesg --follow was running in a terminal. I got this in the log:

  229.322827] usb 3-2: new full-speed USB device number 8 using xhci_hcd
[  229.472537] usb 3-2: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[  229.472548] usb 3-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  229.472552] usb 3-2: Product: USB Serial
[  229.475507] ch341 3-2:1.0: ch341-uart converter detected
[  229.476769] usb 3-2: ch341-uart converter now attached to ttyUSB0

From the last line, I can see it’s connected to /dev/ttyUSB0.

I have the famous blink sketch created with the following platformio.ini file:

[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino

And this source:

#include "Arduino.h"

void setup() {
    pinMode(LED_BUILTIN, OUTPUT);
}


void loop() {
    // LED: On = LOW, Off = HIGH.
    // It's because the LED is sinking current as
    // opposed to sourcing it.
    digitalWrite(LED_BUILTIN, LOW);
    delay(1000);
    digitalWrite(LED_BUILTIN, HIGH);
    delay(2000);
}

Uploading this simple blink sketch gives me the following, and you can see it autodetected the correct port:

Configuring upload protocol...
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: /dev/ttyUSB0
Uploading .pio/build/d1_mini/firmware.bin
esptool.py v3.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 48:3f:da:57:b6:d1
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Compressed 265632 bytes to 195738...
Writing at 0x00000000... (8 %)
...
Writing at 0x00028000... (91 %)
Writing at 0x0002c000... (100 %)
Wrote 265632 bytes (195738 compressed) at 0x00000000 in 17.2 seconds (effective 123.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

My D1 Mini came from AZ Delivery, in Germany, before Brexit when we used to be able to order stuff from Europe, and has a CH340G chip for USB communications. Maybe your’s has a different chip which might mean that your port will be /dev/ttyACM0?

The /dev/bus/usb/nnn/yyy port name will change according to whatever (other) USB devices you have attached. I would delete the environment variable that defines it, just in case. Also, unplug the board, open a terminal and run dmesg --follow , wait for text to stop scrolling and press RETURN a couple of times, then plug in the D1 Mini. See if that gives any clues.

Cheers,
Norm.

1 Like

Ok so from the looks of it my device might not be connecting correctly to my PC. While running dmesg --follow I also tried unplugging and replugging in my device. When it said the usb cord might be bad I switched to another cord but that didn’t seem to change much. This is the following output I got:

[  591.699917] usb 1-1.1: new full-speed USB device number 4 using ehci-pci
[  591.806076] wlp2s0: AP cc:40:d0:f6:ed:81 changed bandwidth, new config is 2422.000 MHz, width 1 (2422.000/0 MHz)
[  591.808982] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
[  591.808991] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  591.808997] usb 1-1.1: Product: USB Serial
[  591.983181] usbcore: registered new interface driver usbserial_generic
[  591.983199] usbserial: USB Serial support registered for generic
[  592.003368] usbcore: registered new interface driver ch341
[  592.003390] usbserial: USB Serial support registered for ch341-uart
[  592.003413] ch341 1-1.1:1.0: ch341-uart converter detected
[  592.005846] usb 1-1.1: ch341-uart converter now attached to ttyUSB0
[  592.165334] input: PC Speaker as /devices/platform/pcspkr/input/input13
[  592.419516] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=36438 LEN=1352 
[  592.419897] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=1 PROTO=UDP SPT=3702 DPT=54165 LEN=1326 
[  592.812238] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=36438 LEN=1352 
[  592.812431] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=41505 LEN=1352 
[  592.813398] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=2 PROTO=UDP SPT=3702 DPT=54165 LEN=1326 
[  592.814591] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=41505 LEN=1352 
[  592.814764] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=fe80:0000:0000:0000:5eea:1dff:fe56:b342 DST=fe80:0000:0000:0000:3190:1c0d:117b:c68d LEN=1378 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=44277 LEN=1338 
[  592.814986] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=fe80:0000:0000:0000:5eea:1dff:fe56:b342 DST=fe80:0000:0000:0000:3190:1c0d:117b:c68d LEN=1378 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=44277 LEN=1338 
[  592.823315] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input14
[  592.833866] usb 1-1.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[  592.836854] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[  592.836886] ch341 1-1.1:1.0: device disconnected
[  623.557434] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:cc:40:d0:f6:ed:81:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  623.559905] [UFW BLOCK] IN=wlp2s0 OUT= MAC=33:33:00:00:00:00:cc:40:d0:f6:ed:81:86:dd SRC=0000:0000:0000:0000:0000:0000:0000:0000 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0 


[  671.337711] usb 1-1.1: USB disconnect, device number 4
[  675.765341] usb 1-1.1: new full-speed USB device number 5 using ehci-pci
[  676.621689] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  676.701213] usb 1-1.1: new full-speed USB device number 6 using ehci-pci
[  677.765725] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  677.765806] usb 1-1-port1: attempt power cycle
[  678.368916] usb 1-1.1: new full-speed USB device number 7 using ehci-pci
[  678.406775] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
[  678.406789] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  678.406795] usb 1-1.1: Product: USB Serial
[  678.407710] ch341 1-1.1:1.0: ch341-uart converter detected
[  678.412274] usb 1-1.1: ch341-uart converter now attached to ttyUSB0
[  678.975000] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=40992 LEN=1352 
[  678.984442] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=3 PROTO=UDP SPT=3702 DPT=41650 LEN=1326 
[  678.996630] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input15
[  678.998987] usb 1-1.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[  679.016001] usb 1-1.1: USB disconnect, device number 7
[  679.016311] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[  679.016341] ch341 1-1.1:1.0: device disconnected
[  679.034648] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=4 PROTO=UDP SPT=3702 DPT=41650 LEN=1326 
[  679.159409] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=40992 LEN=1352 
[  679.159429] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=53964 LEN=1352 
[  679.230355] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=53964 LEN=1352 
[  679.232120] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=fe80:0000:0000:0000:5eea:1dff:fe56:b342 DST=fe80:0000:0000:0000:3190:1c0d:117b:c68d LEN=1378 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=48486 LEN=1338 
[  679.353681] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=fe80:0000:0000:0000:5eea:1dff:fe56:b342 DST=fe80:0000:0000:0000:3190:1c0d:117b:c68d LEN=1378 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=48486 LEN=1338 
[  679.693264] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=44910 LEN=1352 
[  679.694188] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=5 PROTO=UDP SPT=3702 DPT=45506 LEN=1326 
[  679.893351] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=6 PROTO=UDP SPT=3702 DPT=45506 LEN=1326 
[  681.360328] usb 1-1.1: new full-speed USB device number 8 using ehci-pci
[  682.232634] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  682.312247] usb 1-1.1: new full-speed USB device number 9 using ehci-pci
[  683.164670] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  683.165011] usb 1-1-port1: attempt power cycle
[  684.183941] usb 1-1.1: new full-speed USB device number 10 using ehci-pci
[  684.599869] usb 1-1.1: device not accepting address 10, error -32
[  685.452139] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[  685.452461] usb 1-1-port1: unable to enumerate USB device



[  738.622301] usb 1-1.1: new full-speed USB device number 12 using ehci-pci
[  738.732390] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
[  738.732405] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  738.732411] usb 1-1.1: Product: USB Serial
[  738.733052] ch341 1-1.1:1.0: ch341-uart converter detected
[  738.734643] usb 1-1.1: ch341-uart converter now attached to ttyUSB0
[  739.346646] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input16
[  739.349615] usb 1-1.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[  739.351149] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[  739.351196] ch341 1-1.1:1.0: device disconnected
[  739.877769] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=47484 LEN=1352 
[  739.989445] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=7 PROTO=UDP SPT=3702 DPT=38094 LEN=1326 
[  740.020106] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=8 PROTO=UDP SPT=3702 DPT=38094 LEN=1326 
[  740.022845] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=47484 LEN=1352 
[  740.072501] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=56016 LEN=1352 
[  748.888683] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:cc:40:d0:f6:ed:81:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  761.181406] usb 1-1.1: USB disconnect, device number 12
[  762.093387] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=39657 LEN=1352 
[  762.098309] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=9 PROTO=UDP SPT=3702 DPT=38041 LEN=1326 
[  762.158084] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=10 PROTO=UDP SPT=3702 DPT=38041 LEN=1326 
[  766.525009] usb 1-1.1: new full-speed USB device number 13 using ehci-pci
[  766.635177] usb 1-1.1: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice=81.34
[  766.635193] usb 1-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  766.635198] usb 1-1.1: Product: USB Serial
[  766.636116] ch341 1-1.1:1.0: ch341-uart converter detected
[  766.638094] usb 1-1.1: ch341-uart converter now attached to ttyUSB0
[  767.233071] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input17
[  767.236419] usb 1-1.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[  767.240892] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[  767.240998] ch341 1-1.1:1.0: device disconnected
[  767.547190] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=11 PROTO=UDP SPT=3702 DPT=54109 LEN=1326 
[  767.610655] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=12 PROTO=UDP SPT=3702 DPT=54109 LEN=1326 
[  794.354099] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  874.641296] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:cc:40:d0:f6:ed:81:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  874.642613] [UFW BLOCK] IN=wlp2s0 OUT= MAC=33:33:00:00:00:00:cc:40:d0:f6:ed:81:86:dd SRC=0000:0000:0000:0000:0000:0000:0000:0000 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0 
[  877.093533] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:20:ef:bd:a7:ae:e4:08:00 SRC=192.168.100.105 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  899.659031] usb 1-1.1: USB disconnect, device number 13
[  924.205551] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[  999.975256] [UFW BLOCK] IN=wlp2s0 OUT= MAC=33:33:00:00:00:00:cc:40:d0:f6:ed:81:86:dd SRC=0000:0000:0000:0000:0000:0000:0000:0000 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0 
[ 1117.119770] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1126.951075] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:20:ef:bd:a7:ae:e4:08:00 SRC=192.168.100.105 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1254.746502] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:20:ef:bd:a7:ae:e4:08:00 SRC=192.168.100.105 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1300.217752] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1378.037022] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:20:ef:bd:a7:ae:e4:08:00 SRC=192.168.100.105 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1505.852721] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:64:ff:0a:73:ed:c1:08:00 SRC=192.168.100.110 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1518.845271] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.872819] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.872882] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.872954] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.873030] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.873101] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.873150] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.885899] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.895358] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1518.896185] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0400:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=60 TC=0 HOPLIMIT=57 FLOWLBL=266961 PROTO=TCP SPT=443 DPT=40750 WINDOW=0 RES=0x00 RST URGP=0 
[ 1541.496769] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:86:dd SRC=2a04:4e42:0200:0000:0000:0000:0000:0347 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=835 TC=0 HOPLIMIT=56 FLOWLBL=240094 PROTO=TCP SPT=443 DPT=57208 WINDOW=276 RES=0x00 ACK PSH URGP=0 
[ 1584.104771] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:08:00 SRC=34.117.65.55 DST=192.168.100.117 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=18333 PROTO=TCP SPT=443 DPT=44038 WINDOW=270 RES=0x00 ACK PSH URGP=0 
[ 1584.280969] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:08:00 SRC=34.117.65.55 DST=192.168.100.117 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=18334 PROTO=TCP SPT=443 DPT=44038 WINDOW=270 RES=0x00 ACK PSH URGP=0 
[ 1584.281173] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:08:00 SRC=34.117.65.55 DST=192.168.100.117 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=18335 PROTO=TCP SPT=443 DPT=44038 WINDOW=270 RES=0x00 ACK PSH URGP=0 
[ 1585.293407] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:08:00 SRC=34.117.65.55 DST=192.168.100.117 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=18336 PROTO=TCP SPT=443 DPT=44038 WINDOW=270 RES=0x00 ACK PSH URGP=0 
[ 1590.308373] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:cc:40:d0:f6:ed:81:08:00 SRC=34.117.65.55 DST=192.168.100.117 LEN=76 TOS=0x00 PREC=0x00 TTL=122 ID=18337 PROTO=TCP SPT=443 DPT=44038 WINDOW=270 RES=0x00 ACK PSH URGP=0 
[ 1629.133824] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:64:ff:0a:73:ed:c1:08:00 SRC=192.168.100.110 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1676.245128] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1706.956318] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1709.840977] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1715.552028] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1753.232282] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:20:ef:bd:a7:ae:e4:08:00 SRC=192.168.100.105 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1803.618753] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1842.796818] usb 2-3: new low-speed USB device number 3 using xhci_hcd
[ 1842.962994] usb 2-3: New USB device found, idVendor=16d0, idProduct=0753, bcdDevice= 2.06
[ 1842.963009] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1843.534255] usb 2-3: USB disconnect, device number 3
[ 1843.884748] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=41050 LEN=1352 
[ 1843.976697] usb 2-3: new low-speed USB device number 4 using xhci_hcd
[ 1844.064657] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=41050 LEN=1352 
[ 1844.066637] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=55277 LEN=1352 
[ 1844.169782] usb 2-3: New USB device found, idVendor=16c0, idProduct=27da, bcdDevice= 1.00
[ 1844.169796] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1844.169801] usb 2-3: Product: DigiKey
[ 1844.169805] usb 2-3: Manufacturer: digistump.com
[ 1844.169809] usb 2-3: SerialNumber: digistump.com:Mouse
[ 1844.232579] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=55277 LEN=1352 
[ 1844.237739] hid: raw HID events driver (C) Jiri Kosina
[ 1844.241032] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=fe80:0000:0000:0000:5eea:1dff:fe56:b342 DST=fe80:0000:0000:0000:3190:1c0d:117b:c68d LEN=1378 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=53537 LEN=1338 
[ 1844.267185] usbcore: registered new interface driver usbhid
[ 1844.267191] usbhid: USB HID core driver
[ 1844.295489] input: digistump.com DigiKey as /devices/pci0000:00/0000:00:10.0/usb2/2-3/2-3:1.0/0003:16C0:27DA.0001/input/input18
[ 1844.295796] hid-generic 0003:16C0:27DA.0001: input,hidraw0: USB HID v1.01 Mouse [digistump.com DigiKey] on usb-0000:00:10.0-3/input0
[ 1844.480190] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=fe80:0000:0000:0000:5eea:1dff:fe56:b342 DST=fe80:0000:0000:0000:3190:1c0d:117b:c68d LEN=1378 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=53537 LEN=1338 
[ 1844.481092] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=47081 LEN=1352 
[ 1844.605579] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:60eb:43f3:9f4c:2715 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=47081 LEN=1352 
[ 1844.607425] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=56074 LEN=1352 
[ 1844.662731] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:86:dd SRC=2603:6000:d200:1118:5eea:1dff:fe56:b342 DST=2603:6000:d200:1118:ce24:bc54:fa60:4979 LEN=1392 TC=0 HOPLIMIT=64 FLOWLBL=0 PROTO=UDP SPT=3702 DPT=56074 LEN=1352 
[ 1847.908757] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=13 PROTO=UDP SPT=3702 DPT=48844 LEN=1326 
[ 1847.909173] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=14 PROTO=UDP SPT=3702 DPT=48844 LEN=1326 
[ 1847.909378] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=15 PROTO=UDP SPT=3702 DPT=52065 LEN=1326 
[ 1847.909828] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=16 PROTO=UDP SPT=3702 DPT=52065 LEN=1326 
[ 1847.910428] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=17 PROTO=UDP SPT=3702 DPT=33845 LEN=1326 
[ 1847.910641] [UFW BLOCK] IN=wlp2s0 OUT= MAC=3c:95:09:be:19:35:5c:ea:1d:56:b3:42:08:00 SRC=192.168.100.101 DST=192.168.100.117 LEN=1346 TOS=0x00 PREC=0x00 TTL=64 ID=18 PROTO=UDP SPT=3702 DPT=33845 LEN=1326 
[ 1878.571885] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:64:ff:0a:73:ed:c1:08:00 SRC=192.168.100.110 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 
[ 1930.178520] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:fb:18:30:0c:d9:09:79:08:00 SRC=192.168.100.108 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2 

I’m not entirely sure what to make of this tbh. It appears the board might be disconnecting from ttySUSB0 immediately which is odd. Definitely could use some help parsing this.
Thanks.

Ok, I have the solution. :smile:

This is your problem:

[  592.823315] input: BRLTTY 6.4 Linux Screen Driver Keyboard as /devices/virtual/input/input14
[  592.833866] usb 1-1.1: usbfs: interface 0 claimed by ch341 while 'brltty' sets config #1
[  592.836854] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[  592.836886] ch341 1-1.1:1.0: device disconnected

Linux Mint, by default, installs a Braille terminal, see https://brltty.app/ for details of what it is, which grabs ttyUSB0. I had this very same problem when I first upgraded to Mint 21. If you don’t need brltty, then get rid of it as follows:

sudo apt remove brltty

If you do need it, then /etc/brltty.conf might have an option to allow you to pick a device, to stop it hijacking /dev/ttyUSB0.

Full details here, https://lynxbee.com/solved-brltty-usb-com-port-gets-immediately-disconnected/.

HTH

Cheers,
Norm.

1 Like

Thanks so much! I didn’t even realize that’s why it wasn’t connecting normally.

Dmesg is your friend for these things!

I have just suffered from the same thing! The VSCode PlatformIO extension tried to upgrade to 6.1.9, but stalled telling me it couldn’t find a working Python 3.6+ interpreter.

I eventually solved it. python -m venv --help worked fine, but python -m ensurepip --help said there was no ensurepip module. So:

python3 --version
Python 3.16.6

sudo apt search python3.13 | grep -e ensurepip -e venv`
p   python3.10-venv                           - Interactive high-level object-oriented language (pyv
p   python3.10-venv:i386                      - Interactive high-level object-oriented language (pyv
v   python3.10-venv:any                       -  

sudo apt install python3.10-venv

Now python3 -m ensurepip --help worked. On re-opening VSCode, the upgrade started again, and completed.

I’m not a fan of flatpacks, I had a few troubles with them a while back. I prefer the native apps, wherever possible.

HTH

Cheers,
Norm.

1 Like

Thanks, I’ll try getting the package version to work. The fun thing is I finally got the software figured out for this project but now it appears I messed up the hardware. I already emailed the guy who makes the kit though since he’d probably know best what I either broke or just messed up with the hardware.
Again though thanks for all the help. This is teaching me a lot about working with software like this.