Arduino Port option - Grey Out

Hi Everyone,
I am very new to Arduino and Linux.
I installed IDE,
I connected Arduino Uno to my laptop,
I launched IDE,
I opened Blinking sketched.
I tried to upload it to Arduino however I got Error Message:
Serial port not selected.
Board at null is not available

I know that the topic closed in 2021, however I still miss something.
Can anyone help me?
I followed this guide.

Hi @msiou. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the lsusb command from the command line and share the output.

  1. Open a terminal.
  2. Type lsusb
  3. Press Enter
  4. Click and drag the mouse to select all the output in the terminal window.
  5. Press Ctrl+C.
    This will copy the selected text to the clipboard.
  6. Open a forum reply here by clicking the Reply button.
  7. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
    Code block
  8. Press Ctrl+V. This will paste the output into the code block.
  9. Move the cursor outside of the code block markup before you add any additional text to your reply.
  10. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

Thank you so much for your detailed (step-by-step) response.
I connected the Arduino Uno
I provide you with the lsusb results:

siou@siou:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b5f7 Chicony Electronics Co., Ltd HD WebCam
Bus 001 Device 003: ID 04ca:3016 Lite-On Technology Corp. 
Bus 001 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Oops. I left that most important step out of my instructions! I'll make sure to remember it the next time.

OK, I don't see anything there that could be the Uno.

Make sure the USB cable is completely plugged into both the Arduino board and the PC.

If that doesn't help, you may have a damaged/defective or charge-only USB cable. Try a different cable.

Either of the above can result in the power connections being made (and thus LED lights on the board), but no data connections (and thus no port for the board).

I have two cables that are full functional.

The Arduino is powered Up normally.
Green LED - Steady ON
LED orange Light - Blinking ON/OFF once per second.
Port still grey out.
Not able to upload sketch.
Serial Monitor response:

Arduino: 1.8.9 (Linux), Board: "Arduino Uno"

Board at null is not available

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

How are you sure ?

Some so called USB cables are power only with no connected USB signal pins,

One cable is used by a functional Microphone.
The other one by a functional Printer.
I know about that issue and I am highly alerted.
Maybe you are right.
I will try with a third one the sooner.

Which linux distribution do you use ?

Disconnect then plug back your Arduino couple times. You can try different USB ports, just in case.
Then immediately use the dmesg command.
Copy the last few lines (or whole last page) and paste it here.

P.S. if you get an error, use sudo dmesg instead.

I use Linux Mint 20.2 Cinamon.

Thanks for replying.
Last lines of terminal output for dmesg before Arduino connection:

[ 8329.326670] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8329.326673] usb 1-5: Product: Trust GXT 242 Microphone
[ 8329.326676] usb 1-5: Manufacturer: MUSIC-BOOST
[ 8329.332594] input: MUSIC-BOOST Trust GXT 242 Microphone as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:145F:0257.0003/input/input22
[ 8329.392874] hid-generic 0003:145F:0257.0003: input,hidraw2: USB HID v2.01 Device [MUSIC-BOOST Trust GXT 242 Microphone] on usb-0000:00:14.0-5/input3
[ 8329.448297] usbcore: registered new interface driver snd-usb-audio

Last lines of terminal output for dmesg shortly after Arduino connection:

[ 8329.326670] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8329.326673] usb 1-5: Product: Trust GXT 242 Microphone
[ 8329.326676] usb 1-5: Manufacturer: MUSIC-BOOST
[ 8329.332594] input: MUSIC-BOOST Trust GXT 242 Microphone as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3/0003:145F:0257.0003/input/input22
[ 8329.392874] hid-generic 0003:145F:0257.0003: input,hidraw2: USB HID v2.01 Device [MUSIC-BOOST Trust GXT 242 Microphone] on usb-0000:00:14.0-5/input3
[ 8329.448297] usbcore: registered new interface driver snd-usb-audio

Looks that it does not detect it.
Maybe the cables are not the appropriate ones.

It may be the cables.
It may as well be a defect in the USB-Serial chip on your Arduino, or just wrong firmware in this chip.

Can you read the marking of the chip closest to the USB port?

ATMEL
MEGA1GU2
1522 TH
A2TRTD

This is what I could read of it...

OK, so it is ATmega16u2, it normally runs a usb-serial firmware, but can be reprogrammed.
Here is a quick way to check if this chip is working and can connect to the PC:
Connect the Arduino.
Briefly short the RESET and GND pins marked with red in this picture


Check for activity with dmesg and/or lsusb.
If nothing gets detected, then you have a hardware issue. It may be the USB ports, cables, board traces, or the chip itself...

If there was something detected, you can use this guide to reprogram the chip https://docs.arduino.cc/hacking/software/DFUProgramming8U2

Maybe
https://forum.arduino.cc/t/is-usb-3-0-okay-with-arduino/361260
So try in another usb port

Nothing happened!
I will try following the link you provided.

If nothing happened, there is a connection or hardware problem.
That link won't help in this case.

Try another PC, cable, or arduino, to make sure in which part is the problem.

Do you have anything else you can connect to the PC with this cable? Printer, router, UPS, etc.?

Ok thank you very much for your time.
I will try the sooner and I will keep you up!!!
Best Regards.

Good Luck!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.