hal/fdi/information/10freedesktop 10-usb-card-readers.fdi,1.3,1.4

Richard Hughes hughsient at freedesktop.org
Mon Nov 21 08:17:22 PST 2005


Update of /cvs/hal/hal/fdi/information/10freedesktop
In directory gabe:/tmp/cvs-serv2522/fdi/information/10freedesktop

Modified Files:
	10-usb-card-readers.fdi 
Log Message:
Add patch from Pozsar Balazs to match another common theme for USB card readers.

Index: 10-usb-card-readers.fdi
===================================================================
RCS file: /cvs/hal/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- 10-usb-card-readers.fdi	1 Nov 2005 16:54:35 -0000	1.3
+++ 10-usb-card-readers.fdi	21 Nov 2005 16:17:19 -0000	1.4
@@ -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-commit mailing list