hal/doc/spec hal-spec.xml.in,1.27,1.28 hal-spec.html,1.37,1.38

David Zeuthen david at freedesktop.org
Mon Jan 17 08:13:26 PST 2005


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

Modified Files:
	hal-spec.xml.in hal-spec.html 
Log Message:
2005-01-17  David Zeuthen  <davidz at redhat.com>

	* doc/spec/hal-spec.xml.in: Patch from Richard Hughes
	<ee21rh at surrey.ac.uk>. This is a patch for HAL CVS HEAD that
	provides all the system.* namespaces. I have not included the
	PMU/ACPI specific parts yet as we are still debating about how to
	include pmu.* and acpi.* in the most efficient way.



Index: hal-spec.xml.in
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.xml.in,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- hal-spec.xml.in	9 Dec 2004 02:01:04 -0000	1.27
+++ hal-spec.xml.in	17 Jan 2005 16:13:23 -0000	1.28
@@ -4095,6 +4095,323 @@
 
     </sect1>
 
+    <sect1 id="properties-system">
+      <title>System Devices</title>
+
+    <sect2 id="device-properties-system">
+      <title><literal>system</literal> namespace</title>
+      <para>
+
+        Device objects with the capability <literal>system</literal>
+        represent system devices currently accessed through
+        the ACPI and PMU bus.
+
+      </para>
+    </sect2>
+
+    <sect2 id="device-properties-system-ac_adaptor">
+      <title><literal>system.ac_adaptor</literal> namespace</title>
+      <para>
+
+        Device objects with the capability <literal>system.ac_adaptor</literal>
+        represent all the devices capable of powering the system from AC power
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>system.ac_adaptor.enabled</literal> (bool)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>
+                The state of the adaptor, i.e. whether it is providing power to
+                the unit
+              </entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </sect2>
+
+    <sect2 id="device-properties-system-button">
+      <title><literal>system.button</literal> namespace</title>
+      <para>
+
+        Device objects with the capability <literal>system.button</literal>
+        represent the devices capable of providing a state to the system.
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>system.button.type</literal> (string)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>The type of button</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>lid_switch</entry>
+              <entry></entry>
+              <entry>
+                The switch on a laptop that senses whether the lid is
+                open or closed
+              </entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>power</entry>
+              <entry></entry>
+              <entry>The main power button on the computer.</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>sleep</entry>
+              <entry></entry>
+              <entry>
+                The sleep button on a computer capable of putting the computer
+                into a suspend state
+              </entry>
+            </row>
+            <row>
+              <entry><literal>system.button.has_state</literal> (bool)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>True if the button maintains state, e.g. can toggled on/off</entry>
+            </row>
+            <row>
+              <entry><literal>system.button.state.value</literal> (bool)</entry>
+              <entry></entry>
+              <entry>
+                Only when <literal>system.button.has_state</literal> is
+                TRUE
+              </entry>
+              <entry>State of the button, TRUE if it is enabled</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+
+      <para>
+
+        Device objects with this capability may emit the following events.
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Condition Name</entry>
+              <entry>Parameters</entry>
+              <entry>Example</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>SystemButtonPressed</literal></entry>
+              <entry><literal>system.button.type (string)</literal></entry>
+              <entry>sleep</entry>
+              <entry>Emitted when a button is pressed</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>  
+    </sect2>
+
+    <sect2 id="device-properties-system-processor">
+      <title><literal>system.processor</literal> namespace</title>
+      <para>
+
+        Device objects with the capability system.processor represent
+        CPU's in the system.
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>system.processor.number</literal> (int)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>
+                The internal processor number in the system, starting from zero
+              </entry>
+            </row>
+            <row>
+              <entry><literal>system.processor.can_throttle</literal> (bool)</entry>
+              <entry></entry>
+              <entry>No</entry>
+              <entry>
+                Whether the processor supports throttling to decrease it's
+                own clock speed
+              </entry>
+            </row>
+            <row>
+              <entry><literal>system.processor.maximum_speed</literal> (long)</entry>
+              <entry>example: 2200</entry>
+              <entry>No</entry>
+              <entry>The maximum speed of the processor in units of MHz</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </sect2>
+
+    <sect2 id="device-properties-system-display_device">
+      <title><literal>system.display_device</literal> namespace</title>
+      <para>
+
+        Device objects with the capability <literal>display_device</literal>
+        represent display devices attached to the system.
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>system.display_device.type</literal> (string)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>The type of display device</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>lcd</entry>
+              <entry></entry>
+              <entry>LCD panel</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>crt</entry>
+              <entry></entry>
+              <entry>CRT tube</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>tv_out</entry>
+              <entry></entry>
+              <entry>TV Out</entry>
+            </row>
+            <row>
+              <entry><literal>system.display_device.lcd.brightness</literal> (int)</entry>
+              <entry></entry>
+              <entry>Only if <literal>system.display_device.type</literal> is lcd</entry>
+              <entry>Brightness level in percent</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </sect2>
+
+    <sect2 id="device-properties-system-sensor">
+      <title><literal>system.sensor</literal> namespace</title>
+      <para>
+
+        Device objects with the capability <literal>system.sensor</literal>
+        represent light or temperature sensors in the system.
+
+      </para>
+      <informaltable>
+        <tgroup cols="2">
+          <thead>
+            <row>
+              <entry>Key (type)</entry>
+              <entry>Values</entry>
+              <entry>Mandatory</entry>
+              <entry>Description</entry>
+            </row>
+          </thead>
+          <tbody>
+            <row>
+              <entry><literal>system.sensor.type</literal> (string)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>The type of sensor device</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>light</entry>
+              <entry></entry>
+              <entry>Light sensor</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>temperature</entry>
+              <entry></entry>
+              <entry>Temperature sensor</entry>
+            </row>
+            <row>
+              <entry><literal>system.sensor.location</literal> (string)</entry>
+              <entry></entry>
+              <entry>Yes</entry>
+              <entry>The location of the sensor device</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>gpu</entry>
+              <entry></entry>
+              <entry>Measures GPU source</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>cpu</entry>
+              <entry></entry>
+              <entry>Measures CPU source</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>external</entry>
+              <entry></entry>
+              <entry>Measures external source</entry>
+            </row>
+            <row>
+              <entry></entry>
+              <entry>unknown</entry>
+              <entry></entry>
+              <entry>Measuring other source</entry>
+            </row>
+          </tbody>
+        </tgroup>
+      </informaltable>
+    </sect2>
+
+    </sect1>
+
   </chapter>
 
 </book>

Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- hal-spec.html	14 Dec 2004 02:57:48 -0000	1.37
+++ hal-spec.html	17 Jan 2005 16:13:23 -0000	1.38
@@ -1,11 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML
 ><HEAD
 ><TITLE
 >HAL 0.4.2 Specification</TITLE
 ><META
 NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
