udev rules for non-root access, plus a symlink
authorKarl Palsson <karlp@tweak.net.au>
Fri, 7 Oct 2011 18:53:14 +0000 (18:53 +0000)
committerKarl Palsson <karlp@tweak.net.au>
Fri, 7 Oct 2011 19:41:55 +0000 (19:41 +0000)
49-stm32l-discovery.rules [new file with mode: 0644]

diff --git a/49-stm32l-discovery.rules b/49-stm32l-discovery.rules
new file mode 100644 (file)
index 0000000..1f3ce77
--- /dev/null
@@ -0,0 +1,10 @@
+# stm32l discovery board, with onboard st/linkv2
+#
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", \
+    MODE:="0666", \
+    SYMLINK+="stm32l_stlink%n"
+#
+# If you share your linux system with other users, or just don't like the
+# idea of write permission for everybody, you can replace MODE:="0666" with
+# OWNER:="yourusername" to create the device owned by you, or with
+# GROUP:="somegroupname" and mange access using standard unix groups.