add udev rules for all (currently) supported devices

This commit is contained in:
Harald Welte 2017-03-06 21:03:41 +01:00
parent 822d66ef69
commit 1892fc1d7c
1 changed files with 21 additions and 0 deletions

21
host/99-simtrace2.rules Normal file
View File

@ -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"