aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-03-06 21:03:41 +0100
committerHarald Welte <laforge@gnumonks.org>2017-03-06 21:03:41 +0100
commit1892fc1d7c9a7b52ad056359e925d2a9505a912f (patch)
tree1568594aafbdb386acf2143988212aeaa6a5d974 /host
parent822d66ef69adf795491a21b08395935b6035b977 (diff)
add udev rules for all (currently) supported devices
Diffstat (limited to 'host')
-rw-r--r--host/99-simtrace2.rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/host/99-simtrace2.rules b/host/99-simtrace2.rules
new file mode 100644
index 0000000..4a8b2ea
--- /dev/null
+++ b/host/99-simtrace2.rules
@@ -0,0 +1,21 @@
+# udev rules to set the access rights of GemPC smart card readers
+# so they can be used by pcscd
+
+# If not adding the device, go away
+ACTION!="add", GOTO="simtrace2_rules_end"
+SUBSYSTEM!="usb", GOTO="simtrace2_rules_end"
+
+# sysmocom SIMtrace2 (DFU and runtime)
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60e2", GROUP="plugdev"
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60e3", GROUP="plugdev"
+# sysmocom OWHW (DFU and runtime)
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="4000", GROUP="plugdev"
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="4001", GROUP="plugdev"
+# sysmocom QMOD hub
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="4002", GROUP="plugdev"
+# sysmocom QMOD SAM3 (DFU and runtime)
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="4003", GROUP="plugdev"
+ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="4004", GROUP="plugdev"
+
+# All done
+LABEL="simtrace2_rules_end"