hal/doc/spec hal-spec.html,1.49,1.50

David Zeuthen david at freedesktop.org
Wed Mar 2 11:25:27 PST 2005


Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv22493/doc/spec

Modified Files:
	hal-spec.html 
Log Message:
2005-03-02  David Zeuthen  <davidz at redhat.com>

	* tools/device-manager/DeviceManager.py:
	(DeviceManager.remove_device_signal_recv): Do add PropertyModified
	though

2005-03-02  Richard Hughes  <richard at hughsie.com>

	* doc/spec/hal-spec.xml.in: Removed all the 'system.' 
	prefixes to the ACPI and PMU objects, they serve no purpose
	other to confuse people.

	* hald/linux2/acpi.c (ac_adapter_refresh, button_refresh):
	Removed 'system.' prefix.
 
	* hald/linux2/pmu.c (ac_adapter_refresh): Removed 
	'system.' prefix.
 
	* hald/util.c: Updated comment regarding 'system.'
 


Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- hal-spec.html	2 Mar 2005 19:19:12 -0000	1.49
+++ hal-spec.html	2 Mar 2005 19:25:24 -0000	1.50
@@ -368,18 +368,10 @@
 ></DT
 ><DT
 ><A
-HREF="#device-properties-system"
-><TT
-CLASS="literal"
->system</TT
-> namespace</A
-></DT
-><DT
-><A
-HREF="#device-properties-system-ac_adaptor"
+HREF="#device-properties-ac_adaptor"
 ><TT
 CLASS="literal"
->system.ac_adaptor</TT
+>ac_adaptor</TT
 > namespace</A
 ></DT
 ><DT
@@ -392,34 +384,34 @@
 ></DT
 ><DT
 ><A
-HREF="#device-properties-system-button"
+HREF="#device-properties-button"
 ><TT
 CLASS="literal"
->system.button</TT
+>button</TT
 > namespace</A
 ></DT
 ><DT
 ><A
-HREF="#device-properties-system-processor"
+HREF="#device-properties-processor"
 ><TT
 CLASS="literal"
->system.processor</TT
+>processor</TT
 > namespace</A
 ></DT
 ><DT
 ><A
-HREF="#device-properties-system-display_device"
+HREF="#device-properties-display_device"
 ><TT
 CLASS="literal"
->system.display_device</TT
+>display_device</TT
 > namespace</A
 ></DT
 ><DT
 ><A
-HREF="#device-properties-system-sensor"
+HREF="#device-properties-sensor"
 ><TT
 CLASS="literal"
->system.sensor</TT
+>sensor</TT
 > namespace</A
 ></DT
 ></DL
@@ -520,21 +512,21 @@
 ><DL
 ><DT
 ><A
-HREF="#AEN2583"
+HREF="#AEN2579"
 >Interface org.freedesktop.Hal.Manager</A
 ></DT
 ><DD
 ><DL
 ><DT
 ><A
-HREF="#AEN2594"
+HREF="#AEN2590"
 >Example</A
 ></DT
 ></DL
 ></DD
 ><DT
 ><A
-HREF="#AEN2602"
+HREF="#AEN2598"
 >Interface org.freedesktop.Hal.Device</A
 ></DT
 ></DL
@@ -6060,39 +6052,17 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="device-properties-system"
-><TT
-CLASS="literal"
->system</TT
-> namespace</A
-></H3
-><P
->&#13;
-        Device objects with the capability <TT
-CLASS="literal"
->system</TT
->
-        represent system devices currently accessed through
-        the ACPI and PMU bus.
-
-      </P
-></DIV
-><DIV
-CLASS="sect2"
-><HR><H3
-CLASS="sect2"
-><A
-NAME="device-properties-system-ac_adaptor"
+NAME="device-properties-ac_adaptor"
 ><TT
 CLASS="literal"
->system.ac_adaptor</TT
+>ac_adaptor</TT
 > namespace</A
 ></H3
 ><P
 >&#13;
         Device objects with the capability <TT
 CLASS="literal"
->system.ac_adaptor</TT
+>ac_adaptor</TT
 >
         represent all the devices capable of powering the system from AC power
 
@@ -6102,7 +6072,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1891"
+NAME="AEN1886"
 ></A
 ><TABLE
 BORDER="1"
@@ -6127,7 +6097,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.ac_adaptor.present</TT
+>ac_adaptor.present</TT
 > (bool)</TD
 ><TD
 >&nbsp;</TD
@@ -6170,7 +6140,7 @@
 ><P
 ></P
 ><A
-NAME="AEN1911"
+NAME="AEN1906"
 ></A
 ><TABLE
 BORDER="1"
@@ -6544,17 +6514,17 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="device-properties-system-button"
+NAME="device-properties-button"
 ><TT
 CLASS="literal"
->system.button</TT
+>button</TT
 > namespace</A
 ></H3
 ><P
 >&#13;
         Device objects with the capability <TT
 CLASS="literal"
->system.button</TT
+>button</TT
 >
         represent the devices capable of providing a state to the system.
 
@@ -6564,7 +6534,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2058"
+NAME="AEN2053"
 ></A
 ><TABLE
 BORDER="1"
@@ -6589,7 +6559,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.button.type</TT
+>button.type</TT
 > (string)</TD
 ><TD
 >&nbsp;</TD
