xref: /titanic_50/usr/src/cmd/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi (revision 18c2aff776a775d34a4c9893a4c72e0434d68e36)
1<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->
2
3<deviceinfo version="0.2">
4  <device>
5
6    <!-- Should probably move to separate file for pcmcia devices -->
7    <match key="storage.bus" string="pcmcia">
8      <match key="storage.model" contains="FLASH">
9        <merge key="storage.drive_type" type="string">compact_flash</merge>
10      </match>
11    </match>
12
13    <!-- Should probably move to separate file for firewire devices -->
14    <match key="storage.bus" string="ieee1394">
15      <match key="storage.model" string="FWIRE CF READER">
16        <merge key="storage.drive_type" type="string">compact_flash</merge>
17      </match>
18    </match>
19
20    <!-- Generic catch all -->
21    <match key="storage.bus" string="usb">
22      <match key="storage.model" contains="HS-CF">
23        <merge key="storage.drive_type" type="string">compact_flash</merge>
24      </match>
25      <match key="storage.model" contains="HS-MS">
26        <merge key="storage.drive_type" type="string">memory_stick</merge>
27      </match>
28      <match key="storage.model" contains="HS-SM">
29        <merge key="storage.drive_type" type="string">smart_media</merge>
30      </match>
31      <match key="storage.model" contains="HS-SD/MMC">
32        <merge key="storage.drive_type" type="string">sd_mmc</merge>
33      </match>
34
35      <!-- Another common theme -->
36      <match key="storage.model" contains="USB CF Reader">
37        <merge key="storage.drive_type" type="string">compact_flash</merge>
38      </match>
39      <match key="storage.model" contains="USB MS Reader">
40        <merge key="storage.drive_type" type="string">memory_stick</merge>
41      </match>
42      <match key="storage.model" contains="USB SM Reader">
43        <merge key="storage.drive_type" type="string">smart_media</merge>
44      </match>
45      <match key="storage.model" contains="USB SD Reader">
46        <merge key="storage.drive_type" type="string">sd_mmc</merge>
47      </match>
48
49      <!-- Yet another common theme -->
50      <match key="storage.model" contains="Reader-CF">
51        <merge key="storage.drive_type" type="string">compact_flash</merge>
52      </match>
53      <match key="storage.model" contains="Reader-MS">
54        <merge key="storage.drive_type" type="string">memory_stick</merge>
55      </match>
56      <match key="storage.model" contains="Reader-SM">
57        <merge key="storage.drive_type" type="string">smart_media</merge>
58      </match>
59      <match key="storage.model" contains="Reader-SD">
60        <merge key="storage.drive_type" type="string">sd_mmc</merge>
61      </match>
62
63      <!-- Yet another common theme -->
64      <match key="storage.model" contains="Storage-CFC">
65        <merge key="storage.drive_type" type="string">compact_flash</merge>
66      </match>
67      <match key="storage.model" contains="Storage-MSC">
68        <merge key="storage.drive_type" type="string">memory_stick</merge>
69      </match>
70      <match key="storage.model" contains="Storage-SMC">
71        <merge key="storage.drive_type" type="string">smart_media</merge>
72      </match>
73      <match key="storage.model" contains="Storage-MMC">
74        <merge key="storage.drive_type" type="string">sd_mmc</merge>
75      </match>
76      <match key="storage.model" contains="Storage-SDC">
77        <merge key="storage.drive_type" type="string">sd_mmc</merge>
78      </match>
79
80      <!-- Some noname USB2.0 Card Reader -->
81      <match key="storage.model" string="IC1210        CF">
82        <merge key="storage.drive_type" type="string">compact_flash</merge>
83      </match>
84      <match key="storage.model" string="IC1210        MS">
85        <merge key="storage.drive_type" type="string">memory_stick</merge>
86      </match>
87      <match key="storage.model" string="IC1210        SM">
88        <merge key="storage.drive_type" type="string">smart_media</merge>
89      </match>
90      <match key="storage.model" string="IC1210    MMC/SD">
91        <merge key="storage.drive_type" type="string">sd_mmc</merge>
92      </match>
93
94      <!-- Lexar CF Reader -->
95      <match key="@storage.physical_device:usb.vendor_id" int="0x05dc">
96        <match key="@storage.physical_device:usb.product_id" int="0x0002">
97          <merge key="storage.drive_type" type="string">compact_flash</merge>
98        </match>
99      </match>
100
101      <!-- SanDisk ImageMate II CF Reader -->
102      <match key="@storage.physical_device:usb.vendor_id" int="0x0781">
103        <match key="@storage.physical_device:usb.product_id" int="0x0002">
104          <merge key="storage.drive_type" type="string">compact_flash</merge>
105        </match>
106      </match>
107
108      <!-- Sony Ericsson Handys with Memory Stick (Duo) -->
109      <match key="@storage.physical_device:usb.vendor_id" int="0xfce">
110        <!-- K750i -->
111	<match key="@storage.physical_device:usb.product_id" int="0xd016">
112          <merge key="storage.drive_type" type="string">memory_stick</merge>
113          <merge key="info.vendor" type="copy_property">@storage.physical_device:usb.vendor</merge>
114          <merge key="storage.vendor" type="copy_property">@storage.physical_device:usb.vendor</merge>
115	</match>
116	<!-- General match-->
117	<match key="storage.model" contains="Memory Stick">
118          <merge key="storage.drive_type" type="string">memory_stick</merge>
119          <merge key="info.vendor" type="copy_property">@storage.physical_device:usb.vendor</merge>
120          <merge key="storage.vendor" type="copy_property">@storage.physical_device:usb.vendor</merge>
121	</match>
122      </match>
123
124    </match>
125
126  </device>
127</deviceinfo>
128