Serial ports greyed out on Linux

Hi,

I am working with an arduino for my first time. I am using the DUE on Linux Ubuntu 16.04. Tools > Port > Serial ports is greyed out. I understand this is an issue that has come up for others before, however I am not able to use their suggestions to solve my issue. I have given myself permission to the ports and added my user to the dialout group.

The arduino-1.6.11 folder in currently in my /home/ directory and I am not in root mode. Any suggestions would be very appreciated since this keeps me from using the serial monitor!

Elise

Same here on Archlinux OS and Arduino UNO.
I checked that a new device appearing in /dev, but is not a ttyACM0. Even symlinking it, the result is not working.
I've create a udev rule in /etc/udev/rules.d/97-Arduino.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0043", GROUP="users", MODE="0666", SYMLINK+="ArduiUno"

And the symlink is appearing.

$ ls -l /dev/ArduiUno
lrwxrwxrwx 1 root root 15 26 ago 16.22 /dev/ArduiUno -> bus/usb/003/015

The weird is that was before working as per /dev/ttyACM0 even the created link. Today I was trying to make some sound off the pin 13 and after connecting a loudspeaker with 560 Ohm in series, the data LED remain orange, not blinking as before.
Even pressing reset several times and restarting the Arduino UNO, nothing changed.

Solved !!
My bad, I got an update and I didn't restart the machine. So the kernel was unrelated with the modules.
After restarted everything gone back to normal :wink:

elise2016:
Hi,

I am working with an arduino for my first time. I am using the DUE on Linux Ubuntu 16.04. Tools > Port > Serial ports is greyed out. I understand this is an issue that has come up for others before, however I am not able to use their suggestions to solve my issue. I have given myself permission to the ports and added my user to the dialout group.

The arduino-1.6.11 folder in currently in my /home/ directory and I am not in root mode. Any suggestions would be very appreciated since this keeps me from using the serial monitor!

Elise

I am on Linux Mint 18 and Arduino ide 1.6.5 and I would have to go to:

Tools/Boards/ Boards Manager/

Then install the SAM boards by clicking on the more info
selecting Install.

You can check your 2 usb serial ports from the DUE this way.

Plug in each DUE USB serial Ports and do :
lsusb
then do:
dmesg
And then:
tail /var/log/syslog

You should see something like this. I am using an Uno.
~ $ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 007 Device 002: ID 04f2:0833 Chicony Electronics Co., Ltd
Bus 007 Device 004: ID 2341:0043 Arduino SA Uno R3 (CDC ACM) <<<<<<<<<
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

~ $ dmesg

[ 22.702754] usb 4-5: new full-speed USB device number 2 using ohci-pci
[ 22.881783] usb 4-5: New USB device found, idVendor=2341, idProduct=0043
[ 22.881795] usb 4-5: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 22.881802] usb 4-5: Manufacturer: Arduino (www.arduino.cc)
[ 22.881808] usb 4-5: SerialNumber: 8543833393535150A080
[ 22.922943] cdc_acm 4-5:1.0: ttyACM0: USB ACM device
[ 22.923956] usbcore: registered new interface driver cdc_acm
[ 22.923960] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[10808.178876] usb 4-5: USB disconnect, device number 2
[15686.963751] usb 7-1: new full-speed USB device number 4 using ohci-pci
[15687.142860] usb 7-1: New USB device found, idVendor=2341, idProduct=0043
[15687.142872] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[15687.142879] usb 7-1: Manufacturer: Arduino (www.arduino.cc)
[15687.142885] usb 7-1: SerialNumber: 8543833393535150A080
[15687.145087] cdc_acm 7-1:1.0: ttyACM0: USB ACM device

~ $ tail /var/log/syslog
Aug 26 12:17:01 hawk CRON[3864]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 26 13:05:21 hawk kernel: [15686.963751] usb 7-1: new full-speed USB device number 4 using ohci-pci
Aug 26 13:05:21 hawk kernel: [15687.142860] usb 7-1: New USB device found, idVendor=2341, idProduct=0043
Aug 26 13:05:21 hawk kernel: [15687.142872] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
Aug 26 13:05:21 hawk kernel: [15687.142879] usb 7-1: Manufacturer: Arduino (www.arduino.cc)
Aug 26 13:05:21 hawk kernel: [15687.142885] usb 7-1: SerialNumber: 8543833393535150A080
Aug 26 13:05:21 hawk kernel: [15687.145087] cdc_acm 7-1:1.0: ttyACM0: USB ACM device
Aug 26 13:05:21 hawk mtp-probe: checking bus 7, device 4: "/sys/devices/pci0000:00/0000:00:16.0/usb7/7-1"
Aug 26 13:05:21 hawk mtp-probe: bus: 7, device: 4 was not an MTP device

~ $ ls -la /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Aug 26 13:05 /dev/ttyACM0

I've checked these things and it's working now.
But for some reason the kernel try to switch from ttyACM0 and ttyACM1. It's obnoxious to go to the menus and select the new port.
Probably this fact is due by unplugging the cable while the Serial monitor still holding the previous driver. So when I plug the cable back kernel will assign a new port name.

My rule is working correctly, but I can't find any configuration to tell the IDE to use it.

Arduino 8266ESP for Mint18

Before you do anything, check the usb cable. Sometime they do not support all
contacts, that was the error in my case.
prereqquisites: Arduino IDE
Check boardinformation

End IDE before flashing!

Terminal:

ls -la /dev/ttyUSB*

answer
crw-rw---- 1 root dialout 188, 0 Feb 10 18:01 /dev/ttyUSB0

Put /dev/ttyUSB0 after -cp and after -cf name of firmware

for installing from Home

<computername<>user< # .arduino15/packages/esp8266/tools/esptool/0.4.12/esptool -vv -cd nodemcu -cb 57600 -ca 0x00000 -cp /dev/ttyUSB0 -cf latest_de.bin

esptool v0.4.12 - (c) 2014 Ch. Klippel ck@atelier-klippel.de
setting board to nodemcu
setting baudrate from 115200 to 57600
setting address from 0x00000000 to 0x00000000
setting port from to /dev/ttyUSB0
espcomm_upload_file
espcomm_upload_mem
opening port /dev/ttyUSB0 at 57600
tcgetattr
tcsetattr
serial open
opening bootloader
resetting board
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
trying to connect
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
Uploading 459776 bytes from latest_de.bin to flash at 0x00000000
erasing flash
size: 070400 address: 000000
first_sector_index: 0
total_sector_count: 113
head_sector_count: 16
adjusted_sector_count: 97
erase_size: 061000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting timeout 15000
setting timeout 1000
espcomm_send_command: receiving 2 bytes of data
writing flash
................................................................................ [ 17% ]
................................................................................ [ 35% ]
................................................................................ [ 53% ]
................................................................................ [ 71% ]
................................................................................ [ 89% ]
................................................. [ 100% ]
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader

esp3266jr:
Arduino 8266ESP for Mint18

[snip...]

Dude, why are you resurrecting a thread from almost 2 years ago ? ? ?

ieee488:
Dude, why are you resurrecting a thread from almost 2 years ago ? ? ?

Hi, because I have not found a solution for my problem and want to help others, if they are in the same situation. Ok it is 2 years ago, but is this a problem??

Thanks for your hint.