# 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 # Disabled in this package - see https://bugzilla.redhat.com/287871 # 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" # Broadcom 5880 ATTR{idVendor}=="0a5c", ATTR{idProduct}=="5801", 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"