1 <?xml version=
"1.0" encoding=
"UTF-8"?> <!-- -*- xml -*- -->
3 <deviceinfo version=
"0.2">
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>
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>
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>
25 <match key=
"storage.model" contains=
"HS-MS">
26 <merge key=
"storage.drive_type" type=
"string">memory_stick
</merge>
28 <match key=
"storage.model" contains=
"HS-SM">
29 <merge key=
"storage.drive_type" type=
"string">smart_media
</merge>
31 <match key=
"storage.model" contains=
"HS-SD/MMC">
32 <merge key=
"storage.drive_type" type=
"string">sd_mmc
</merge>
35 <!-- Another common theme -->
36 <match key=
"storage.model" contains=
"USB CF Reader">
37 <merge key=
"storage.drive_type" type=
"string">compact_flash
</merge>
39 <match key=
"storage.model" contains=
"USB MS Reader">
40 <merge key=
"storage.drive_type" type=
"string">memory_stick
</merge>
42 <match key=
"storage.model" contains=
"USB SM Reader">
43 <merge key=
"storage.drive_type" type=
"string">smart_media
</merge>
45 <match key=
"storage.model" contains=
"USB SD Reader">
46 <merge key=
"storage.drive_type" type=
"string">sd_mmc
</merge>
49 <!-- Yet another common theme -->
50 <match key=
"storage.model" contains=
"Reader-CF">
51 <merge key=
"storage.drive_type" type=
"string">compact_flash
</merge>
53 <match key=
"storage.model" contains=
"Reader-MS">
54 <merge key=
"storage.drive_type" type=
"string">memory_stick
</merge>
56 <match key=
"storage.model" contains=
"Reader-SM">
57 <merge key=
"storage.drive_type" type=
"string">smart_media
</merge>
59 <match key=
"storage.model" contains=
"Reader-SD">
60 <merge key=
"storage.drive_type" type=
"string">sd_mmc
</merge>
63 <!-- Yet another common theme -->
64 <match key=
"storage.model" contains=
"Storage-CFC">
65 <merge key=
"storage.drive_type" type=
"string">compact_flash
</merge>
67 <match key=
"storage.model" contains=
"Storage-MSC">
68 <merge key=
"storage.drive_type" type=
"string">memory_stick
</merge>
70 <match key=
"storage.model" contains=
"Storage-SMC">
71 <merge key=
"storage.drive_type" type=
"string">smart_media
</merge>
73 <match key=
"storage.model" contains=
"Storage-MMC">
74 <merge key=
"storage.drive_type" type=
"string">sd_mmc
</merge>
76 <match key=
"storage.model" contains=
"Storage-SDC">
77 <merge key=
"storage.drive_type" type=
"string">sd_mmc
</merge>
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>
84 <match key=
"storage.model" string=
"IC1210 MS">
85 <merge key=
"storage.drive_type" type=
"string">memory_stick
</merge>
87 <match key=
"storage.model" string=
"IC1210 SM">
88 <merge key=
"storage.drive_type" type=
"string">smart_media
</merge>
90 <match key=
"storage.model" string=
"IC1210 MMC/SD">
91 <merge key=
"storage.drive_type" type=
"string">sd_mmc
</merge>
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>
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>
108 <!-- Sony Ericsson Handys with Memory Stick (Duo) -->
109 <match key=
"@storage.physical_device:usb.vendor_id" int=
"0xfce">
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>
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>