hal/doc/spec hal-spec.html,1.48,1.49
David Zeuthen
david at freedesktop.org
Wed Mar 2 11:19:14 PST 2005
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv21926/doc/spec
Modified Files:
hal-spec.html
Log Message:
2005-03-02 David Zeuthen <davidz at redhat.com>
* tools/device-manager/DeviceManager.py: Move some things around
only to discover that D-BUS python bindings need fixing to actually
push signals we subscribe to without giving the path...
* tools/lshal.c (device_condition): Fix this function so it works
after the DeviceCondition format changes earlier
* libhal/libhal.h: Export prototype for libhal_device_emit_condition
* libhal/libhal.c (libhal_device_emit_condition): New function
* hald/linux2/addons/addon-storage.c (main): Fix that we should
be verbose
* hald/linux2/addons/addon-acpi.c (read_line): Rewrite this
to not malloc all over the place
(main): Try two places for ACPI events. Rework parsing of events
and send out DeviceConditions where appropriate
* hald/hald_dbus.c (device_emit_condition): New function
(hald_dbus_filter_function): Handle EmitCondition
2005-03-01 Richard Hughes <richard at hughsie.com>
* hald/linux2/addons/addon-acpi.c (main): Call
libhal_device_rescan for each ACPI event.
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- hal-spec.html 24 Feb 2005 17:33:03 -0000 1.48
+++ hal-spec.html 2 Mar 2005 19:19:12 -0000 1.49
@@ -352,6 +352,14 @@
></DT
><DT
><A
+HREF="#device-properties-alsa"
+><TT
+CLASS="literal"
+>alsa</TT
+> namespace</A
+></DT
+><DT
+><A
HREF="#device-properties-camera"
><TT
CLASS="literal"
@@ -512,21 +520,21 @@
><DL
><DT
><A
-HREF="#AEN2513"
+HREF="#AEN2583"
>Interface org.freedesktop.Hal.Manager</A
></DT
><DD
><DL
><DT
><A
-HREF="#AEN2524"
+HREF="#AEN2594"
>Example</A
></DT
></DL
></DD
><DT
><A
-HREF="#AEN2532"
+HREF="#AEN2602"
>Interface org.freedesktop.Hal.Device</A
></DT
></DL
@@ -5736,6 +5744,191 @@
><HR><H3
CLASS="sect2"
><A
+NAME="device-properties-alsa"
+><TT
+CLASS="literal"
+>alsa</TT
+> namespace</A
+></H3
+><P
+>
+ Device objects with the capability <TT
+CLASS="literal"
+>alsa</TT
+>
+ represent all the streams available through ALSA on a soundcard.
+
+ </P
+><DIV
+CLASS="informaltable"
+><P
+></P
+><A
+NAME="AEN1774"
+></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"
+>alsa.card</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> Card number in system as registered by ALSA.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>alsa.device</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> Device number assigned by ALSA for the current card.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>alsa.id</TT
+> (string)</TD
+><TD
+> Examples: <TT
+CLASS="literal"
+>I82801DBICH4</TT
+>, <TT
+CLASS="literal"
+>MP3</TT
+>
+ </TD
+><TD
+>No</TD
+><TD
+> The ALSA ID used to represent the device.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>alsa.physical_device</TT
+> (int)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> The physical device the ALSA stream is bound to.
+ </TD
+></TR
+><TR
+><TD
+><TT
+CLASS="literal"
+>alsa.type</TT
+> (string)</TD
+><TD
+> </TD
+><TD
+>Yes</TD
+><TD
+> The type of the stream.
+ </TD
+></TR
+><TR
+><TD
+> </TD
+><TD
+><TT
+CLASS="literal"
+>control</TT
+></TD
+><TD
+> </TD
+><TD
+> Stream is control device.
+ </TD
+></TR
+><TR
+><TD
+> </TD
+><TD
+><TT
+CLASS="literal"
+>capture</TT
+></TD
+><TD
+> </TD
+><TD
+> Stream is capture device.
+ </TD
+></TR
+><TR
+><TD
+> </TD
+><TD
+><TT
+CLASS="literal"
+>playback</TT
+></TD
+><TD
+> </TD
+><TD
+> Stream is playback device.
+ </TD
+></TR
+><TR
+><TD
+> </TD
+><TD
+><TT
+CLASS="literal"
+>unknown</TT
+></TD
+><TD
+> </TD
+><TD
+> Stream is unknown device.
+ </TD
+></TR
+></TBODY
+></TABLE
+><P
+></P
+></DIV
+></DIV
+><DIV
+CLASS="sect2"
+><HR><H3
+CLASS="sect2"
+><A
NAME="device-properties-camera"
><TT
CLASS="literal"
@@ -5766,7 +5959,7 @@
><P
></P
><A
-NAME="AEN1774"
+NAME="AEN1844"
></A
><TABLE
BORDER="1"
@@ -5909,7 +6102,7 @@
><P
></P
><A
-NAME="AEN1821"
+NAME="AEN1891"
></A
><TABLE
BORDER="1"
@@ -5977,7 +6170,7 @@
><P
></P
><A
-NAME="AEN1841"
+NAME="AEN1911"
></A
><TABLE
BORDER="1"
@@ -6371,7 +6564,7 @@
><P
></P
><A
-NAME="AEN1988"
+NAME="AEN2058"
></A
><TABLE
BORDER="1"
@@ -6485,7 +6678,7 @@
><P
></P
><A
-NAME="AEN2032"
+NAME="AEN2102"
></A
><TABLE
BORDER="1"
@@ -6550,7 +6743,7 @@
><P
></P
><A
-NAME="AEN2052"
+NAME="AEN2122"
></A
><TABLE
BORDER="1"
@@ -6644,7 +6837,7 @@
><P
></P
><A
-NAME="AEN2084"
+NAME="AEN2154"
></A
><TABLE
BORDER="1"
@@ -6755,7 +6948,7 @@
><P
></P
><A
-NAME="AEN2126"
+NAME="AEN2196"
></A
><TABLE
BORDER="1"
@@ -6907,7 +7100,7 @@
><P
></P
><A
-NAME="AEN2184"
+NAME="AEN2254"
></A
><TABLE
BORDER="1"
@@ -7066,7 +7259,7 @@
><P
></P
><A
-NAME="AEN2236"
+NAME="AEN2306"
></A
><TABLE
BORDER="1"
@@ -7195,7 +7388,7 @@
><P
></P
><A
-NAME="AEN2277"
+NAME="AEN2347"
></A
><TABLE
BORDER="1"
@@ -8263,7 +8456,7 @@
><P
></P
><A
-NAME="AEN2471"
+NAME="AEN2541"
></A
><TABLE
BORDER="1"
@@ -8423,7 +8616,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN2513"
+NAME="AEN2583"
>Interface org.freedesktop.Hal.Manager</A
></H2
><P
@@ -8539,7 +8732,7 @@
><HR><H3
CLASS="sect2"
><A
-NAME="AEN2524"
+NAME="AEN2594"
>Example</A
></H3
><P
@@ -8657,7 +8850,7 @@
><HR><H2
CLASS="sect1"
><A
-NAME="AEN2532"
+NAME="AEN2602"
>Interface org.freedesktop.Hal.Device</A
></H2
><P
More information about the hal-commit
mailing list