/lib/udev/rules.d/60-openct.rules is in openct 0.6.20-1.2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | # udev rules file for openct
# Update 2009-11-25
# Thanks to Scott James Remnant and Martin Pitt for helping on irc
# to figure out the new syntax / rules for udev.
# COMPATIBILITY NOTES
# new versions of udev want DRIVERS, older versions only support DRIVER
# new versions of udev want SUBSYSTEMS, older versions only support BUS
#
# new combinations of udev and linux kernel do not create proper events
# (or udev processes them "too fast" / race conditions) or similar.
# as a result there is no way to get openct-control run when a usb smart
# card reader is plugged in. restarting the init script will help as a
# crude workaround.
#
SUBSYSTEM!="usb", GOTO="openct_usb_rules_end"
ACTION!="add", GOTO="openct_usb_rules_end"
# last file created by the kernel, if this is present everything should be
# KERNEL=="[0-9]*:*", WAIT_FOR_ATTR="bInterfaceProtocol"
# 2010-01-06 removed, as latest udev doesn't know WAIT_FOR_ATTR any more.
# sleep for 100ms - the wait_for_sysfs might not be enough
PROGRAM="/bin/sleep 0.1"
# ccid
ATTR{bInterfaceClass}=="0b", ATTR{bInterfaceSubClass}=="00", ATTR{bInterfaceProtocol}=="00", ATTRS{idVendor}=="?*" RUN+="/lib/udev/openct_usb /dev/$parent"
# egate
ATTR{idVendor}=="0973", ATTR{idProduct}=="0001", RUN+="/lib/udev/openct_usb /dev/$name"
# eToken
ATTR{idVendor}=="0529", ATTR{idProduct}=="050c", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="0529", ATTR{idProduct}=="0514", RUN+="/lib/udev/openct_usb /dev/$name"
# eToken 64
ATTR{idVendor}=="0529", ATTR{idProduct}=="0600", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="0529", ATTR{idProduct}=="0700", RUN+="/lib/udev/openct_usb /dev/$name"
# eutron
ATTR{idVendor}=="073d", ATTR{idProduct}=="0005", RUN+="/lib/udev/openct_usb /dev/$name"
# ikey2k
ATTR{idVendor}=="04b9", ATTR{idProduct}=="1200", RUN+="/lib/udev/openct_usb /dev/$name"
# ikey3k
ATTR{idVendor}=="04b9", ATTR{idProduct}=="1300", RUN+="/lib/udev/openct_usb /dev/$name"
# starkey
ATTR{idVendor}=="096e", ATTR{idProduct}=="0005", RUN+="/lib/udev/openct_usb /dev/$name"
# cardman
#ATTR{idVendor}=="076b", ATTR{idProduct}=="0596", RUN+="/lib/udev/openct_usb /dev/$name"
#ATTR{idVendor}=="076b", ATTR{idProduct}=="1784", RUN+="/lib/udev/openct_usb /dev/$name"
#ATTR{idVendor}=="08d4", ATTR{idProduct}=="0009", RUN+="/lib/udev/openct_usb /dev/$name"
# spr 532 - ccid, but with wrong interface class (vendor) :(
ATTR{idVendor}=="04e6", ATTR{idProduct}=="0003", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="04e6", ATTR{idProduct}=="E003", RUN+="/lib/udev/openct_usb /dev/$name"
# pertosmart1030
ATTR{idVendor}=="072f", ATTR{idProduct}=="0001", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="072f", ATTR{idProduct}=="8009", RUN+="/lib/udev/openct_usb /dev/$name"
# pertosmart1038
ATTR{idVendor}=="072f", ATTR{idProduct}=="9000", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="072f", ATTR{idProduct}=="9006", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="072f", ATTR{idProduct}=="9007", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="072f", ATTR{idProduct}=="90d0", RUN+="/lib/udev/openct_usb /dev/$name"
# wbeiuu - driver not working yet.
#ATTR{idVendor}=="104f", ATTR{idProduct}=="0004", RUN+="/lib/udev/openct_usb /dev/$name"
# cyberjack
ATTR{idVendor}=="0c4b", ATTR{idProduct}=="0100", RUN+="/lib/udev/openct_usb /dev/$name"
# rutoken
ATTR{idVendor}=="0a89", ATTR{idProduct}=="0020", RUN+="/lib/udev/openct_usb /dev/$name"
ATTR{idVendor}=="0a89", ATTR{idProduct}=="0012", RUN+="/lib/udev/openct_usb /dev/$name"
# ePass3000
ATTR{idVendor}=="096e", ATTR{idProduct}=="0401", RUN+="/lib/udev/openct_usb /dev/$name"
LABEL="openct_usb_rules_end"
# udev pcmcia rules file for openct
#
SUBSYSTEMS!="pcmcia", GOTO="openct_pcmcia_rules_end"
ACTION!="add", GOTO="openct_pcmcia_rules_end"
# omnikey cardman 4040
SUBSYSTEM=="cardman_4040", RUN+="/lib/udev/openct_pcmcia /dev/$name"
# Gemplus PCMCIA Card
DRIVERS=="serial_cs", ATTR{prod_id1}=="Gemplus", ATTR{prod_id2}=="SerialPort", ATTR{prod_id3}=="GemPC Card", RUN+="/lib/udev/openct_serial /dev/$name"
LABEL="openct_pcmcia_rules_end"
|