Description
Describe the bug
When I connected a new board to my computer, I first tried to select the correct board and port in the dropdown in the toolbar at the top. I clicked on "Select Other Board & Port". There was a large list of boards. I found the "Arduino Nano" without problems. But on the right side, there's only a message "NO PORTS DISCOVERED". The "Show all ports" checkbox is checked.
Then I called sudo dmesg
to see on which port my Arduino Nano is. Relevant section:
[ 351.483143] usb 1-2.1.3.3: new full-speed USB device number 15 using xhci_hcd
[ 351.584491] usb 1-2.1.3.3: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.64
[ 351.584508] usb 1-2.1.3.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 351.584517] usb 1-2.1.3.3: Product: USB Serial
[ 351.653752] usbcore: registered new interface driver usbserial_generic
[ 351.653776] usbserial: USB Serial support registered for generic
[ 351.655384] usbcore: registered new interface driver ch341
[ 351.655408] usbserial: USB Serial support registered for ch341-uart
[ 351.655437] ch341 1-2.1.3.3:1.0: ch341-uart converter detected
[ 351.656014] usb 1-2.1.3.3: ch341-uart converter now attached to ttyUSB0
So my Arduino is on /dev/ttyUSB0
. Then I discovered "Tools" > "Port" where /dev/ttyUSB0
is available.
After selecting this I was able to upload the blink sketch. (I had to select "Processor" > "Atmega328P (Old Bootloader)", but I dont't think that's part of this problem.)
When I disconnected my Arduino, "Tools" > "Port" > "/dev/ttyUSB0" disappeared so I think the available port detection works there.
To Reproduce
Steps to reproduce the behavior:
- Connect an Arduino
- Click on Select Other Board & Port
- The port isn't visible
- Close the popup
- Click on "Tools" > "Port"
- The port is available there
Expected behavior
The "Select Other Board & Port" should show the ports from "Tools" > "Port".
Desktop (please complete the following information):
- OS: Ubuntu 21.04
- Version:
2.0.0 beta7
Additional context
Maybe this is related to #132 but Master811129
is on Windows while I am on Linux.
I have a cheap Arduino Nano clone with a CH340G chip.