summarylogtreecommitdiffstats
path: root/stm32dfu.udev.rules
diff options
context:
space:
mode:
authorPeter Ivanov2018-03-18 09:34:33 +0100
committerPeter Ivanov2018-03-18 09:34:33 +0100
commit2e5af4f2b0dc17fc4d5fcf4b73e64290ec44ee4d (patch)
tree2d260aeaa99032fc52c528bdd0f652f36b797252 /stm32dfu.udev.rules
downloadaur-2e5af4f2b0dc17fc4d5fcf4b73e64290ec44ee4d.tar.gz
Initial commit.
Diffstat (limited to 'stm32dfu.udev.rules')
-rw-r--r--stm32dfu.udev.rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/stm32dfu.udev.rules b/stm32dfu.udev.rules
new file mode 100644
index 000000000000..138ddc4258b5
--- /dev/null
+++ b/stm32dfu.udev.rules
@@ -0,0 +1,10 @@
+# stm32 boards, with onboard DFU support
+
+SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", \
+ MODE:="0666", \
+ SYMLINK+="stm32_dfu"
+
+# 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.