hal/doc/spec Makefile.am, 1.4, 1.5 examply-manager.py, 1.1, 1.2 hal-devices1.png, 1.2, 1.3 hal-fdi-example1.png, 1.1, 1.2 hal-spec.html, 1.10, 1.11 hal-spec.xml.in, 1.9, 1.10

David Zeuthen david at freedesktop.org
Mon Aug 9 11:33:32 PDT 2004


Update of /cvs/hal/hal/doc/spec
In directory pdx:/tmp/cvs-serv27210/doc/spec

Modified Files:
	Makefile.am examply-manager.py hal-devices1.png 
	hal-fdi-example1.png hal-spec.html hal-spec.xml.in 
Log Message:
2004-08-09  David Zeuthen  <david at fubar.dk>

	* doc/spec/Makefile.am (FIGURE_FILES): Added hal-fdi-example3.png

	* doc/spec/hal-spec.xml.in: Added some text about how storage_lun%d.*
	and storage.* properties are merged from the physical device object
	backing the block devices. Included .fdi example with 6in1 reader
	to further clarify this.

	* doc/spec/hal/hal-devices1.png: 
	* doc/spec/hal/hal-fdi-example1.png:
	Updated to show full device tree now that info.virtual is gone.

	* doc/spec/hal/hal-fdi-example2.png: New file

	* doc/spec/hal/hal-fdi-example3.png: New file

2004-08-08  David Zeuthen  <david at fubar.dk>

	* doc/TODO: Remove the TODO entry about support for multiple USB
	interfaces since this is now done

	* hald/linux/usbif_bus_device.c (compute_name_from_if): New function

	* hald/linux/usb_bus_device.c: Rename all usb.* properties to
	usb_device.*

	* hald/linux/usbif_bus_device.c: Rename all usbif.* properties to
	usb.*. Merge usb_device.* properties from parent device. Essentially
	an USB interface is now like an USB device was except that it
	exports properties usb.interface.* to describe the USB interface

	* tools/device-manager/Const.py.in: 
	* tools/device-manager/Representation.py: 
	Handle the s/usb/usb_device/ and s/usbif/usb/ renamings

	* doc/spec/hal-spec.xml.in: Apply a patch from Kay with spelling/
	language/grammar improvements. Also update to reflect the USB
	renaming.

	* hald/linux/usbif_bus_device.c (usbif_device_pre_process): 
	* hald/linux/scsi_host_class_device.c (scsi_host_class_pre_process): 
	* hald/linux/scsi_device_class_device.c 
	(scsi_device_class_pre_process): 
	* hald/linux/macio_bus_device.c (macio_device_pre_process): 
	* hald/linux/ieee1394_node_class_device.c 
	(ieee1394_node_class_pre_process): 
	* hald/linux/ieee1394_host_class_device.c 
	(ieee1394_host_class_pre_process): 
	* hald/linux/ide_host_bus_device.c (ide_host_device_pre_process): 
	* hald/linux/ide_bus_device.c (ide_device_pre_process): 
	* hald/linux/block_class_device.c (block_class_pre_process): 
	Don't set the info.virtual property

2004-08-06  David Zeuthen  <david at fubar.dk>

	* fdi/20freedesktop/canon-digital-ixus-v.fdi: Updated to match spec

	* fdi/20freedesktop/jetflash-mp3-player.fdi: Updated to match spec

	* doc/spec/hal-spec.xml.in: Work in progress

	* hald/linux/pcmcia_socket_class_device.c 
	(pcmcia_socket_class_pre_process): Add property pcmcia_socket.number



Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/doc/spec/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile.am	3 Aug 2004 16:09:19 -0000	1.4
+++ Makefile.am	9 Aug 2004 18:33:29 -0000	1.5
@@ -2,13 +2,18 @@
 if DOCBOOK_DOCS_ENABLED
 
 EXTRA_DIST =                            \
