X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2F70-uaccess.rules;h=a118f8e887b97515a737404cb2f9f8d57efae9c2;hb=2b4ac8896bdc6cc5159088d7d208559d53caacf3;hp=18dd4433e73996c4cc08c673bc262fa82f0c48ad;hpb=83cd6b754b270091840456a2c8a66dae19f5a7dc;p=elogind.git diff --git a/src/login/70-uaccess.rules b/src/login/70-uaccess.rules index 18dd4433e..a118f8e88 100644 --- a/src/login/70-uaccess.rules +++ b/src/login/70-uaccess.rules @@ -1,15 +1,14 @@ # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. 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"