aboutsummaryrefslogtreecommitdiff
path: root/99-marsond.rules.in
diff options
context:
space:
mode:
Diffstat (limited to '99-marsond.rules.in')
-rw-r--r--99-marsond.rules.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/99-marsond.rules.in b/99-marsond.rules.in
new file mode 100644
index 0000000..40719f2
--- /dev/null
+++ b/99-marsond.rules.in
@@ -0,0 +1,13 @@
+# udev rule for marsond.
+
+# should be installed to /etc/udev/rules.d/99-marsond.rules
+# (but NOT /lib/udev...)
+
+# if you need a user other than "nobody", you can add:
+# ENV{MARSOND_USER}="whoever",
+# and maybe ENV{MARSOND_GROUP}="somegroup" as well.
+
+# if you need extra arguments to marsond, you can put them in
+# the RUN string.
+
+ACTION=="add", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="0101", RUN+="@SBINDIR@/marsond"