mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
dbdcd51f78
70-uaccess.rules sets the uaccess tag on devices with ID_SMARTCARD_READER set, but it is set in 99-systemd.rules . Move this to a 60-*.rules which already matches USB CCID class, factorising the matching, so 70-uaccess.rules sets up these devices as expected.
14 lines
491 B
Text
14 lines
491 B
Text
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION=="remove", GOTO="fido_id_end"
|
|
|
|
SUBSYSTEM=="hidraw", IMPORT{program}="fido_id"
|
|
|
|
# Tag any form of security token as such
|
|
ENV{ID_SECURITY_TOKEN}=="1", TAG+="security-device"
|
|
|
|
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0b????:*", ENV{ID_SMARTCARD_READER}="1"
|
|
# Tag any CCID device (i.e. Smartcard Reader) as security token
|
|
ENV{ID_SMARTCARD_READER}=="1", TAG+="security-device"
|
|
|
|
LABEL="fido_id_end"
|