Changeset 1103 for trunk


Ignore:
Timestamp:
01/02/09 14:00:23 (3 years ago)
Author:
alonbl
Message:

Do not execute ifdhandler more than one time (udev)

udev adds usb device and usb interfaces, for devices
that are detected by vendor and product, run the openct_usb
only for the device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/etc/openct.udev.in

    r1082 r1103  
    2020PROGRAM="/bin/sleep 0.1" 
    2121 
     22# ccid 
     23ENV{DEVTYPE}=="usb_interface", SYSFS{bInterfaceClass}=="0b", SYSFS{bInterfaceSubClass}=="00", SYSFS{bInterfaceProtocol}=="00" RUN+="@udevdir@/openct_usb" 
     24 
     25ENV{DEVTYPE}!="usb_device", GOTO="openct_usb_rules_end" 
    2226# egate 
    2327SYSFS{idVendor}=="0973", SYSFS{idProduct}=="0001", RUN+="@udevdir@/openct_usb" 
     
    4044#SYSFS{idVendor}=="076b", SYSFS{idProduct}=="1784", RUN+="@udevdir@/openct_usb" 
    4145#SYSFS{idVendor}=="08d4", SYSFS{idProduct}=="0009", RUN+="@udevdir@/openct_usb" 
    42  
    43 # ccid 
    44 SYSFS{bInterfaceClass}=="0b", SYSFS{bInterfaceSubClass}=="00", SYSFS{bInterfaceProtocol}=="00" RUN+="@udevdir@/openct_usb" 
    4546 
    4647# spr 532 - ccid, but with wrong interface class (vendor) :( 
Note: See TracChangeset for help on using the changeset viewer.