Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to communicate with an Arduino from Ubuntu 12.04. When plugging in the USB cable, the arduino's serial port occurs as /dev/ttyUSB0. When I try to connect to it using moserial, I'm getting an "Could not open device /dev/ttyUSB0" error, but not when I launch moserial using sudo. What I have to configure to make the serial device accessible as normal non-root user?

share|improve this question
up vote 4 down vote accepted

You most likely have ConsoleKit running in Ubuntu, which can automatically configure device permissions according to udev rules.

Add the following to /etc/udev/rules.d/60-extra-acl.rules1:

KERNEL="ttyUSB[0-9]*", TAG+="udev-acl", TAG+="uaccess"

(1Yes, create the file. It doesn't exist by default.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.