# 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"
# sysmocom OCTSIMTEST
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="616d", GROUP="plugdev"
# ngff-cardem
ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="616e", GROUP="plugdev"

# All done
LABEL="simtrace2_rules_end"
