From 9122358489dd5cdf61ea72a383f381010b6d56f2 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 15 Aug 2020 12:37:13 -0400 Subject: [PATCH] ST rules --- .gitattributes | 1 + java_console/bin/st.rules | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 java_console/bin/st.rules 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