- Timestamp:
- 08/23/07 07:09:41 (17 months ago)
- Location:
- trunk/etc
- Files:
-
- 2 modified
-
openct.fdi (modified) (1 diff)
-
openct.hald.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/etc/openct.fdi
r996 r998 2 2 <deviceinfo version="0.2"> 3 3 <device> 4 <match key="info.bus" string="usb _device">4 <match key="info.bus" string="usb"> 5 5 6 <match key="usb _device.vendor_id" int="0973">7 <match key="usb _device.product_id" int="0001">8 <merge key="info.category" type="string">smart_card </merge>6 <match key="usb.vendor_id" int="0x0973"> 7 <match key="usb.product_id" int="0x0001"> 8 <merge key="info.category" type="string">smart_card_reader</merge> 9 9 <append key="info.addons" type="strlist">hald-addon-openct</append> 10 10 </match> 11 11 </match> 12 12 13 <match key="usb _device.vendor_id" int="0529">14 <match key="usb _device.product_id" int="050c">15 <merge key="info.category" type="string">smart_card </merge>13 <match key="usb.vendor_id" int="0x0529"> 14 <match key="usb.product_id" int="0x050c"> 15 <merge key="info.category" type="string">smart_card_reader</merge> 16 16 <append key="info.addons" type="strlist">hald-addon-openct</append> 17 17 </match> 18 18 </match> 19 19 20 <match key="usb _device.vendor_id" int="0529">21 <match key="usb _device.product_id" int="0514">22 <merge key="info.category" type="string">smart_card </merge>20 <match key="usb.vendor_id" int="0x0529"> 21 <match key="usb.product_id" int="0x0514"> 22 <merge key="info.category" type="string">smart_card_reader</merge> 23 23 <append key="info.addons" type="strlist">hald-addon-openct</append> 24 24 </match> 25 25 </match> 26 26 27 <match key="usb _device.vendor_id" int="0529">28 <match key="usb _device.product_id" int="0600">29 <merge key="info.category" type="string">smart_card </merge>27 <match key="usb.vendor_id" int="0x0529"> 28 <match key="usb.product_id" int="0x0600"> 29 <merge key="info.category" type="string">smart_card_reader</merge> 30 30 <append key="info.addons" type="strlist">hald-addon-openct</append> 31 31 </match> 32 32 </match> 33 33 34 <match key="usb _device.vendor_id" int="0529">35 <match key="usb _device.product_id" int="0700">36 <merge key="info.category" type="string">smart_card </merge>34 <match key="usb.vendor_id" int="0x0529"> 35 <match key="usb.product_id" int="0x0700"> 36 <merge key="info.category" type="string">smart_card_reader</merge> 37 37 <append key="info.addons" type="strlist">hald-addon-openct</append> 38 38 </match> 39 39 </match> 40 40 41 <match key="usb _device.vendor_id" int="073d">42 <match key="usb _device.product_id" int="0005">43 <merge key="info.category" type="string">smart_card </merge>41 <match key="usb.vendor_id" int="0x073d"> 42 <match key="usb.product_id" int="0x0005"> 43 <merge key="info.category" type="string">smart_card_reader</merge> 44 44 <append key="info.addons" type="strlist">hald-addon-openct</append> 45 45 </match> 46 46 </match> 47 47 48 <match key="usb _device.vendor_id" int="04b9">49 <match key="usb _device.product_id" int="1200">50 <merge key="info.category" type="string">smart_card </merge>48 <match key="usb.vendor_id" int="0x04b9"> 49 <match key="usb.product_id" int="0x1200"> 50 <merge key="info.category" type="string">smart_card_reader</merge> 51 51 <append key="info.addons" type="strlist">hald-addon-openct</append> 52 52 </match> 53 53 </match> 54 54 55 <match key="usb _device.vendor_id" int="04b9">56 <match key="usb _device.product_id" int="1300">57 <merge key="info.category" type="string">smart_card </merge>55 <match key="usb.vendor_id" int="0x04b9"> 56 <match key="usb.product_id" int="0x1300"> 57 <merge key="info.category" type="string">smart_card_reader</merge> 58 58 <append key="info.addons" type="strlist">hald-addon-openct</append> 59 59 </match> 60 60 </match> 61 61 62 <match key="usb _device.vendor_id" int="096e">63 <match key="usb _device.product_id" int="0005">64 <merge key="info.category" type="string">smart_card </merge>62 <match key="usb.vendor_id" int="0x096e"> 63 <match key="usb.product_id" int="0x0005"> 64 <merge key="info.category" type="string">smart_card_reader</merge> 65 65 <append key="info.addons" type="strlist">hald-addon-openct</append> 66 66 </match> 67 67 </match> 68 68 69 <match key="usb _device.device_class" int="0b">70 <match key="usb _device.device_subclass" int="00">71 <merge key="info.category" type="string">smart_card </merge>69 <match key="usb.interface.class" int="0xb"> 70 <match key="usb.interface.subclass" int="0x0"> 71 <merge key="info.category" type="string">smart_card_reader</merge> 72 72 <append key="info.addons" type="strlist">hald-addon-openct</append> 73 73 </match> 74 74 </match> 75 75 76 <match key="usb _device.vendor_id" int="04e6">77 <match key="usb _device.product_id" int="0003">78 <merge key="info.category" type="string">smart_card </merge>76 <match key="usb.vendor_id" int="0x04e6"> 77 <match key="usb.product_id" int="0x0003"> 78 <merge key="info.category" type="string">smart_card_reader</merge> 79 79 <append key="info.addons" type="strlist">hald-addon-openct</append> 80 80 </match> 81 81 </match> 82 82 83 <match key="usb _device.vendor_id" int="072f">84 <match key="usb _device.product_id" int="0001">85 <merge key="info.category" type="string">smart_card </merge>83 <match key="usb.vendor_id" int="0x072f"> 84 <match key="usb.product_id" int="0x0001"> 85 <merge key="info.category" type="string">smart_card_reader</merge> 86 86 <append key="info.addons" type="strlist">hald-addon-openct</append> 87 87 </match> 88 88 </match> 89 89 90 <match key="usb _device.vendor_id" int="072f">91 <match key="usb _device.product_id" int="8009">92 <merge key="info.category" type="string">smart_card </merge>90 <match key="usb.vendor_id" int="0x072f"> 91 <match key="usb.product_id" int="0x8009"> 92 <merge key="info.category" type="string">smart_card_reader</merge> 93 93 <append key="info.addons" type="strlist">hald-addon-openct</append> 94 94 </match> 95 95 </match> 96 96 97 <match key="usb _device.vendor_id" int="072f">98 <match key="usb _device.product_id" int="9000">99 <merge key="info.category" type="string">smart_card </merge>97 <match key="usb.vendor_id" int="0x072f"> 98 <match key="usb.product_id" int="0x9000"> 99 <merge key="info.category" type="string">smart_card_reader</merge> 100 100 <append key="info.addons" type="strlist">hald-addon-openct</append> 101 101 </match> 102 102 </match> 103 103 104 <match key="usb _device.vendor_id" int="072f">105 <match key="usb _device.product_id" int="90d0">106 <merge key="info.category" type="string">smart_card </merge>104 <match key="usb.vendor_id" int="0x072f"> 105 <match key="usb.product_id" int="0x90d0"> 106 <merge key="info.category" type="string">smart_card_reader</merge> 107 107 <append key="info.addons" type="strlist">hald-addon-openct</append> 108 108 </match> -
trunk/etc/openct.hald.in
r895 r998 1 1 #!/bin/bash 2 2 3 PRODUCT="$HAL_PROP_USB_DEVICE_VENDOR_ID/$HAL_PROP_USB_DEVICE_PRODUCT_ID" 3 PRODUCT="`printf %x/%x/%x $HAL_PROP_USB_VENDOR_ID $HAL_PROP_USB_PRODUCT_ID \ 4 $HAL_PROP_USB_DEVICE_REVISION_BCD`" 4 5 5 DEVICE=`printf /dev/bus/usb/%03u/%03u \ 6 $HAL_PROP_USB_DEVICE_BUS_NUMBER \ 7 $HAL_PROP_USB_DEVICE_LINUX_DEVICE_NUMBER` 6 DEVICE="`printf /dev/bus/usb/%03u/%03u \ 7 $HAL_PROP_USB_BUS_NUMBER $HAL_PROP_USB_LINUX_DEVICE_NUMBER`" 8 8 9 9 if test -e $DEVICE … … 12 12 fi 13 13 14 DEVICE=`printf /proc/bus/usb/%03u/%03u \ 15 $HAL_PROP_USB_DEVICE_BUS_NUMBER \ 16 $HAL_PROP_USB_DEVICE_LINUX_DEVICE_NUMBER` 14 DEVICE="`printf /proc/bus/usb/%03u/%03u \ 15 $HAL_PROP_USB_BUS_NUMBER $HAL_PROP_USB_LINUX_DEVICE_NUMBER`" 17 16 exec SBINDIR/openct-control attach usb:$PRODUCT usb $DEVICE
