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?
You most likely have ConsoleKit running in Ubuntu, which can automatically configure device permissions according to udev rules.
Add the following to
(1Yes, create the file. It doesn't exist by default.)