From 1892fc1d7c9a7b52ad056359e925d2a9505a912f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 6 Mar 2017 21:03:41 +0100 Subject: [PATCH] add udev rules for all (currently) supported devices --- host/99-simtrace2.rules | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 host/99-simtrace2.rules diff --git a/host/99-simtrace2.rules b/host/99-simtrace2.rules new file mode 100644 index 00000000..4a8b2eaa --- /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"