1
votes

I've recently switched to a Linux Machine and tried to set up my Arduino IDE for a little project. Unfortunatly I get an error message when I try to upload my sketch to the Arduino (Uno R3).

User configuration file does not exist or is not a regular file,skipping. Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
avrdude done. Thank you.

My user is part of the dialout group, and when I use avrdude manually evrything is fine. The error persits even when I change access permissions to rw-rw-rw-.

I tried to reinstall the IDE, to switch to an older version, to switch to a newer version, nothing worked so far.

The version I've currently installed is Arduino 1.8.5.

I would appreciate any kind of help. Thank's in advance.

1

1 Answers

0
votes

Run the following commands in the terminal, it should work!

>>ls /dev/ttyACM0

>>sudo chmod a+rw /dev/ttyACM0

>>ls /dev/ttyACM0