Need Help! When I go to Tools, "Port" cannot be selected. When I connect the Arduino Uno R3 to the computer, it appears to be on; the light next to on is still on. Is there anything I can do while using the same computer?
- Make sure the USB cable is fully inserted in the computer and Arduino board.
- You may have a damaged or charge-only USB cable. Try another one.
- USB 3 ports can sometimes cause problems. Try a USB 2.0 port or a USB 2.0 hub connected to the USB 3 port.
This can often be tricky on a new Linux machine.
Unplug the Uno. Open a terminal and type lsusb. Copy the results into your next post using code tags. Then plug in the Uno and repeat the process. Hopefully, something new will appear in the lsusb results.
Question: do you ever use usb dial-up modems with this laptop? If you don't know what that is, you're probably too young to remember them, so the answer is no. Many versions of Linux still have a service installed by default called modemmanager. This can cause problems with Arduino, but it's easy to uninstall.
PaulRB:
This can often be tricky on a new Linux machine.
I never had a problem - Linux always seems to do the serial stuff better than Windows.
HOWEVER ... you need to be a member of the dialout group to have permission to use a serial port.
...R
Please read the installation instructions for Arduino on Linux:
On Linux Mint there is a menu option Menu/Administration/Users and Groups
...R
On another computer (MacBook Pro Model: A1398) it worked. I am sure that the USB B to A works because it is from Arduino, and it works fine with MacBook Pro Model: A1398. So, I believe the problem is with the USB C female port or with the USB A to USB C Samsung adapter I am using. Lots of thanks for responding!
Is there an advantage to running Arduino IDE on Linux instead of on MacOS?
The solution was getting a USB hub and adding a filter to the Linux Mint. Thanks for helping!
I'm glad to hear the problem is solved. Enjoy!
Per
mat137247:
The solution was getting a USB hub and adding a filter to the Linux Mint.
What do you mean by "filter"
...R
On Linux there is a "filter" that allows USB ports from being used on the computer or VM. Naturally, there is no filter for a USB, and you have to turn it on manually.
Not making any sense.
You do have to follow the instructions in that link in order to enable access to the USB serial ports; presumably this is to what the garbled description refers.
The only significance of a USB hub would be that powered hub will provide more power to the USB device - the Macbook Pro may be fussy about following the strict criteria of USB.
mat137247:
On Linux there is a "filter" that allows USB ports from being used on the computer or VM. Naturally, there is no filter for a USB, and you have to turn it on manually.
Those two statements seem to contradict each other.
And I have been using Linux for several years but I have never come across anything called a filter for USB ports (or for anything else).
...R
Those two statements seem to contradict each other
This is not from my computer, and it looks slightly different, but it may explain what I mean.
On the right you can see port icons with a plus and minus signs on the USB cable icons. There can be used to remove or add usage of USB. Just to clarify if you didn't notice I am using Linux Mint not Linux.
The only significance of a USB hub would be that powered hub will provide more power to the USB device
It may be that that I have used a used a random USB C adapter meant for phones and the hub was for laptops
You do have to follow the instructions in that link in order to enable access to the USB serial ports
I should have access to the ports because I am the administrator of the Virtual Computer.
Why does it say "Win7 Settings" at the top of the screen?
What is the name of the program that produces that screen?
...R
That is the username of the person's account, it has nothing to do with the filters if that's why you asked.
To find it go on Devices < USB < USB settings. It may look different from the picture though.