+CONTENT="Modular DocBook HTML Stylesheet Version 1.79"></HEAD
 ><BODY
 CLASS="book"
 BGCOLOR="#FFFFFF"
@@ -514,6 +514,63 @@
 ></DT
 ></DL
 ></DD
+><DT
+><A
+HREF="#properties-system"
+>System Devices</A
+></DT
+><DD
+><DL
+><DT
+><A
+HREF="#device-properties-system"
+><TT
+CLASS="literal"
+>system</TT
+> namespace</A
+></DT
+><DT
+><A
+HREF="#device-properties-system-ac_adaptor"
+><TT
+CLASS="literal"
+>system.ac_adaptor</TT
+> namespace</A
+></DT
+><DT
+><A
+HREF="#device-properties-system-button"
+><TT
+CLASS="literal"
+>system.button</TT
+> namespace</A
+></DT
+><DT
+><A
+HREF="#device-properties-system-processor"
+><TT
+CLASS="literal"
+>system.processor</TT
+> namespace</A
+></DT
+><DT
+><A
+HREF="#device-properties-system-display_device"
+><TT
+CLASS="literal"
+>system.display_device</TT
+> namespace</A
+></DT
+><DT
+><A
+HREF="#device-properties-system-sensor"
+><TT
+CLASS="literal"
+>system.sensor</TT
+> namespace</A
+></DT
+></DL
+></DD
 ></DL
 ></DD
 ></DL
@@ -822,7 +879,7 @@
       easily access the services offered by HAL. The D-BUS API is
       detailed in <A
 HREF="#dbus-api"
->the chapter called <I
+>the Chapter called <I
 >D-BUS Network API</I
 ></A
 >. Note that HAL doesn't
@@ -832,7 +889,7 @@
       environments, recommendations and best practises on how to
       enforce policy is discussed in <A
 HREF="#enforcing-policy"
->the chapter called <I
+>the Chapter called <I
 >Enforcing Policy</I
 ></A
 >.
@@ -937,7 +994,7 @@
 	    or use another setuid mount wrapper.
 	    See <A
 HREF="#enforcing-policy"
->the chapter called <I
+>the Chapter called <I
 >Enforcing Policy</I
 ></A
 > for more details.
@@ -1018,13 +1075,13 @@
 	checking the properties that export the USB vendor and product
 	identifiers.  See <A
 HREF="#device-capabilities"
->the chapter called <I
+>the Chapter called <I
 >Device Capabilities</I
 ></A
 > and
 	<A
 HREF="#device-properties"
