more usb card reader ids

Pozsar Balazs pozsy at uhulinux.hu
Tue Nov 15 13:31:50 PST 2005


Hi,

the following patch speaks for itself, please apply

-- 
pozsy

diff -Naurd c/fdi/information/10freedesktop/10-usb-card-readers.fdi d/fdi/information/10freedesktop/10-usb-card-readers.fdi
--- c/fdi/information/10freedesktop/10-usb-card-readers.fdi	2005-11-01 17:54:35.000000000 +0100
+++ d/fdi/information/10freedesktop/10-usb-card-readers.fdi	2005-11-15 22:22:48.000000000 +0100
@@ -51,6 +51,22 @@
       </match>
     </match>
 
+    <!-- Yet another common theme -->
+    <match key="storage.bus" string="usb">
+      <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>
+
     <!-- Lexar CF Reader -->
     <match key="storage.bus" string="usb">
       <match key="@storage.physical_device:usb.vendor_id" int="0x05dc">


More information about the hal mailing list