diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-05-19 16:57:37 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-05-19 16:57:37 +0000 |
commit | 371180782da0912503e051fb0a80dfb5d056aabc (patch) | |
tree | 28c6f056b3bd501426a745e977edf2e9b987846b | |
parent | added support for arduino2009 (diff) |
added udev rules examples to README
git-svn-id: https://svn.spreadspace.org/avr/trunk@15 aa12f405-d877-488e-9caf-2d797e2a1cc7
-rw-r--r-- | README | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -13,7 +13,28 @@ teensy_loader udev example rules ================== -tba... +DFU programmable Boards: +------------------------ + +SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="03eb", ATTR{idProduct}=="*", GROUP="plugdev", MODE:="0660" + +Teensy Boards: +-------------- + +SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666" +KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", SYMLINK+="ttyUSB00%n", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1" + +Arduino Boards: +--------------- + +SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A6008hTA", SYMLINK+="arduino", OWNER="equinox", GROUP="equinox" + +Replace "A6008hTA" with the serial of your arduino board. You can obtain it +with the following command: + +udevadm info --name /dev/ttyUSB0 --attribute-walk | grep ATTRs{serial} + +(replace ttyUSB0 with the actual device your arduino uses) Build @@ -33,9 +54,3 @@ build and flash blink example # make # make program # make run - - -Usage: -====== - -tba... |