hal/fdi/policy/10osvendor 20-storage-methods.fdi,1.9,1.10

David Zeuthen david at freedesktop.org
Fri Jan 20 19:09:47 PST 2006


Update of /cvs/hal/hal/fdi/policy/10osvendor
In directory gabe:/tmp/cvs-serv16556/fdi/policy/10osvendor

Modified Files:
	20-storage-methods.fdi 
Log Message:
2006-01-20  David Zeuthen  <davidz at redhat.com>

        * fdi/policy/10osvendor/20-storage-methods.fdi: Add Eject method
        for audio CD's. Patch from John Palmieri <johnp at redhat.com>.



Index: 20-storage-methods.fdi
===================================================================
RCS file: /cvs/hal/hal/fdi/policy/10osvendor/20-storage-methods.fdi,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- 20-storage-methods.fdi	20 Jan 2006 16:34:07 -0000	1.9
+++ 20-storage-methods.fdi	21 Jan 2006 03:09:45 -0000	1.10
@@ -5,6 +5,16 @@
     <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
       <append key="info.callouts.add" type="strlist">hal-system-storage-cleanup-mountpoints</append>
     </match>
+    
+    <match key="volume.disc.type" string="cd_rom">
+      <match key="volume.disc.has_audio" bool="true">
+        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>
+        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
+        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
+        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-system-storage-eject</append>
+      </match>
+    </match>
+
     <match key="volume.fsusage" string="filesystem">
 
       <!-- Here follow volumes we specifically want to ignore - it is the




More information about the hal-commit mailing list