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

Richard Hughes hughsient at freedesktop.org
Tue Nov 1 08:54:37 PST 2005


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

Modified Files:
	10-usb-card-readers.fdi 
Log Message:
Add yet another common naming theme for a generic card reader.

Index: 10-usb-card-readers.fdi
===================================================================
RCS file: /cvs/hal/hal/fdi/information/10freedesktop/10-usb-card-readers.fdi,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- 10-usb-card-readers.fdi	16 Mar 2005 02:20:15 -0000	1.2
+++ 10-usb-card-readers.fdi	1 Nov 2005 16:54:35 -0000	1.3
@@ -35,6 +35,22 @@
       </match>      
     </match>
 
+    <!-- Yet another common theme -->
+    <match key="storage.bus" string="usb">
+      <match key="storage.model" contains="Reader-CF">
+        <merge key="storage.drive_type" type="string">compact_flash</merge>
+      </match>
+      <match key="storage.model" contains="Reader-MS">
+        <merge key="storage.drive_type" type="string">memory_stick</merge>
+      </match>
+      <match key="storage.model" contains="Reader-SM">
+        <merge key="storage.drive_type" type="string">smart_media</merge>
+      </match>
+      <match key="storage.model" contains="Reader-SD">
+        <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