->the chapter called <I
+>the Chapter called <I
 >Device Properties</I
 ></A
 > for details.
@@ -1172,7 +1229,7 @@
 	administrator can edit. This specification is concerned with
 	precisely defining several properties; see <A
 HREF="#device-properties"
->the chapter called <I
+>the Chapter called <I
 >Device Properties</I
 ></A
 > and onwards for more
@@ -4595,7 +4652,7 @@
 HREF="#fdi-example-6in1"
 >the Section called <I
 >Example: Card Reader</I
-> in the chapter called <I
+> in the Chapter called <I
 >Device Information Files</I
 ></A
 > for an example.
@@ -7146,7 +7203,7 @@
 CLASS="literal"
 >storage</TT
 > namespace</I
-> in the chapter called <I
+> in the Chapter called <I
 >Device Properties</I
 ></A
 > this device information
@@ -7211,7 +7268,7 @@
 HREF="#properties-policy"
 >the Section called <I
 >Policy Properties</I
-> in the chapter called <I
+> in the Chapter called <I
 >Device Properties</I
 ></A
 > for details.
@@ -7686,7 +7743,7 @@
       a camera device, is outside the scope of the HAL daemon; see
       <A
 HREF="#using-devices"
->the chapter called <I
+>the Chapter called <I
 >Using devices</I
 ></A
 > for more information.
@@ -8158,7 +8215,7 @@
 HREF="#properties-policy"
 >the Section called <I
 >Policy Properties</I
-> in the chapter called <I
+> in the Chapter called <I
 >Device Properties</I
 ></A
 >
@@ -8235,6 +8292,626 @@
 	</P
 ></DIV
 ></DIV
