/usr/share/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi is in hal-info 20091130-1.
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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | <?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
<deviceinfo version="0.2">
<device>
<!-- Should probably move to separate file for pcmcia devices -->
<match key="storage.bus" string="pcmcia">
<match key="storage.model" contains="FLASH">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
</match>
<!-- Should probably move to separate file for firewire devices -->
<match key="storage.bus" string="ieee1394">
<match key="storage.model" string="FWIRE CF READER">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
</match>
<!-- Generic catch all -->
<match key="storage.bus" string="usb">
<match key="storage.model" prefix_outof="HS-;Reader-;IC1210 ">
<match key="storage.model" suffix="CF">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<match key="storage.model" suffix="MS">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
<match key="storage.model" suffix="SM">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
<match key="storage.model" suffix="xD">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
<match key="storage.model" suffix="SD">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
</match>
<!-- Yet another common theme -->
<match key="storage.model" contains="Storage-CFC">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<match key="storage.model" contains="Storage-MSC">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
<match key="storage.model" contains="Storage-SMC">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
<match key="storage.model" contains="Storage-MMC">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
<match key="storage.model" contains="Storage-SDC">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
<!-- Hama card reader -->
<match key="storage.model" contains_outof="Card;USB">
<match key="storage.model" contains="Reader">
<match key="storage.model" contains=" CF">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<match key="storage.model" contains=" MS">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
<match key="storage.model" contains=" SM">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
<match key="storage.model" contains_outof="MMC/SD; SD">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
</match>
</match>
<!-- Transcend Information Inc multi-card Readers -->
<match key="info.category" string="storage">
<match key="storage.model" contains="Compact Flash">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<match key="storage.model" contains_outof="SD/MMC;microSD">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
<match key="storage.model" contains="MS/MS-PRO">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
<match key="storage.model" contains="SM/xD-Picture">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
</match>
<!-- Noname multi-card Readers (vendor: Genesys Logic) -->
<match key="@storage.originating_device:usb.vendor_id" int="0x05e3">
<match key="@storage.originating_device:usb.product_id" int_outof="0x070e;0x0760;0x927">
<match key="storage.lun" int="0">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<match key="storage.lun" int="1">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
<match key="storage.lun" int="2">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
<match key="storage.lun" int="3">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
</match>
</match>
<!-- Lexar CF Reader -->
<match key="@storage.originating_device:usb.vendor_id" int="0x05dc">
<match key="@storage.originating_device:usb.product_id" int="0x0002">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
</match>
<!-- SanDisk ImageMate II CF Reader -->
<match key="@storage.originating_device:usb.vendor_id" int="0x0781">
<match key="@storage.originating_device:usb.product_id" int="0x0002">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<!-- SanDisk ImageMate 12 in 1 Reader -->
<match key="@storage.originating_device:usb.product_id" int="0xb4b5">
<match key="storage.lun" int="0">
<merge key="storage.drive_type" type="string">compact_flash</merge>
</match>
<match key="storage.lun" int="1">
<merge key="storage.drive_type" type="string">smart_media</merge>
</match>
<match key="storage.lun" int="2">
<merge key="storage.drive_type" type="string">sd_mmc</merge>
</match>
<match key="storage.lun" int="3">
<merge key="storage.drive_type" type="string">memory_stick</merge>
</match>
</match>
</match>
<!-- Sony Ericsson Handys with Memory Stick (Duo) -->
<match key="@storage.originating_device:usb.vendor_id" int="0xfce">
<!-- K750i -->
<match key="@storage.originating_device:usb.product_id" int="0xd016">
<merge key="storage.drive_type" type="string">memory_stick</merge>
<merge key="info.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
<merge key="storage.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
</match>
<!-- General match-->
<match key="storage.model" contains="Memory Stick">
<merge key="storage.drive_type" type="string">memory_stick</merge>
<merge key="info.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
<merge key="storage.vendor" type="copy_property">@storage.originating_device:usb.vendor</merge>
</match>
</match>
</match>
</device>
</deviceinfo>
|