chiark / gitweb /
Do no isolate in case of emergency or severe problems
[elogind.git] / src / login / 70-uaccess.rules
index ca7ca133a35ee8d6e4f7d2097357dbfb620999cf..a118f8e887b97515a737404cb2f9f8d57efae9c2 100644 (file)
@@ -9,7 +9,6 @@ ACTION=="remove", GOTO="uaccess_end"
 ENV{MAJOR}=="", GOTO="uaccess_end"
 
 # PTP/MTP protocol devices, cameras, portable media players
-SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="", ENV{DEVTYPE}=="usb_device", IMPORT{builtin}="usb_id"
 SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", TAG+="uaccess"
 
 # Digicams with proprietary protocol
@@ -51,6 +50,9 @@ SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="uaccess"
 # smart-card readers
 ENV{ID_SMARTCARD_READER}=="*?", TAG+="uaccess"
 
+# (USB) authentication devices
+ENV{ID_SECURITY_TOKEN}=="*?", TAG+="uaccess"
+
 # PDA devices
 ENV{ID_PDA}=="*?", TAG+="uaccess"