From: Spencer Oliver Date: Wed, 4 Jan 2012 14:50:57 +0000 (+0000) Subject: contrib: add stlink udev rules X-Git-Tag: v0.6.0-rc1~327 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63c4af0104c5ec93b9821d730c11811c4609982d;p=openocd contrib: add stlink udev rules Change-Id: I3f11de8abfaf8821311a7aa0fd237006de3c2792 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/333 Tested-by: jenkins Reviewed-by: Mathias Küster --- diff --git a/contrib/openocd.udev b/contrib/openocd.udev index f7d50b6f..cffab06c 100644 --- a/contrib/openocd.udev +++ b/contrib/openocd.udev @@ -77,4 +77,10 @@ ATTRS{idVendor}=="1457", ATTRS{idProduct}=="5118", MODE="644", GROUP="plugdev" # XDS100v2 ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", MODE="664", GROUP="plugdev" +# stlink v1 +SYSFS{idVendor}=="0483", SYSFS{idProduct}=="3744", MODE="664", GROUP="plugdev" + +# stlink v2 +SYSFS{idVendor}=="0483", SYSFS{idProduct}=="3748", MODE="664", GROUP="plugdev" + LABEL="openocd_rules_end"