sábado, setembro 30, 2017

Arduino Linux Permission denied



Arduino IDE error - avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied

avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
ioctl("TIOCMGET"): Inappropriate ioctl for device

Solution:
$ sudo usermod -a -G dialout
$ sudo chmod a+rw /dev/ttyACM0