From 371180782da0912503e051fb0a80dfb5d056aabc Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 19 May 2012 16:57:37 +0000 Subject: added udev rules examples to README git-svn-id: https://svn.spreadspace.org/avr/trunk@15 aa12f405-d877-488e-9caf-2d797e2a1cc7 --- README | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) (limited to 'README') diff --git a/README b/README index e92efd9..fb0f678 100644 --- a/README +++ b/README @@ -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... -- cgit v1.2.3