Go Down

Topic: Arduino "Ports" Suddenly grayed out (Read 1 time) previous topic - next topic

JP2222

I have been using Arduino on Linux for years.

I was using version 1.6.13 on Ubuntu 16.04, when I unplugged my board and plugged it back in, and it was no longer visible in the "ports" tab. I restarted my PC, and the ports tab is completely grayed out.

To eliminate a lot of responses:
- I am a member of my dialout group
- The device shows up as a USB device in /dev/ and the instance can be seen with dmesg
- I have tried uninstalling and reinstalling the IDE on the computer
- I have tried the latest version of the IDE (1.8.5) with no better results
- I have removed the .arduino15 directory
- I have tried both IDE versions listed on another 16.04.4 PC with no better results (I am a member of the dialout group on this PC and the device is recognized by the kernel)

Any insight would be greatly appreciated.

Thank you

kprims

#1
Jun 14, 2018, 05:05 am Last Edit: Jun 14, 2018, 07:05 am by kprims
Linux Mint 18.3 here and mine is working the same way. Wait long enough and then the Ports show up. Also tried the hourly build and  getting the same results.

Pulled the network cable and everything went back to normal. Plugged it back in and the problem returned.  Will try on another box in the morning.

gdsports


hermenj

#3
Jun 14, 2018, 11:31 am Last Edit: Jun 14, 2018, 12:14 pm by hermenj
Same here, suddenly this morning after restarting the arduino IDE the ports section was greyed out on Ubuntu 16.04. Tried all kinds of stuff, no success. Finally found this thread and disconnected the network connection.
Boom, all ports are back. WTF is this?

uninstalled the modem manager, but no change.

Once arduino is started i can reenable the network connection ann everything works fine, even new ports are detected then.

rmtucker

I have signed up just to reply.
Exactly the same problem with ubuntu 16.04.
Just started doing this today.Annoying >:(  >:(

Paulo74

Very strange, we experiment the same problem today with two different laptops running Windows 7 and Windows 10 and two different genuine Arduino Uno boards. It was working last week.

We tried to reboot, to reinstall the IDE and the CH340 drivers, without success. We can see the connexion in the Windows Device Manager, and which port is used (usually COM6), but the port does not appear in the IDE.

Paulo74

A solution (at least for Windows users): plug your Adruino AND WAIT!

On my laptop it takes exactly 3 minutes to let the COM port appearing in the menu. On a friend desktop, near to 5 minutes! But after it's working.

I guess the reason is a Windows update :-(

evanevery

Same issues here (win10)!

Looks like a bug or update issue...  Since other folks are also reporting problems on Linux builds, I'm going to guess some sort of odd bug...

Looks like we need an update to the IDE?

evanevery

#8
Jun 14, 2018, 06:36 pm Last Edit: Jun 14, 2018, 07:38 pm by evanevery
I just checked a couple of my other Win10 machines and then downloaded a few older versions of the IDE to test.

Looks like all versions of the IDE since 1.6.11 are suddenly having this problem...  1.6.11 continues to properly enumerate all the COM ports, but any newer version has suddenly stopped working!

I would chalk this up to some Microsoft update nonsense, but other folks (in this thread) are also reporting this same behavior on Linux platforms as well.







evanevery

A solution (at least for Windows users): plug your Adruino AND WAIT!

On my laptop it takes exactly 3 minutes to let the COM port appearing in the menu. On a friend desktop, near to 5 minutes! But after it's working.

I guess the reason is a Windows update :-(
This does not work for me.  The only thing which is working is to downgrade to v1.6.11.  (All later versions appear to have same issue)

caslor

Same problem here

with linux -  Ubuntu 16.04.4 LTS

suddenly as i was refreshing one library and restarted my arduino ide  (1.8.1 x64)   couldnt see the ports any more

i was searching almost 2 hours for a solution to this

i have noticed that when i am starting Arduino Ide with no board in the usb  then the port is active with the   /dev/ttys0  option

but when i have connected previously a uno board  the port option is Grey

also i noticed that with some mega 2560 boards  the arduino ide can see them if they are connected


after i read the previous posts here  i can confirm that mine also after 3 minutes  the port became active and can see the usb ports


evanevery

Same problem here

with linux -  Ubuntu 16.04.4 LTS

suddenly as i was refreshing one library and restarted my arduino ide  (1.8.1 x64)   couldnt see the ports any more

i was searching almost 2 hours for a solution to this

i have noticed that when i am starting Arduino Ide with no board in the usb  then the port is active with the   /dev/ttys0  option

but when i have connected previously a uno board  the port option is Grey

also i noticed that with some mega 2560 boards  the arduino ide can see them if they are connected


after i read the previous posts here  i can confirm that mine also after 3 minutes  the port became active and can see the usb ports


That's very interesting...  "Board Connected BEFORE starting IDE = Greyed Ports Option"

The hub on my Win10 PC normally has an M5Stack device connected just for power/charging.  (The M5Stack is an ESP32 device which is supported by the Arduino IDE).

So I tried disconnecting it BEFORE starting the IDE and now I can see the PORTS.  If the IDE starts up with the MStack Connected, I can not see the PORTS.

So I have done some more testing testing (using an Arduino Mega2560 variant).  It appears:

1.  Having ANY Arduino (compatible) device connected BEFORE starting the IDE will render the PORTS Option greyed out...

2.  Connecting ANY Arduino device AFTER starting the IDE will leave the PORTS Option Functional, but the recently added device will not be listed (just the non-Arduino ports)...

So...   Still can't program any of my Arduino devices even if I connect them AFTER the IDE is started...

Something is really wrong here.  And as a daily user of the Arduino IDE, this is something very new (and very painful).

(1.6.11 still seems to work OK regardless...)


JP2222

After doing some more testing on Ubuntu 16.04.4 I can confirm several things:
- Disconnecting from the network allows the ports to show up
- Version 1.6.11 does not have these bugs
- If you let another version (1.6.13) sit for a long time, it will eventually detect the ports
- Interestingly, if you have the default port at ttyUSB0 (showing in the lower left of the IDE), even though the "ports" are not available, you can still successfully program the board. Weird.

Temporary solution on Ubuntu 16.04:
- Downgrade to version 1.6.11 of the Arduino IDE

JP2222

Leaving all networking configured on the Ubuntu 16.04 PC, the 1.6.13 IDE does not work (as stated before).

If you disconnect the internet connection (unplug the router from the external internet), still leaving all networking configured on the PC so you have your local network still, THE IDE WORKS.

Are the IDEs attempting to connect to a server somewhere, and only working if they fail to connect? Anyone have any insight?

evanevery

#14
Jun 14, 2018, 11:04 pm Last Edit: Jun 14, 2018, 11:14 pm by evanevery
I can confirm EXACTLY the same experience on my Win10 PC!

- If my ethernet cable is connected, my port option is greyed out.

- If I disconnect my ethernet cable, I can see all my ports!

What kind of nonsense is this?  This would indicate that some network service is required to be up and running if we are to do development on an online PC?  Why would that be?  Exactly what info is being exchanged?

Its also somewhat "comforting" that the Linux IDE is currently behaving the same as the Windows IDE...

Perhaps some online Arduino service is offline?  If so, why do we have this dependency?

(Thanks for a very astute observation!)


Go Up