hal/doc/spec hal-spec.html,1.63,1.64
David Zeuthen
david at freedesktop.org
Sun Jul 31 19:41:23 PDT 2005
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv29681/doc/spec
Modified Files:
hal-spec.html
Log Message:
2005-07-31 David Zeuthen <davidz at redhat.com>
* hald/device_store.c (hal_device_store_add): this is a patch to
prevent adding a device with invalid UDI (doesn't start with
"/org/freedesktop/Hal/devices/") to the 'global device
list'. Without this patch it's possible to add a device with
invalid UDI. If so, you can't see the device e.g. via lshal and
get always a dbus error. Original patch from Danny Kukawka
<danny.kukawka at web.de>; slightly tweaked.
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- hal-spec.html 15 Jul 2005 19:54:22 -0000 1.63
+++ hal-spec.html 1 Aug 2005 02:41:21 -0000 1.64
@@ -544,21 +544,21 @@
><DL
><DT
><A
-HREF="#AEN3138"
+HREF="#AEN3222"
>Interface org.freedesktop.Hal.Manager</A
></DT
><DD
><DL
><DT
><A
-HREF="#AEN3149"
+HREF="#AEN3233"
>Example</A
></DT
></DL
></DD
><DT
><A
-HREF="#AEN3157"
+HREF="#AEN3241"
>Interface org.freedesktop.Hal.Device</A
></DT
></DL
@@ -6320,6 +6320,19 @@
><TD
><TT
CLASS="literal"
+>storage.cdrom.dvdplusrdl</TT
+> (bool)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+>TRUE when the optical drive can write to DVD+R Dual-Layer discs</TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
>storage.cdrom.support_media_changed</TT
> (bool)</TD
><TD
@@ -6390,7 +6403,7 @@
><P
></P
><A
-NAME="AEN2026"
+NAME="AEN2032"
></A
><TABLE
BORDER="1"
@@ -6544,7 +6557,7 @@
><P
></P
><A
-NAME="AEN2084"
+NAME="AEN2090"
></A
><TABLE
BORDER="1"
@@ -6675,7 +6688,7 @@
><P
></P
><A
-NAME="AEN2126"
+NAME="AEN2132"
></A
><TABLE
BORDER="1"
@@ -6748,7 +6761,7 @@
><P
></P
><A
-NAME="AEN2148"
+NAME="AEN2154"
></A
><TABLE
BORDER="1"
@@ -6815,7 +6828,7 @@
><P
></P
><A
-NAME="AEN2168"
+NAME="AEN2174"
></A
><TABLE
BORDER="1"
@@ -6880,7 +6893,7 @@
><P
></P
><A
-NAME="AEN2188"
+NAME="AEN2194"
></A
><TABLE
BORDER="1"
@@ -7007,7 +7020,7 @@
><P
></P
><A
-NAME="AEN2232"
+NAME="AEN2238"
></A
><TABLE
BORDER="1"
@@ -7144,7 +7157,7 @@
><P
></P
><A
-NAME="AEN2280"
+NAME="AEN2286"
></A
><TABLE
BORDER="1"
@@ -7218,6 +7231,20 @@
><TD
><TT
CLASS="literal"
+>alsa.device_file</TT
+> (string)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> The device node to access the ALSA device.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
>alsa.device_id</TT
> (string)</TD
><TD
@@ -7357,7 +7384,7 @@
><P
></P
><A
-NAME="AEN2357"
+NAME="AEN2369"
></A
><TABLE
BORDER="1"
@@ -7478,7 +7505,7 @@
><P
></P
><A
-NAME="AEN2399"
+NAME="AEN2411"
></A
><TABLE
BORDER="1"
@@ -7546,7 +7573,7 @@
><P
></P
><A
-NAME="AEN2419"
+NAME="AEN2431"
></A
><TABLE
BORDER="1"
@@ -7827,6 +7854,200 @@
><TD
><TT
CLASS="literal"
+>battery.charge_level.warning</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Once the charge level of the battery drops below this value its
+ state changes to 'warning'.
+ Measured in <TT
+CLASS="literal"
+>"battery.charge_level.unit"</TT
+>
+ units.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.charge_level.low</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Once the charge level of the battery drops below this value its
+ state changes to 'low'.
+ Measured in <TT
+CLASS="literal"
+>"battery.charge_level.unit"</TT
+>
+ units.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.charge_level.granularity_1</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Granularity value one of the battery measured
+ in <TT
+CLASS="literal"
+>"battery.charge_level.unit"</TT
+>
+ units .
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.charge_level.granularity_2</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Granularity value two of the battery measured
+ in <TT
+CLASS="literal"
+>"battery.charge_level.unit"</TT
+>
+ units.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.charge_level.capacity_state</TT
+> (string)</TD
+><TD
+>Examples: <TT
+CLASS="literal"
+>ok</TT
+>, <TT
+CLASS="literal"
+>critical</TT
+></TD
+><TD
+>No</TD
+><TD
+> The capacity state of the battery.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.voltage.unit</TT
+> (string)</TD
+><TD
+>Examples: <TT
+CLASS="literal"
+>mV</TT
+></TD
+><TD
+>No</TD
+><TD
+> The physical measurement unit used by the voltage properties
+ (design and current).
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.voltage.design</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> The voltage level for which the battery is designed for.
+ Measured in <TT
+CLASS="literal"
+>"battery.voltage.unit"</TT
+>
+ units.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.charge_voltage.current</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> The voltage level currently emitted by the battery.
+ Measured in <TT
+CLASS="literal"
+>"battery.charge_level.unit"</TT
+>
+ units.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.alarm.unit</TT
+> (string)</TD
+><TD
+>Examples: <TT
+CLASS="literal"
+>mWh</TT
+>, <TT
+CLASS="literal"
+>mAh</TT
+></TD
+><TD
+>No</TD
+><TD
+> The physical measurement unit used by the alarm property.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>battery.alarm.design</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>No</TD
+><TD
+> Once the charge level of the battery drops below this value
+ its state changes to 'alarm'.
+ Measured in <TT
+CLASS="literal"
+>"battery.alarm.unit"</TT
+>
+ units.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
>battery.remaining_time</TT
> (int)</TD
><TD
@@ -7993,7 +8214,7 @@
><P
></P
><A
-NAME="AEN2586"
+NAME="AEN2670"
></A
><TABLE
BORDER="1"
@@ -8107,7 +8328,7 @@
><P
></P
><A
-NAME="AEN2630"
+NAME="AEN2714"
></A
><TABLE
BORDER="1"
@@ -8175,7 +8396,7 @@
><P
></P
><A
-NAME="AEN2651"
+NAME="AEN2735"
></A
><TABLE
BORDER="1"
@@ -8269,7 +8490,7 @@
><P
></P
><A
-NAME="AEN2683"
+NAME="AEN2767"
></A
><TABLE
BORDER="1"
@@ -8380,7 +8601,7 @@
><P
></P
><A
-NAME="AEN2725"
+NAME="AEN2809"
></A
><TABLE
BORDER="1"
@@ -8518,7 +8739,7 @@
><P
></P
><A
-NAME="AEN2781"
+NAME="AEN2865"
></A
><TABLE
BORDER="1"
@@ -8610,7 +8831,7 @@
><P
></P
><A
-NAME="AEN2809"
+NAME="AEN2893"
></A
><TABLE
BORDER="1"
@@ -8769,7 +8990,7 @@
><P
></P
><A
-NAME="AEN2861"
+NAME="AEN2945"
></A
><TABLE
BORDER="1"
@@ -8898,7 +9119,7 @@
><P
></P
><A
-NAME="AEN2902"
+NAME="AEN2986"
></A
><TABLE
BORDER="1"
@@ -9966,7 +10187,7 @@
><P
></P
><A
-NAME="AEN3096"
+NAME="AEN3180"
></A
><TABLE
BORDER="1"
@@ -10126,7 +10347,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN3138"
+NAME="AEN3222"
>Interface org.freedesktop.Hal.Manager</A
></H2
><P
@@ -10242,7 +10463,7 @@
><HR><H3
CLASS="sect2"
><A
-NAME="AEN3149"
+NAME="AEN3233"
>Example</A
></H3
><P
@@ -10360,7 +10581,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN3157"
+NAME="AEN3241"
>Interface org.freedesktop.Hal.Device</A
></H2
><P
More information about the hal-commit
mailing list