I'm new to linux so excuse my lack of terminology. I'm having issues with selecting a com port from arduino IDE. I followed the arduino website installation and tried to access ttyACM0 because that's what the tools>port originally had. I tried giving my user access to the port using the sudo usermod -a -G dialout and then restarted my computer. When I opened up the IDE the "port" selection was greyed out and I cannot select anything. Tried bouncing the cable around to different ports and same result. Did I somehow remove my users permissions for the com ports, and how might I fix this?
0
votes
1 Answers
1
votes
I faced a similar issue some days ago. Somebody else might find useful executing this command:
ls /dev/tty*
before and after connecting your microcontroller by USB.
Check the new entry that may appear.
When you get that entry (Arduino ide may show it in tools-port), proceed with these:
ls -l {your port}
for example /dev/ttyUSB0 That should diplay something like this:
crw-rw---- 1 root uucp 188, 0 ene 21 02:35 /dev/ttyUSB0
The only part that matters is the one that shows uucp, the group.
Bearing that in mind, continue with:
sudo usermod -a -G {the previously displayed group} {your user}
Finally, log out and log in again to make this change effective