source: general/sysutils/hal.xml@ ce892ab3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ce892ab3 was ce892ab3, checked in by Dan Nichilson <dnicholson@…>, 17 years ago

Added python-modules page and the gnome-python stack

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7047 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 24.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY hal-download-http "http://freedesktop.org/~david/dist/hal-&hal-version;.tar.gz">
8 <!-- <!ENTITY hal-download-ftp "&gentoo-ftp-repo;/hal-&hal-version;.tar.gz"> -->
9 <!ENTITY hal-download-ftp " ">
10 <!ENTITY hal-md5sum "6a40f49f964e64358e53652038f3059f">
11 <!ENTITY hal-size "1.5 MB">
12 <!ENTITY hal-buildsize "24 MB">
13 <!ENTITY hal-time "0.5 SBU">
14
15 <!ENTITY hal-info-version "20070618">
16 <!ENTITY hal-info-download-http "http://freedesktop.org/~david/dist/hal-info-&hal-info-version;.tar.gz">
17 <!-- <!ENTITY hal-info-download-ftp "&gentoo-ftp-repo;/hal-info-&hal-info-version;.tar.gz"> -->
18 <!ENTITY hal-info-download-ftp " ">
19 <!ENTITY hal-info-md5sum "c7005ccb1765d8359fd2348350770495">
20 <!ENTITY hal-info-size "118 KB">
21]>
22
23<sect1 id="hal" xreflabel="HAL-&hal-version;">
24 <?dbhtml filename="hal.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>HAL-&hal-version;</title>
32
33 <indexterm zone="hal">
34 <primary sortas="a-HAL">HAL</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to HAL</title>
39
40 <para><application>HAL</application> is a hardware abstraction layer, which
41 is a piece of software that provides a view of the various hardware
42 attached to a system. In addition to this, <application>HAL</application>
43 keeps detailed metadata for each piece of hardware and provides hooks such
44 that system and desktop-level software can react to changes in the hardware
45 configuration in order to maintain system policy.</para>
46
47 <para>The most important goal of <application>HAL</application> is to
48 provide plug-and-play facilities for UNIX-like desktops with focus on
49 providing a rich and extensible description of device characteristics and
50 features. One example of the functionality provided by
51 <application>HAL</application> is when you plug in a USB storage device.
52 <application>HAL</application> can automatically create a mount point in
53 <filename class="directory">/media</filename> and mount the device.</para>
54
55 <bridgehead renderas="sect3">Package Information</bridgehead>
56 <itemizedlist spacing="compact">
57 <listitem>
58 <para>Download (HTTP): <ulink url="&hal-download-http;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download (FTP): <ulink url="&hal-download-ftp;"/></para>
62 </listitem>
63 <listitem>
64 <para>Download MD5 sum: &hal-md5sum;</para>
65 </listitem>
66 <listitem>
67 <para>Download size: &hal-size;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated disk space required: &hal-buildsize;</para>
71 </listitem>
72 <listitem>
73 <para>Estimated build time: &hal-time;</para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Additional Package Download</bridgehead>
78 <itemizedlist spacing='compact'>
79 <title>Required Hardware Data</title>
80 <listitem>
81 <para>Download (HTTP): <ulink url="&hal-info-download-http;"/></para>
82 </listitem>
83 <listitem>
84 <para>Download (FTP): <ulink url="&hal-info-download-ftp;"/></para>
85 </listitem>
86 <listitem>
87 <para>Download MD5 sum: &hal-info-md5sum;</para>
88 </listitem>
89 <listitem>
90 <para>Download size: &hal-info-size;</para>
91 </listitem>
92 </itemizedlist>
93
94 <bridgehead renderas="sect3">HAL Dependencies</bridgehead>
95
96 <bridgehead renderas="sect4">Required</bridgehead>
97 <para role="required"><xref linkend="dbus-glib"/> and
98 <xref linkend="perl-xml-parser"/></para>
99
100 <bridgehead renderas="sect4">Recommended</bridgehead>
101 <para role="recommended"><xref linkend="pciutils"/>
102 (with a current <filename>pci.ids</filename> file) and
103 <xref linkend="usbutils"/>
104 (with a current <filename>usb.ids</filename> file)</para>
105
106 <bridgehead renderas="sect4">Optional (to Build
107 <command>hal-device-manager</command>)</bridgehead>
108 <para role="optional"><xref linkend="python"/></para>
109
110 <bridgehead renderas="sect4">Optional (to Create Documentation)</bridgehead>
111 <para role="optional"><xref linkend="libxml2"/> and
112 <ulink url="http://cyberelk.net/tim/xmlto/">xmlto</ulink></para>
113
114 <bridgehead renderas="sect4">Optional</bridgehead>
115 <para role="optional"><xref linkend="gtk-doc"/>,
116 <xref linkend="libusb"/>,
117 <ulink url="http://www.gnu.org/software/parted/index.shtml">Parted</ulink>*,
118 <ulink url="http://linux.dell.com/libsmbios/main/index.html">libsmbios</ulink>,
119 <ulink url="http://gitweb.freedesktop.org/?p=PolicyKit.git;a=summary">PolicyKit</ulink>,
120 and <xref linkend="intltool"/></para>
121
122 <para>* Use the following command after changing into the
123 <application>HAL</application> source directory to modify the package
124 <command>configure</command> script if you have
125 <application>Parted</application> version 1.8.7 installed.</para>
126
127<screen><userinput>sed -i -e 's%, 1.8.6%&amp;, 1.8.7%' \
128 -e 's% or 1.8.6%/1.8.6 or 1.8.7%' \
129 -e 's%6))%6) ||\
130 (major == 1 \&amp;\&amp; minor == 8 \&amp;\&amp; micro == 7))%' \
131 configure</userinput></screen>
132
133 <para condition="html" role="usernotes">User Notes:
134 <ulink url="&blfs-wiki;/hal"/></para>
135
136 </sect2>
137
138 <sect2 role="installation">
139 <title>Installation of HAL</title>
140
141 <para>You must create a dedicated user and group before installing the
142 package. Though the default BLFS instructions run the
143 <application>HAL</application> daemon as the
144 <systemitem class="username">root</systemitem> user, a configuration file
145 is installed which has the dedicated user's name hard-coded in it. This
146 causes a confusing message to be generated when starting the
147 <application>D-BUS</application> daemon. Issue the following commands as
148 the <systemitem class="username">root</systemitem> user:</para>
149
150<screen role="root"><userinput>groupadd -g 19 haldaemon &amp;&amp;
151useradd -c "HAL Daemon User" -d /dev/null -u 19 \
152 -g haldaemon -s /bin/false haldaemon</userinput></screen>
153
154 <para>Install <application>HAL</application> by running the following
155 commands:</para>
156
157<screen><userinput>./configure --prefix=/usr \
158 --sysconfdir=/etc \
159 --libexecdir=/usr/lib/hal \
160 --localstatedir=/var &amp;&amp;
161make</userinput></screen>
162
163 <para>To test the results, issue <command>make check</command>.</para>
164
165 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
166
167<screen role="root"><userinput>make install</userinput></screen>
168
169 <para>Install the <application>HAL</application> hardware data with the
170 following commands:</para>
171
172<screen><userinput>tar -xf ../hal-info-&hal-info-version;.tar.gz &amp;&amp;
173cd hal-info-&hal-info-version; &amp;&amp;
174./configure --prefix=/usr</userinput></screen>
175
176 <para>Finally, as the <systemitem class="username">root</systemitem> user:</para>
177
178<screen role="root"><userinput>make install</userinput></screen>
179
180 </sect2>
181
182 <sect2 role="commands">
183 <title>Command Explanations</title>
184
185 <para><parameter>--libexecdir=/usr/lib/hal</parameter>: This parameter
186 forces the installation of libexec files to
187 <filename class='directory'>/usr/lib/hal</filename> instead of
188 <filename class='directory'>/usr/libexec</filename>.</para>
189
190 <para><parameter>--localstatedir=/var</parameter>: This parameter forces
191 the creation of the <filename>pid</filename> file to
192 <filename class='directory'>/var/run/hald</filename> instead of
193 <filename class='directory'>/usr/var/run/hald</filename>.</para>
194
195 <para><parameter>--enable-docbook-docs
196 --docdir=/usr/share/doc/hal-&hal-version;</parameter>: If <xref
197 linkend="libxml2"/> and <ulink
198 url="http://cyberelk.net/tim/xmlto/">xmlto</ulink> are available, these
199 parameters enable the <application>HAL</application> specification
200 documentation to be built.</para>
201
202 </sect2>
203
204 <sect2>
205 <title>Run-Time Dependencies</title>
206
207 <para>A few more packages enable more functionality in
208 <application>HAL</application> at run-time. These include <ulink
209 url="http://ca.geocities.com/jefftranter@rogers.com/eject.html">Eject</ulink>,
210 <ulink url="http://people.freedesktop.org/~mccann/dist/">ConsoleKit</ulink>,
211 <ulink url="http://www.nongnu.org/dmidecode/">dmidecode</ulink>,
212 <ulink url="http://sourceware.org/dm/">Device-mapper</ulink>,
213 <ulink url="http://luks.endorphin.org/dm-crypt">Cryptsetup-LUKS</ulink>, and
214 <ulink url="http://cvsweb.freedesktop.org/pm-utils/pm-utils/">pm-utils</ulink>.</para>
215
216 <para>The <xref linkend="hal-device-manager"/> program requires several
217 additional <application>Python</application> modules to be available.
218 These are <xref linkend="dbus-python"/>,
219 <xref linkend="pygtk"/> (including the gtk and gtk.libglade modules), and
220 <xref linkend="gnome-python"/> (including the gnome.ui module).</para>
221
222 </sect2>
223
224 <sect2 role="configuration">
225 <title>Configuring HAL</title>
226
227 <sect3 id="hal-config">
228 <title>Config Files</title>
229 <para><filename>/etc/dbus-1/system.d/hal.conf</filename>,
230 <filename>/etc/dbus-1/system.d/halusers.conf</filename> and
231 <filename>/etc/hal/*</filename></para>
232
233 <indexterm zone="hal hal-config">
234 <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary>
235 </indexterm>
236
237 <indexterm zone="hal hal-config">
238 <primary sortas="e-etc-dbus-1-system.d-halusers.conf">/etc/dbus-1/system.d/halusers.conf</primary>
239 </indexterm>
240
241 <indexterm zone="hal hal-config">
242 <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
243 </indexterm>
244 </sect3>
245
246 <sect3><title>Configuration Information</title>
247
248 <para>The default setup for <application>HAL</application> is to allow
249 only certain users to invoke methods such as Mount(). These are
250 the <systemitem class="username">root</systemitem> user and the user
251 determined to be at the active console using <ulink
252 url="&blfs-wiki;/linux-pam">pam_console</ulink>. If you are not set
253 up to use <xref linkend="linux-pam"/> and <ulink
254 url="&blfs-wiki;/linux-pam">pam_console</ulink>, create a group that
255 is allowed to invoke <application>HAL</application> methods with the
256 following commands:</para>
257
258<screen role="root"><userinput>groupadd -g 61 halusers &amp;&amp;
259cat &gt; /etc/dbus-1/system.d/halusers.conf &lt;&lt; "EOF"
260<literal>&lt;!DOCTYPE busconfig PUBLIC
261 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
262 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
263&lt;busconfig&gt;
264
265 &lt;!-- Allow users in the halusers group invoke HAL methods --&gt;
266 &lt;policy group="halusers"&gt;
267 &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
268 &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
269 &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
270 &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
271 &lt;/policy&gt;
272
273&lt;/busconfig&gt;</literal>
274EOF</userinput></screen>
275
276 <para>Now add the users you would like to the <systemitem
277 class="groupname">halusers</systemitem> group to use
278 <application>HAL</application>. Note that these users still need
279 to have appropriate permissions to access the devices that
280 <application>HAL</application> will invoke its methods on.</para>
281
282 <para>With the above configuration in place, authorized users now
283 have the ability to unmount disk partitions mounted at non-standard
284 locations such as <filename class='directory'>/pub</filename>. If
285 you'd like to restrict this policy to only drives which are considered
286 removable or hotpluggable, add the following configuration file as
287 the <systemitem class='username'>root</systemitem> user:</para>
288
289<screen role="root"><userinput>cat &gt; /etc/hal/fdi/policy/no-fixed-drives.fdi &lt;&lt; "EOF"
290<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!-- -*- SGML -*- --&gt;
291
292&lt;!-- Don't allow HAL methods on disks that are not
293 removable or hotpluggable --&gt;
294
295&lt;deviceinfo version="0.2"&gt;
296&lt;device&gt;
297 &lt;match key="@block.storage_device:storage.hotpluggable" bool="false"&gt;
298 &lt;match key="@block.storage_device:storage.removable" bool="false"&gt;
299 &lt;merge key="volume.ignore" type="bool"&gt;true&lt;/merge&gt;
300 &lt;/match&gt;
301 &lt;/match&gt;
302&lt;/device&gt;
303&lt;/deviceinfo&gt;</literal>
304EOF</userinput></screen>
305
306 <para><application>HAL</application> only provides the methods such
307 as Mount() to act on hardware. In order to take advantage of these,
308 a <application>HAL</application> event handler such as
309 <xref linkend="gnome-volume-manager"/> or <ulink
310 url="http://ivman.sourceforge.net/">Ivman</ulink> should be
311 installed.</para>
312
313 <!-- Following note is only relevant for HAL-0.5.7.x.
314 Fixed upstream. -->
315 <note>
316 <para><application>HAL</application> will ignore any devices listed
317 in <filename>/etc/fstab</filename> for the purpose of automounting.
318 You must remove any listings for devices that you would like
319 automounted such as CD-ROMs or USB keys.</para>
320 </note>
321
322 <!-- This section commented out for now until it is determined what should
323 be placed in this section
324
325 FIXME: I think this information is still relevant with the
326 exception of its interaction with /etc/fstab. Needs investigation.
327
328 <para>No configuration is necessary for the majority of installations
329 on systems configured with ISO-8859-1 compatible locales. The defaults
330 should work just fine. For some installations, tweaking of the various
331 policies may be required. One such configuration change necessary in some
332 locales is identifying the <option>iocharset</option> and
333 <option>codepage</option> variables in the
334 <filename>/etc/fstab</filename> entries created by the
335 <command>fstab-sync</command> program. If changes are required to the
336 configuration so that your locale is properly identified in the entries
337 created in <filename>/etc/fstab</filename>, issue the following commands
338 as the <systemitem class="username">root</systemitem> user (you must
339 substitute the proper data for the
340 <replaceable>&lt;iocharset&gt;</replaceable> and
341 <replaceable>&lt;codepage&gt;</replaceable> info):</para>
342
343<screen role="root"><userinput>install -v -m755 -d /etc/hal/fdi/policy/30user &amp;&amp;
344cat &gt; /etc/hal/fdi/policy/30user/30user-policy.fdi &lt;&lt; "EOF"
345<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!- -*- SGML -*- -&gt;
346
347&lt;!-
348This file is used to set custom options to the HAL policy settings.
349The default policy settings are defined in files contained in the
350/usr/share/hal/fdi/policy directories. User defined customizations
351should be in files contained in the /etc/hal/fdi/policy directories.
352-&gt;
353
354&lt;deviceinfo version="0.2"&gt;
355
356 &lt;device&gt;
357 &lt;match key="info.udi"
358 string="/org/freedesktop/Hal/devices/computer"&gt;
359
360 &lt;!- Set the iocharset variable in the /etc/fstab file entry -&gt;
361 &lt;merge
362 key="storage.policy.default.mount_option.iocharset=<replaceable>&lt;iocharset&gt;</replaceable>"
363 type="bool"&gt;true&lt;/merge&gt;
364
365 &lt;!- Set the codepage variable in the /etc/fstab file entry -&gt;
366 &lt;merge
367 key="storage.policy.default.mount_option.codepage=<replaceable>&lt;codepage&gt;</replaceable>"
368 type="bool"&gt;true&lt;/merge&gt;
369
370 &lt;/match&gt;
371 &lt;/device&gt;
372
373&lt;/deviceinfo&gt;</literal>
374
375EOF</userinput></screen>
376
377 <note>
378 <para>The previous commands created a file named
379 <filename>/etc/hal/fdi/policy/30user/30user-policy.fdi</filename>. To
380 ease readability of the file, put everything between the
381 &lt;angle brackets&gt; and &lt;merge&gt;&lt;/merge&gt; tags on one
382 line. You must have at least one space character
383 where the ends of the lines were. The file would then look like this
384 (trimmed at the top and bottom for brevity):</para>
385
386<screen><literal> &lt;device&gt;
387 &lt;match key="<replaceable>&lt;text&gt;</replaceable>" string="<replaceable>&lt;text&gt;</replaceable>"&gt;
388
389 &lt;!- Set the iocharset variable in the /etc/fstab file entry -&gt;
390 &lt;merge key="<replaceable>&lt;iocharset text&gt;</replaceable>" type="bool"&gt;true&lt;/merge&gt;
391
392 &lt;!- Set the codepage variable in the /etc/fstab file entry -&gt;
393 &lt;merge key="<replaceable>&lt;codepage text&gt;</replaceable>" type="bool"&gt;true&lt;/merge&gt;
394
395 &lt;/match&gt;
396 &lt;/device&gt;</literal></screen>
397
398 </note>
399
400 -->
401
402 </sect3>
403
404 <sect3 id="hal-init">
405 <title>Boot Script</title>
406
407 <para>To automatically start the <command>hald</command> daemon
408 when the system is rebooted, install the
409 <filename>/etc/rc.d/init.d/haldaemon</filename>
410 bootscript from the
411 <xref linkend="bootscripts"/> package.</para>
412
413 <indexterm zone="hal hal-init">
414 <primary sortas="f-haldaemon">haldaemon</primary>
415 </indexterm>
416
417 <!-- Not sure if this is still required any longer as the HAL daemon
418 used to hang if you didn't first restart the DBUS daemon. This is
419 not the case any longer, but it still seems that D-Bus should be
420 restarted, as the hald.conf file is read by the D-BUS daemon.
421 Leaving it in for now until it is positively confirmed it is not
422 required. -->
423
424 <important>
425 <para>If the system-wide <application>D-BUS</application> daemon was
426 running during the installation of <application>HAL</application>,
427 ensure you stop and restart the <application>D-BUS</application>
428 daemon before attempting to start the <command>hald</command>
429 daemon.</para>
430 </important>
431
432<screen role="root"><userinput>make install-haldaemon</userinput></screen>
433
434 </sect3>
435
436 </sect2>
437
438 <sect2 role="content">
439 <title>Contents</title>
440
441 <segmentedlist>
442 <segtitle>Installed Programs</segtitle>
443 <segtitle>Installed Libraries</segtitle>
444 <segtitle>Installed Directories</segtitle>
445
446 <seglistitem>
447 <seg>hal-device, hal-device-manager, hal-disable-polling,
448 hal-find-by-capability, hal-find-by-property, hal-get-property,
449 hal-is-caller-locked-out, hal-lock, hal-set-property, hald and
450 lshal</seg>
451 <seg>libhal.{so,a} and libhal-storage,{so,a}</seg>
452 <seg>/etc/hal, /usr/include/hal, /usr/lib/hal,
453 /usr/share/doc/hal-&hal-version;, /usr/share/hal, /var/cache/hald,
454 /var/lib/hal, and /var/run/hald</seg>
455 </seglistitem>
456 </segmentedlist>
457
458 <variablelist>
459 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
460 <?dbfo list-presentation="list"?>
461 <?dbhtml list-presentation="table"?>
462
463 <varlistentry id="hal-device">
464 <term><command>hal-device</command></term>
465 <listitem>
466 <para>is used to create, remove or show a
467 <application>HAL</application> device.</para>
468 <indexterm zone="hal hal-device">
469 <primary sortas="b-hal-device">hal-device</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="hal-device-manager">
475 <term><command>hal-device-manager</command></term>
476 <listitem>
477 <para>shows a graphical representation of all the devices
478 <application>HAL</application> is aware of. Here is a <ulink
479 url="http://cvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-devices1.png">
480 screenshot</ulink> of <command>hal-device-manager</command>
481 communicating with the HAL daemon and displaying a tree of device
482 objects. The shown properties in the screenshot are for a device
483 object representing a hard disk.</para>
484 <indexterm zone="hal hal-device-manager">
485 <primary sortas="b-hal-device-manager">hal-device-manager</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="hal-disable-polling">
491 <term><command>hal-disable-polling</command></term>
492 <listitem>
493 <para>can be used to to disable and enable media detection on
494 drives with removable storage.</para>
495 <indexterm zone="hal hal-disable-polling">
496 <primary sortas="b-hal-disable-polling">hal-disable-polling</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
501 <varlistentry id="hal-find-by-capability">
502 <term><command>hal-find-by-capability</command></term>
503 <listitem>
504 <para>prints the Unique Device Identifiers for
505 <application>HAL</application> device objects of a given
506 capability.</para>
507 <indexterm zone="hal hal-find-by-capability">
508 <primary sortas="b-hal-find-by-capability">hal-find-by-capability</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
513 <varlistentry id="hal-find-by-property">
514 <term><command>hal-find-by-property</command></term>
515 <listitem>
516 <para>prints the Unique Device Identifiers for
517 <application>HAL</application> device objects where a given property
518 assumes a given value.</para>
519 <indexterm zone="hal hal-find-by-property">
520 <primary sortas="b-hal-find-by-property">hal-find-by-property</primary>
521 </indexterm>
522 </listitem>
523 </varlistentry>
524
525 <varlistentry id="hal-get-property">
526 <term><command>hal-get-property</command></term>
527 <listitem>
528 <para>retrieves a property from a device.</para>
529 <indexterm zone="hal hal-get-property">
530 <primary sortas="b-hal-get-property">hal-get-property</primary>
531 </indexterm>
532 </listitem>
533 </varlistentry>
534
535 <varlistentry id="hal-set-property">
536 <term><command>hal-set-property</command></term>
537 <listitem>
538 <para>attempts to set property for a device. Note that, due to
539 security considerations, it may not be possible to set a
540 property.</para>
541 <indexterm zone="hal hal-set-property">
542 <primary sortas="b-hal-set-property">hal-set-property</primary>
543 </indexterm>
544 </listitem>
545 </varlistentry>
546
547 <varlistentry id="hal-is-caller-locked-out">
548 <term><command>hal-is-caller-locked-out</command></term>
549 <listitem>
550 <para>determines if a specific caller is locked out of a specific
551 <application>D-Bus</application> interface on a specific device.</para>
552 <indexterm zone="hal hal-is-caller-locked-out">
553 <primary sortas="b-hal-is-caller-locked-out">hal-is-caller-locked-out</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="hald">
559 <term><command>hald</command></term>
560 <listitem>
561 <para>is the <application>HAL</application> daemon program.</para>
562 <indexterm zone="hal hald">
563 <primary sortas="b-hald">hald</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
568 <varlistentry id="lshal">
569 <term><command>lshal</command></term>
570 <listitem>
571 <para>shows all devices and their properties. If the --monitor option
572 is given then the device list and all devices are monitored for
573 changes.</para>
574 <indexterm zone="hal lshal">
575 <primary sortas="b-lshal">lshal</primary>
576 </indexterm>
577 </listitem>
578 </varlistentry>
579
580 <varlistentry id="libhal">
581 <term><filename class='libraryfile'>libhal.{so,a}</filename></term>
582 <listitem>
583 <para>contains the API functions required by the
584 <application>HAL</application> programs.</para>
585 <indexterm zone="hal libhal">
586 <primary sortas="c-libhal">libhal.{so,a}</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="libhal-storage">
592 <term><filename class='libraryfile'>libhal-storage.{so,a}</filename></term>
593 <listitem>
594 <para>contains the API functions required by the
595 <application>HAL</application> storage and volume utility
596 programs.</para>
597 <indexterm zone="hal libhal-storage">
598 <primary sortas="c-libhal-storage">libhal-storage.{so,a}</primary>
599 </indexterm>
600 </listitem>
601 </varlistentry>
602
603 </variablelist>
604
605 </sect2>
606
607</sect1>
Note: See TracBrowser for help on using the repository browser.