Skip to content

"Tools" > "Port" has more options than "Select Other Board & Port" #401

Closed as not planned
@bb1950328

Description

@bb1950328

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.
Screenshot from 2021-06-05 11-54-48

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.
Screenshot from 2021-06-05 11-59-01
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:

  1. Connect an Arduino
  2. Click on Select Other Board & Port
  3. The port isn't visible
  4. Close the popup
  5. Click on "Tools" > "Port"
  6. 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.

Metadata

Metadata

Assignees

Labels

conclusion: duplicateHas already been submittedpriority: mediumResolution is a medium prioritytopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions