Just finished installing arduino for the first time. I got a prompt about adding a user to a certain group. I accepted and continued. I tried to get the 'Blink' program to work. But everytime I try to upload, I get the following error;
avrdude: ser_open(): can't open device "/dev/ttyACM0": Input/output error ioctl("TIOCMGET"): Invalid argument
I started arduino as root. I know this isn't suggested. But it was the only way I could get the "SERIAL PORT" to be ungreyed. After trying to upload code and getting that error. The serial port option becomes greyed out again.
- Did I install arduino incorrectly?
- How can I correct the mentioned error?
- What can I do to keep the serial port from being greyed out?
ls -l /dev/ttyACM0
andid
? \$\endgroup\$dmesg | grep -iC5 ttyACM
. \$\endgroup\$