@@ -6636,7 +6606,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.button.has_state</TT
+>button.has_state</TT
 > (bool)</TD
 ><TD
 >&nbsp;</TD
@@ -6649,14 +6619,14 @@
 ><TD
 ><TT
 CLASS="literal"
->system.button.state.value</TT
+>button.state.value</TT
 > (bool)</TD
 ><TD
 >&nbsp;</TD
 ><TD
 >&#13;                Only when <TT
 CLASS="literal"
->system.button.has_state</TT
+>button.has_state</TT
 > is
                 TRUE
               </TD
@@ -6678,7 +6648,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2102"
+NAME="AEN2097"
 ></A
 ><TABLE
 BORDER="1"
@@ -6703,12 +6673,12 @@
 ><TD
 ><TT
 CLASS="literal"
->SystemButtonPressed</TT
+>ButtonPressed</TT
 ></TD
 ><TD
 ><TT
 CLASS="literal"
->system.button.type (string)</TT
+>button.type (string)</TT
 ></TD
 ><TD
 >sleep</TD
@@ -6726,16 +6696,19 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="device-properties-system-processor"
+NAME="device-properties-processor"
 ><TT
 CLASS="literal"
->system.processor</TT
+>processor</TT
 > namespace</A
 ></H3
 ><P
 >&#13;
-        Device objects with the capability system.processor represent
-        CPU's in the system.
+        Device objects with the capability <TT
+CLASS="literal"
+>processor</TT
+>
+        represent CPU's in the system.
 
       </P
 ><DIV
@@ -6743,7 +6716,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2122"
+NAME="AEN2118"
 ></A
 ><TABLE
 BORDER="1"
@@ -6768,7 +6741,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.processor.number</TT
+>processor.number</TT
 > (int)</TD
 ><TD
 >&nbsp;</TD
@@ -6782,7 +6755,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.processor.can_throttle</TT
+>processor.can_throttle</TT
 > (bool)</TD
 ><TD
 >&nbsp;</TD
@@ -6797,7 +6770,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.processor.maximum_speed</TT
+>processor.maximum_speed</TT
 > (long)</TD
 ><TD
 >example: 2200</TD
@@ -6817,10 +6790,10 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="device-properties-system-display_device"
+NAME="device-properties-display_device"
 ><TT
 CLASS="literal"
->system.display_device</TT
+>display_device</TT
 > namespace</A
 ></H3
 ><P
@@ -6837,7 +6810,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2154"
+NAME="AEN2150"
 ></A
 ><TABLE
 BORDER="1"
@@ -6862,7 +6835,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.display_device.type</TT
+>display_device.type</TT
 > (string)</TD
 ><TD
 >&nbsp;</TD
@@ -6905,14 +6878,14 @@
 ><TD
 ><TT
 CLASS="literal"
->system.display_device.lcd.brightness</TT
+>display_device.lcd.brightness</TT
 > (int)</TD
 ><TD
 >&nbsp;</TD
 ><TD
 >Only if <TT
 CLASS="literal"
->system.display_device.type</TT
+>display_device.type</TT
 > is lcd</TD
 ><TD
 >Brightness level in percent</TD
@@ -6928,17 +6901,17 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="device-properties-system-sensor"
+NAME="device-properties-sensor"
 ><TT
 CLASS="literal"
->system.sensor</TT
+>sensor</TT
 > namespace</A
 ></H3
 ><P
 >&#13;
         Device objects with the capability <TT
 CLASS="literal"
->system.sensor</TT
+>sensor</TT
 >
         represent light or temperature sensors in the system.
 
@@ -6948,7 +6921,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2196"
+NAME="AEN2192"
 ></A
 ><TABLE
 BORDER="1"
@@ -6973,7 +6946,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.sensor.type</TT
+>sensor.type</TT
 > (string)</TD
 ><TD
 >&nbsp;</TD
@@ -7006,7 +6979,7 @@
 ><TD
 ><TT
 CLASS="literal"
->system.sensor.location</TT
+>sensor.location</TT
 > (string)</TD
 ><TD
 >&nbsp;</TD
@@ -7100,7 +7073,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2254"
+NAME="AEN2250"
 ></A
 ><TABLE
 BORDER="1"
@@ -7259,7 +7232,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2306"
+NAME="AEN2302"
 ></A
 ><TABLE
 BORDER="1"
@@ -7388,7 +7361,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2347"
+NAME="AEN2343"
 ></A
 ><TABLE
 BORDER="1"
@@ -8456,7 +8429,7 @@
 ><P
 ></P
 ><A
-NAME="AEN2541"
+NAME="AEN2537"
 ></A
 ><TABLE
 BORDER="1"
@@ -8616,7 +8589,7 @@
 ><HR><H2
 CLASS="sect1"
 ><A
-NAME="AEN2583"
+NAME="AEN2579"
 >Interface org.freedesktop.Hal.Manager</A
 ></H2
 ><P
@@ -8732,7 +8705,7 @@
 ><HR><H3
 CLASS="sect2"
 ><A
-NAME="AEN2594"
+NAME="AEN2590"
 >Example</A
 ></H3
 ><P
@@ -8850,7 +8823,7 @@
 ><HR><H2
 CLASS="sect1"
 ><A
-NAME="AEN2602"
+NAME="AEN2598"
 >Interface org.freedesktop.Hal.Device</A
 ></H2
 ><P




More information about the hal-commit mailing list