aboutsummaryrefslogtreecommitdiffstats
path: root/udev/20-ykfde.rules
diff options
context:
space:
mode:
Diffstat (limited to 'udev/20-ykfde.rules')
-rw-r--r--udev/20-ykfde.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/20-ykfde.rules b/udev/20-ykfde.rules
index 54cd1c2..641192b 100644
--- a/udev/20-ykfde.rules
+++ b/udev/20-ykfde.rules
@@ -1,4 +1,5 @@
# do challenge response with Yubikey II and try to answer
# password agent
-ACTION=="add", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111", \
+ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
+ ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010|0110|0111", \
RUN+="/usr/lib/udev/ykfde"