From 9f7b12a7825b40eb242009b575952c61fbc19dcd Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Sat, 02 Jul 2011 03:37:02 +0000 Subject: cooment on udev rules --- diff --git a/plugins/arduino/arduino.py b/plugins/arduino/arduino.py index 01e0595..747d2b0 100644 --- a/plugins/arduino/arduino.py +++ b/plugins/arduino/arduino.py @@ -39,7 +39,22 @@ class Arduino(Plugin): # plugin class def __init__(self, parent): self._parent = parent - self._status = False + self._status = False + + """ + The following code will initialize a USB-arduino connection . Please note that + in order to make this initialization function work, it is necessary to + set the permission for the ttyUSB device to 0666. You can do this by + adding a rule to /etc/udev/rules.d + + As root (using sudo or su), copy the following text into a new file in + /etc/udev/rules.d/94-ttyUSB-rules + + KERNEL=="ttyUSB[0-9]",MODE="0666" + + You only have to do this once. + + """ def setup(self): # set up Arduino-specific blocks -- cgit v0.9.1