Patch to hal-spec : 6/6-system-sensors

David Zeuthen david at fubar.dk
Wed Jan 12 16:07:24 PST 2005


On Tue, 2005-01-11 at 18:43 +0000, Richard Hughes wrote:
>     <sect2 id="device-properties-system-sensors">
>       <title><literal>system.sensors</literal> namespace</title>

Should be system.sensor - we'll have one device object for each
sensor we can monitor

>       <para>
> 
> 	Device objects with the capability <literal>system.sensors</literal> 
>         represent all light and temperature sensors in the system
                    ^^^^      ^^^^
Can skip 'all'; 'and' should be 'or'

>       </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>
>             <row>
>               <entry><literal>system.sensor.device</literal> (string)</entry>
>               <entry></entry>
>               <entry>No</entry>
>               <entry>HAL UDI reference</entry>

We might want to skip this property until we got an implementation;
also, we probably want other properties to convey the readings.

>             </row>
>           </tbody>
>         </tgroup>
>       </informaltable>
>     </sect2>
> 
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal

_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list