aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-21 04:13:16 +0000
committerkc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-21 04:13:16 +0000
commit3b4d5ae050780ddff2366fe6f96858e154573ac1 (patch)
treed8a65d0e40b16fd0805aed2bf5981d10037b6e55
parent99100ce2a4e881ac4f1e792642ce1bcd02dea26e (diff)
Add udev rules to contrib. Courtesy of Uwe Hermann <uwe@hermann-uwe.de>v0.1.0
git-svn-id: svn://svn.berlios.de/openocd/trunk@1354 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--Makefile.am3
-rw-r--r--contrib/openocd.udev25
2 files changed, 27 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f4d865e7..ef17876d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,8 @@ nobase_dist_pkgdata_DATA = \
contrib/libdcc/dcc_stdio.c \
contrib/libdcc/dcc_stdio.h \
contrib/libdcc/example.c \
- contrib/libdcc/README
+ contrib/libdcc/README \
+ contrib/openocd.udev
SUBDIRS = src doc
diff --git a/contrib/openocd.udev b/contrib/openocd.udev
new file mode 100644
index 00000000..f56cabd3
--- /dev/null
+++ b/contrib/openocd.udev
@@ -0,0 +1,25 @@
+BUS!="usb", ACTION!="add", SUBSYSTEM!=="usb_device", GOTO="openocd_rules_end"
+
+# Olimex ARM-USB-OCD
+SYSFS{idVendor}=="15ba", SYSFS{idProduct}=="0003", MODE="664", GROUP="plugdev"
+
+# Olimex ARM-USB-OCD-TINY
+SYSFS{idVendor}=="15ba", SYSFS{idProduct}=="0004", MODE="664", GROUP="plugdev"
+
+# USBprog with OpenOCD firmware
+SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c63", MODE="664", GROUP="plugdev"
+
+# Amontec JTAGkey
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="cff8", MODE="664", GROUP="plugdev"
+
+# Amontec JTAGkey-HiSpeed
+SYSFS{idVendor}=="0fbb", SYSFS{idProduct}=="1000", MODE="664", GROUP="plugdev"
+
+# IAR J-Link USB
+SYSFS{idVendor}=="1366", SYSFS{idProduct}=="0101", MODE="664", GROUP="plugdev"
+
+# Raisonance RLink
+SYSFS{idVendor}=="138e", SYSFS{idProduct}=="9000", MODE="664", GROUP="plugdev"
+
+LABEL="openocd_rules_end"
+