mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 10:43:35 +08: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.
15 lines
491 B
Plaintext
15 lines
491 B
Plaintext
# 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"
|