-	hal-spec.xml
+	hal-spec.xml			\
+	example-manager.py		\
+	hal-arch.dia			\
+	hal-linux26.dia
 
 FIGURE_FILES =                        	\
 	hal-arch.png                  	\
 	hal-devices1.png              	\
 	hal-fdi-example1.png      	\
-	hal-linux26.png
+	hal-fdi-example2.png      	\
+	hal-fdi-example3.png      	\
+	hal-linux26.png	
 
 
 EXTRA_DIST += hal-spec.html $(FIGURE_FILES)

Index: examply-manager.py
===================================================================
RCS file: /cvs/hal/hal/doc/spec/examply-manager.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- examply-manager.py	3 Aug 2004 16:09:19 -0000	1.1
+++ examply-manager.py	9 Aug 2004 18:33:29 -0000	1.2
@@ -21,19 +21,14 @@
 for d in devices:
     print 'Found device %s'%d
 
-bus.add_signal_receiver(device_added,
+bus.add_signal_receiver (device_added,
 			 'DeviceAdded',
 			 'org.freedesktop.Hal.Manager',
 			 'org.freedesktop.Hal',
 			 '/org/freedesktop/Hal/Manager')
-bus.add_signal_receiver(device_removed,
+bus.add_signal_receiver (device_removed,
 			 'DeviceRemoved',
 			 'org.freedesktop.Hal.Manager',
 			 'org.freedesktop.Hal',
 			 '/org/freedesktop/Hal/Manager')
 gtk.main()
-
-
-
-
-

Index: hal-devices1.png
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-devices1.png,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
Binary files /tmp/cvsYBvdRE and /tmp/cvsyEDw19 differ

Index: hal-fdi-example1.png
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-fdi-example1.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
Binary files /tmp/cvsDX509H and /tmp/cvs2ExXHg differ

Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- hal-spec.html	4 Aug 2004 15:35:17 -0000	1.10
+++ hal-spec.html	9 Aug 2004 18:33:29 -0000	1.11
@@ -74,12 +74,12 @@
 ></DT
 ><DT
 ><A
-HREF="#AEN23"
+HREF="#AEN24"
 >Document History</A
 ></DT
 ><DT
 ><A
-HREF="#AEN45"
+HREF="#AEN46"
[...5485 lines suppressed...]
+	available filesystems. In addition
+	the <TT
+CLASS="literal"
+>mount(1)</TT
+> program should enable users
+	without superuser privileges to mount filesystems mentioned in
+	the <TT
+CLASS="literal"
+>/etc/fstab</TT
+> file as long as they have
+	the <TT
+CLASS="literal"
+>user</TT
+> option set.
+
+      </P
+></DIV
 ></DIV
 ></DIV
 ></BODY

Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- hal-spec.xml.in	4 Aug 2004 15:35:17 -0000	1.9
+++ hal-spec.xml.in	9 Aug 2004 18:33:29 -0000	1.10
@@ -8,7 +8,7 @@
   <bookinfo>
     <title>HAL @VERSION@ Specification</title>
     <releaseinfo>Version @VERSION@</releaseinfo>
-    <date>July 21, 2004</date> <!-- Update this manually -->
+    <date>August 6th, 2004</date> <!-- Update this manually -->
     <authorgroup>
       <author>
 	<firstname>David</firstname>
@@ -40,17 +40,18 @@
       </para>
       <para>
[...3037 lines suppressed...]
+      <para>
+
+	An operating system vendor should maintain the 
+	<literal>/etc/fstab</literal> file through the HAL callout
+	mechanism such that every device object of capability
+	<literal>volume</literal> has a corresponding entry. The
+	reasoning behind this is, among other things, to maintain the
+	invariant that <literal>/etc/fstab</literal> list all
+	available filesystems. In addition
+	the <literal>mount(1)</literal> program should enable users
+	without superuser privileges to mount filesystems mentioned in
+	the <literal>/etc/fstab</literal> file as long as they have
+	the <literal>user</literal> option set.
+
+      </para>
+    </sect1>
+
   </chapter>
 
 </book>




More information about the hal-commit mailing list