Look at http://arduino.cc/playground/Linux/All
Download the Arduino IDE by typing
$ sudo apt-get install arduino
Managing USB permissions
*) Configure UDEV. This is for Arduino Uno. Nano has another vendor-id (23xx, i think). Find out by typing while having your device plugged in:
$ lsusb | grep 23[0-9][0-9]
*) Edit the udev rule file:
$ sudo nano /etc/udev/rules.d/81_arduido.rules
*) Add the following line:
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="00[3-a][0-f]", MODE="666", SYMLINK+="arduino arduino_$attr{serial}"
*) Restart udev:
$ sudo udevadm control --reload-rules
*) Find the dialout group name (usualy "dialout") by typing:
$ sudo ls -al /dev/ttyACM*
*) Add your self to that group.
$ sudo usermod -a -G
Remember that you will have to disconnect/connect the arduino and log out/log in before any changes take effect. To be extra super sure, reboot your system...
nice blog I like it very I learn something about Managing USB permissions
ReplyDeleteFinal Year Arduino Project Centers Chennai