Without it you have “Set the user’s groups to be this list”. That says “Add the user to these groups”. If you don’t have access to root through sudo or some other means then you will have to seek the assistance of an administrator who does have permission.įirst add your user (you’re called fred, right?) to the dialout group: $ sudo usermod -a -G dialout fred Only root has the permission to do that, so use sudo to execute the commands as root. So you need to add your user to that group.
#ARDUINO ATMEL USB DRIVER SERIAL#
The serial ports are all in the default group dialout, but your normal user isn’t. Permissions can be granted on files to the group that it belongs to, and users that are in that group can access those files. A group is a name given to a collection of users, files, devices etc., that go together. This is done through a Linux permission facility called groups. Fortunately granting permission to your user to access the serial ports is a simple matter, and one that you should always do by default to make life much simpler for you. That include serial ports and USB serial emulation ports (FTDI, etc). A normal user doesn’t, by default, have permission to talk to much in the way of hardware. The majority of problems a new user is faced with boil down to one simple thing: permissions. So I am going to introduce you to some of the basic tools you will need to work out why your board isn’t working as you’d like it to work. Getting Arduino and Arduino-like boards working properly under Linux can be a troublesome task if you are not familiar with how Linux works.