diff --git a/.gitattributes b/.gitattributes index 039e2f77bd..638861238e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,6 +18,7 @@ *.iml text eol=lf *.txt text eol=lf *.ini text eol=lf +*.rules text eol=lf # KiCad files *.dsn text eol=lf diff --git a/java_console/bin/st.rules b/java_console/bin/st.rules new file mode 100644 index 0000000000..87c8cc2a6d --- /dev/null +++ b/java_console/bin/st.rules @@ -0,0 +1,4 @@ +# put into /etc/udev/rules.d/ to grand all users access to ST USB devices + +SUBSYSTEM=="usb", ATTRS{idVendor}=="1234", MODE="0666" +SUBSYSTEM=="usb_device", ATTRS{idVendor}=="1234", MODE="0666" \ No newline at end of file