+><DIV
+CLASS="sect1"
+><HR><H2
+CLASS="sect1"
+><A
+NAME="properties-system"
+>System Devices</A
+></H2
+><DIV
+CLASS="sect2"
+><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"
+><TT
+CLASS="literal"
+>system.ac_adaptor</TT
+> namespace</A
+></H3
+><P
+>&#13;
+        Device objects with the capability <TT
+CLASS="literal"
+>system.ac_adaptor</TT
+>
+        represent all the devices capable of powering the system from AC power
+
+      </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN2348"
+></A
+><TABLE
+BORDER="1"
+BGCOLOR="#E0E0E0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><THEAD
+><TR
+><TH
+>Key (type)</TH
+><TH
+>Values</TH
+><TH
+>Mandatory</TH
+><TH
+>Description</TH
+></TR
+></THEAD
+><TBODY
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.ac_adaptor.enabled</TT
+> (bool)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>&#13;                The state of the adaptor, i.e. whether it is providing power to
+                the unit
+              </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><DIV
+CLASS="sect2"
+><HR><H3
+CLASS="sect2"
+><A
+NAME="device-properties-system-button"
+><TT
+CLASS="literal"
+>system.button</TT
+> namespace</A
+></H3
+><P
+>&#13;
+        Device objects with the capability <TT
+CLASS="literal"
+>system.button</TT
+>
+        represent the devices capable of providing a state to the system.
+
+      </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN2368"
+></A
+><TABLE
+BORDER="1"
+BGCOLOR="#E0E0E0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><THEAD
+><TR
+><TH
+>Key (type)</TH
+><TH
+>Values</TH
+><TH
+>Mandatory</TH
+><TH
+>Description</TH
+></TR
+></THEAD
+><TBODY
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.button.type</TT
+> (string)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>The type of button</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>lid_switch</TD
+><TD
+>&nbsp;</TD
+><TD
+>&#13;                The switch on a laptop that senses whether the lid is
+                open or closed
+              </TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>power</TD
+><TD
+>&nbsp;</TD
+><TD
+>The main power button on the computer.</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>sleep</TD
+><TD
+>&nbsp;</TD
+><TD
+>&#13;                The sleep button on a computer capable of putting the computer
+                into a suspend state
+              </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.button.has_state</TT
+> (bool)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>True if the button maintains state, e.g. can toggled on/off</TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.button.state.value</TT
+> (bool)</TD
+><TD
+>&nbsp;</TD
+><TD
+>&#13;                Only when <TT
+CLASS="literal"
+>system.button.has_state</TT
+> is
+                TRUE
+              </TD
+><TD
+>State of the button, TRUE if it is enabled</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+><P
+>&#13;
+        Device objects with this capability may emit the following events.
+
+      </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN2412"
+></A
+><TABLE
+BORDER="1"
+BGCOLOR="#E0E0E0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><THEAD
+><TR
+><TH
+>Condition Name</TH
+><TH
+>Parameters</TH
+><TH
+>Example</TH
+><TH
+>Description</TH
+></TR
+></THEAD
+><TBODY
+><TR
+><TD
+><TT
+CLASS="literal"
+>SystemButtonPressed</TT
+></TD
+><TD
+><TT
+CLASS="literal"
+>system.button.type (string)</TT
+></TD
+><TD
+>sleep</TD
+><TD
+>Emitted when a button is pressed</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><DIV
+CLASS="sect2"
+><HR><H3
+CLASS="sect2"
+><A
+NAME="device-properties-system-processor"
+><TT
+CLASS="literal"
+>system.processor</TT
+> namespace</A
+></H3
+><P
+>&#13;
+        Device objects with the capability system.processor represent
+        CPU's in the system.
+
+      </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN2432"
+></A
+><TABLE
+BORDER="1"
+BGCOLOR="#E0E0E0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><THEAD
+><TR
+><TH
+>Key (type)</TH
+><TH
+>Values</TH
+><TH
+>Mandatory</TH
+><TH
+>Description</TH
+></TR
+></THEAD
+><TBODY
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.processor.number</TT
+> (int)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>&#13;                The internal processor number in the system, starting from zero
+              </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.processor.can_throttle</TT
+> (bool)</TD
+><TD
+>&nbsp;</TD
+><TD
+>No</TD
+><TD
+>&#13;                Whether the processor supports throttling to decrease it's
+                own clock speed
+              </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.processor.maximum_speed</TT
+> (long)</TD
+><TD
+>example: 2200</TD
+><TD
+>No</TD
+><TD
+>The maximum speed of the processor in units of MHz</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><DIV
+CLASS="sect2"
+><HR><H3
+CLASS="sect2"
+><A
+NAME="device-properties-system-display_device"
+><TT
+CLASS="literal"
+>system.display_device</TT
+> namespace</A
+></H3
+><P
+>&#13;
+        Device objects with the capability <TT
+CLASS="literal"
+>display_device</TT
+>
+        represent display devices attached to the system.
+
+      </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN2464"
+></A
+><TABLE
+BORDER="1"
+BGCOLOR="#E0E0E0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><THEAD
+><TR
+><TH
+>Key (type)</TH
+><TH
+>Values</TH
+><TH
+>Mandatory</TH
+><TH
+>Description</TH
+></TR
+></THEAD
+><TBODY
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.display_device.type</TT
+> (string)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>The type of display device</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>lcd</TD
+><TD
+>&nbsp;</TD
+><TD
+>LCD panel</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>crt</TD
+><TD
+>&nbsp;</TD
+><TD
+>CRT tube</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>tv_out</TD
+><TD
+>&nbsp;</TD
+><TD
+>TV Out</TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.display_device.lcd.brightness</TT
+> (int)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Only if <TT
+CLASS="literal"
+>system.display_device.type</TT
+> is lcd</TD
+><TD
+>Brightness level in percent</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><DIV
+CLASS="sect2"
+><HR><H3
+CLASS="sect2"
+><A
+NAME="device-properties-system-sensor"
+><TT
+CLASS="literal"
+>system.sensor</TT
+> namespace</A
+></H3
+><P
+>&#13;
+        Device objects with the capability <TT
+CLASS="literal"
+>system.sensor</TT
+>
+        represent light or temperature sensors in the system.
+
+      </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN2506"
+></A
+><TABLE
+BORDER="1"
+BGCOLOR="#E0E0E0"
+CELLSPACING="0"
+CELLPADDING="4"
+CLASS="CALSTABLE"
+><THEAD
+><TR
+><TH
+>Key (type)</TH
+><TH
+>Values</TH
+><TH
+>Mandatory</TH
+><TH
+>Description</TH
+></TR
+></THEAD
+><TBODY
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.sensor.type</TT
+> (string)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>The type of sensor device</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>light</TD
+><TD
+>&nbsp;</TD
+><TD
+>Light sensor</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>temperature</TD
+><TD
+>&nbsp;</TD
+><TD
+>Temperature sensor</TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>system.sensor.location</TT
+> (string)</TD
+><TD
+>&nbsp;</TD
+><TD
+>Yes</TD
+><TD
+>The location of the sensor device</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>gpu</TD
+><TD
+>&nbsp;</TD
+><TD
+>Measures GPU source</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>cpu</TD
+><TD
+>&nbsp;</TD
+><TD
+>Measures CPU source</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>external</TD
+><TD
+>&nbsp;</TD
+><TD
+>Measures external source</TD
+></TR
+><TR
+><TD
+>&nbsp;</TD
+><TD
+>unknown</TD
+><TD
+>&nbsp;</TD
+><TD
+>Measuring other source</TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+></DIV
 ></DIV
 ></DIV
 ></BODY




More information about the hal-commit mailing list