source: general/sysutils/hal.xml@ 9814efc4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 9814efc4 was f0211af2, checked in by Randy McMurchy <randy@…>, 14 years ago

Added a parameter to the HAL configure script

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

  • Property mode set to 100644
File size: 26.3 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://hal.freedesktop.org/releases/hal-&hal-version;.tar.gz">
8 <!ENTITY hal-download-ftp " ">
9 <!ENTITY hal-md5sum "e9163df591a6f38f59fdbfe33e73bf20">
10 <!ENTITY hal-size "1.2 MB">
11 <!ENTITY hal-buildsize "25 MB">
12 <!ENTITY hal-time "0.5 SBU">
13
14 <!ENTITY hal-info-version "20091130">
15 <!ENTITY hal-info-download-http "http://hal.freedesktop.org/releases/hal-info-&hal-info-version;.tar.gz">
16 <!ENTITY hal-info-download-ftp " ">
17 <!ENTITY hal-info-md5sum "34375489a02a00b250fdc0b280be11b8">
18 <!ENTITY hal-info-size "144 KB">
19]>
20
21<sect1 id="hal" xreflabel="HAL-&hal-version;">
22 <?dbhtml filename="hal.html"?>
23
24 <sect1info>
25 <othername>$LastChangedBy$</othername>
26 <date>$Date$</date>
27 </sect1info>
28
29 <title>HAL-&hal-version;</title>
30
31 <indexterm zone="hal">
32 <primary sortas="a-HAL">HAL</primary>
33 </indexterm>
34
35 <sect2 role="package">
36 <title>Introduction to HAL</title>
37
38 <para><application>HAL</application> is a hardware abstraction layer, which
39 is a piece of software that provides a view of the various hardware
40 attached to a system. In addition to this, <application>HAL</application>
41 keeps detailed metadata for each piece of hardware and provides hooks such
42 that system and desktop-level software can react to changes in the hardware
43 configuration in order to maintain system policy.</para>
44
45 <para>The most important goal of <application>HAL</application> is to
46 provide plug-and-play facilities for UNIX-like desktops with focus on
47 providing a rich and extensible description of device characteristics and
48 features. One example of the functionality provided by
49 <application>HAL</application> is when you plug in a USB storage device.
50 <application>HAL</application> can automatically create a mount point in
51 <filename class="directory">/media</filename> and mount the device.</para>
52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>Download (HTTP): <ulink url="&hal-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download (FTP): <ulink url="&hal-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download MD5 sum: &hal-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>Download size: &hal-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &hal-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &hal-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Package Download</bridgehead>
76 <itemizedlist spacing='compact'>
77 <title>Required Hardware Data</title>
78 <listitem>
79 <para>Download (HTTP): <ulink url="&hal-info-download-http;"/></para>
80 </listitem>
81 <listitem>
82 <para>Download (FTP): <ulink url="&hal-info-download-ftp;"/></para>
83 </listitem>
84 <listitem>
85 <para>Download MD5 sum: &hal-info-md5sum;</para>
86 </listitem>
87 <listitem>
88 <para>Download size: &hal-info-size;</para>
89 </listitem>
90 </itemizedlist>
91
92 <bridgehead renderas="sect3">HAL Dependencies</bridgehead>
93
94 <bridgehead renderas="sect4">Required</bridgehead>
95 <para role="required"><xref linkend="dbus-glib"/></para>
96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
98 <para role="recommended"><xref linkend="pciutils"/>
99 (with a current <filename>pci.ids</filename> file) and
100 <xref linkend="usbutils"/>
101 (with a current <filename>usb.ids</filename> file)</para>
102
103 <bridgehead renderas="sect4">Optional (to Build
104 <command>hal-device-manager</command>)</bridgehead>
105 <para role="optional"><xref linkend="python"/></para>
106
107 <bridgehead renderas="sect4">Optional (to Create Documentation)</bridgehead>
108 <para role="optional"><xref linkend="xmlto"/></para>
109
110 <bridgehead renderas="sect4">Optional</bridgehead>
111 <para role="optional"><xref linkend="gtk-doc"/>,
112 <xref linkend="acl"/>,
113 <xref linkend="gperf"/>,
114 <xref linkend="policykit"/>,
115 <xref linkend="consolekit"/>,
116 <xref linkend="intltool"/>,
117 <ulink url="http://www.gnu.org/software/parted/index.shtml">Parted</ulink>, and
118 <ulink url="https://fedorahosted.org/libsmbios/">libsmbios</ulink></para>
119
120 <para condition="html" role="usernotes">User Notes:
121 <ulink url="&blfs-wiki;/hal"/></para>
122
123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of HAL</title>
127
128 <para>You must create a dedicated user and group before installing the
129 package. Though the default BLFS instructions run the
130 <application>HAL</application> daemon as the
131 <systemitem class="username">root</systemitem> user, a configuration file
132 is installed which has the dedicated user's name hard-coded in it. This
133 causes a confusing message to be generated when starting the
134 <application>D-BUS</application> daemon. Issue the following commands as
135 the <systemitem class="username">root</systemitem> user:</para>
136
137<screen role="root"><userinput>groupadd -g 19 haldaemon &amp;&amp;
138useradd -c "HAL Daemon User" -d /dev/null -u 19 \
139 -g haldaemon -s /bin/false haldaemon</userinput></screen>
140
141 <para>Install <application>HAL</application> by running the following
142 commands:</para>
143
144<screen><userinput>./configure --prefix=/usr \
145 --sysconfdir=/etc \
146 --libexecdir=/usr/lib/hal \
147 --localstatedir=/var \
148 --docdir=/usr/share/doc/hal-&hal-version; \
149 --enable_policy_kit=no &amp;&amp;
150make</userinput></screen>
151
152 <para>To test the results, issue <command>make check</command>.</para>
153
154 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
155
156<screen role="root"><userinput>make install</userinput></screen>
157
158 <para>Install the <application>HAL</application> hardware data with the
159 following commands:</para>
160
161<screen><userinput>tar -xf ../hal-info-&hal-info-version;.tar.gz &amp;&amp;
162cd hal-info-&hal-info-version; &amp;&amp;
163./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
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 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173
174 <para><parameter>--libexecdir=/usr/lib/hal</parameter>: This parameter
175 forces the installation of libexec files to
176 <filename class='directory'>/usr/lib/hal</filename> instead of
177 <filename class='directory'>/usr/libexec</filename>.</para>
178
179 <para><parameter>--localstatedir=/var</parameter>: This parameter forces
180 the creation of the <filename>pid</filename> file to
181 <filename class='directory'>/var/run/hald</filename> instead of
182 <filename class='directory'>/usr/var/run/hald</filename>.</para>
183
184 <para><parameter>--enable_policy_kit=no</parameter>: This parameter is
185 required if PolicyKit is not installed. Remove it if PolicyKit is
186 installed.</para>
187
188 <para><parameter>--enable-docbook-docs
189 --docdir=/usr/share/doc/hal-&hal-version;</parameter>: If <xref
190 linkend="xmlto"/> is available, these parameters enable the
191 <application>HAL</application> specification documentation to be
192 built.</para>
193
194 </sect2>
195
196 <sect2>
197 <title>Run-Time Dependencies</title>
198
199 <para>A few more packages enable more functionality in
200 <application>HAL</application> at run-time. These include <ulink
201 url="http://ca.geocities.com/jefftranter@rogers.com/eject.html">Eject</ulink>,
202 <ulink url="http://www.nongnu.org/dmidecode/">dmidecode</ulink>,
203 <ulink url="http://sourceware.org/dm/">Device-mapper</ulink>,
204 <ulink url="http://luks.endorphin.org/dm-crypt">Cryptsetup-LUKS</ulink>, and
205 <ulink url="http://pm-utils.freedesktop.org/wiki/">pm-utils</ulink>.</para>
206
207 <para>The <xref linkend="hal-device-manager"/> program requires several
208 additional <application>Python</application> modules to be available at
209 runtime. These are <xref linkend="dbus-python"/>,
210 <xref linkend="pygtk"/> (including the gtk and gtk.libglade modules), and
211 <xref linkend="gnome-python"/> (including the gnome.ui module).</para>
212
213 </sect2>
214
215 <sect2 role="configuration">
216 <title>Configuring HAL</title>
217
218 <sect3 id="hal-config">
219 <title>Config Files</title>
220 <para><filename>/etc/dbus-1/system.d/hal.conf</filename>,
221 <filename>/etc/dbus-1/system.d/halusers.conf</filename> and
222 <filename>/etc/hal/*</filename></para>
223
224 <indexterm zone="hal hal-config">
225 <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary>
226 </indexterm>
227
228 <indexterm zone="hal hal-config">
229 <primary sortas="e-etc-dbus-1-system.d-halusers.conf">/etc/dbus-1/system.d/halusers.conf</primary>
230 </indexterm>
231
232 <indexterm zone="hal hal-config">
233 <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
234 </indexterm>
235 </sect3>
236
237 <sect3><title>Configuration Information</title>
238 <sect4><title>Allowing users to invoke HAL methods</title>
239
240 <para>The default setup for <application>HAL</application> is to allow
241 only certain users to invoke methods such as Mount(). These are
242 the <systemitem class="username">root</systemitem> user and the user
243 determined to be at the active console using <ulink
244 url="&blfs-wiki;/linux-pam">pam_console</ulink>. If you are not set
245 up to use <xref linkend="linux-pam"/> and <ulink
246 url="&blfs-wiki;/linux-pam">pam_console</ulink>, create a group that
247 is allowed to invoke <application>HAL</application> methods with the
248 following commands:</para>
249
250<screen role="root"><userinput>groupadd -g 61 halusers &amp;&amp;
251cat &gt; /etc/dbus-1/system.d/halusers.conf &lt;&lt; "EOF"
252<literal>&lt;!DOCTYPE busconfig PUBLIC
253 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
254 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
255&lt;busconfig&gt;
256
257 &lt;!-- Allow users in the halusers group invoke HAL methods --&gt;
258 &lt;policy group="halusers"&gt;
259 &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
260 &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
261 &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
262 &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
263 &lt;/policy&gt;
264
265&lt;/busconfig&gt;</literal>
266EOF</userinput></screen>
267
268 <para>Now add the users you would like to the <systemitem
269 class="groupname">halusers</systemitem> group to use
270 <application>HAL</application>.</para>
271
272<screen role="root"><userinput>usermod -a -G halusers <replaceable>&lt;username&gt;</replaceable></userinput></screen>
273
274 <para>Note that these users still need
275 to have appropriate permissions to access the devices that
276 <application>HAL</application> will invoke its methods on.</para>
277
278 <para>With the above configuration in place, authorized users now
279 have the ability to unmount disk partitions mounted at non-standard
280 locations such as <filename class='directory'>/pub</filename>. If
281 you'd like to restrict this policy to only drives which are considered
282 removable or hotpluggable, add the following configuration file as
283 the <systemitem class='username'>root</systemitem> user:</para>
284
285<screen role="root"><userinput>cat &gt; /etc/hal/fdi/policy/no-fixed-drives.fdi &lt;&lt; "EOF"
286<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!-- -*- SGML -*- --&gt;
287
288&lt;!-- Don't allow HAL methods on disks that are not
289 removable or hotpluggable --&gt;
290
291&lt;deviceinfo version="0.2"&gt;
292&lt;device&gt;
293 &lt;match key="@block.storage_device:storage.hotpluggable" bool="false"&gt;
294 &lt;match key="@block.storage_device:storage.removable" bool="false"&gt;
295 &lt;merge key="volume.ignore" type="bool"&gt;true&lt;/merge&gt;
296 &lt;/match&gt;
297 &lt;/match&gt;
298&lt;/device&gt;
299&lt;/deviceinfo&gt;</literal>
300EOF</userinput></screen>
301 </sect4>
302
303 <sect4><title>Installing mount helpers</title>
304 <para><application>HAL</application> only provides the methods such
305 as Mount() to act on hardware. In order to take advantage of these,
306 a <application>HAL</application> event handler such as
307 <xref linkend="gnome-volume-manager"/> or <ulink
308 url="http://ivman.sourceforge.net/">Ivman</ulink> should be
309 installed.</para>
310 <!-- FIXME: is Ivman still alive? -->
311 <!-- FIXME: explicitly name the mount helpers
312 from KDE (???) and Xfce (exo-mount) -->
313 </sect4>
314
315 <sect4><title>Changing default mount options</title>
316 <para>In some cases, it is necessary to specify some default mount
317 options for filesystems. E.g., in non-English environments, the
318 <option>iocharset</option> and <option>codepage</option> options
319 are needed for filesystems of Windows origin in order to show
320 national characters correctly. Also, due to a
321 <ulink url="https://launchpad.net/bugs/133567">bug</ulink> in the
322 Linux kernel version in LFS (2.6.22.x), you may want to pass the
323 <option>usefree</option> option to vfat filesystems in order to reduce
324 the time needed to determine the amount of free space on the
325 filesystem.</para>
326
327 <para>Google search results for <quote>hal default mount options</quote>
328 are still full of recommendations to create <filename>*.fdi</filename>
329 files mentioning either
330 <option>volume.policy</option> or <option>storage.policy</option> keys.
331 Such recommendations worked for HAL-0.4.x only and are invalid now.
332 For HAL-&hal-version;, mount options are expected to be handled
333 as follows:</para>
334
335 <itemizedlist>
336 <listitem>
337 <para>An event handler from the desktop environment receives an
338 event describing the newly-added storage device.</para>
339 </listitem>
340 <listitem>
341 <para>If the storage device is not already mentioned in
342 <filename>/etc/fstab</filename>, mount options are fetched from
343 a database of user preferences, which is specific to the desktop
344 environment, and passed back to HAL.
345 This process can be influenced by the filesystem type
346 and possibly other volume properties available from HAL.</para>
347 </listitem>
348 <listitem>
349 <para>If the options are in the list of permitted ones, HAL
350 mounts the volume.</para>
351 </listitem>
352 </itemizedlist>
353
354 <para>The important point above is that the configuration procedure is
355 desktop-specific. However, as of December, 2007, only GNOME allows the
356 user to set default mount options on a per-filesystem basis,
357 as described in the next paragraph.
358 KDE allows the mount options to be set only on a per-volume basis,
359 not per-filesystem, which is a
360 <ulink url="http://bugs.kde.org/show_bug.cgi?id=133456">bug</ulink>,
361 because, as mentioned in the report, <quote>for every new device (let's
362 say your friend's USB stick) you have to first not mount it, then change
363 options and then mount</quote>. Xfce, if compiled with HAL support,
364 <ulink url="http://bugzilla.xfce.org/show_bug.cgi?id=2891">hard-codes</ulink>
365 the mount options without any means to override them,
366 which is even worse.
367 <!-- (for BLFS editors only: they mention policy-kit as a future
368 solution, but, from the description, policy-kit looks like
369 an XML-ized sudo-like configuration parser, which has nothing
370 common with the "default mount options" problem. -->
371 In KDE and Xfce, if the built-in default mount options are not suitable,
372 it is needed to mention every possible removable storage device in
373 <filename>/etc/fstab</filename> with the correct options, thus mostly
374 defeating the point of installing HAL.</para>
375
376 <para>In order to adjust the default mount options, GNOME users should
377 change the
378 <systemitem>/system/storage/default_options/[fs_type]/mount_options</systemitem>
379 GConf key either using <xref linkend="gconf-editor"/>, or from the
380 command line, as demonstrated in the following example:</para>
381
382<screen><userinput>gconftool-2 --type list --list-type=string \
383 --set /system/storage/default_options/vfat/mount_options \
384 "[shortname=mixed,uid=,usefree,iocharset=koi8-r,codepage=866]"</userinput></screen>
385
386 <para>See more details in the gnome-mount(1) manual page.</para>
387 </sect4>
388
389 <sect4><title>Adding allowed mount options</title>
390 <para>The list of mount options permitted in the default HAL
391 configuration resides in the
392 <filename>/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi</filename>
393 file. GNOME and KDE users may want to use options not in this
394 list (in the above example, this applies to the <option>usefree</option>
395 option). In this case, as <systemitem class="username">root</systemitem>
396 user, create a custom policy file that mentions unknown mount
397 options:</para>
398
399<screen role="root"><userinput>cat &gt; /etc/hal/fdi/policy/user-options.fdi &lt;&lt; "EOF"
400<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!-- -*- SGML -*- --&gt;
401
402&lt;!--
403This file is used to set custom options to the HAL policy settings.
404The default policy settings are defined in files contained in the
405/usr/share/hal/fdi/policy subdirectories. User defined customizations
406should be in files contained in the /etc/hal/fdi/policy directory.
407--&gt;
408
409&lt;deviceinfo version="0.2"&gt;
410 &lt;device&gt;
411
412 &lt;!-- this is to be able to mount media in drives we cannot poll,
413 e.g. IDE Zip Drives and PC style floppy drives --&gt;
414 &lt;match key="storage.media_check_enabled" bool="false"&gt;
415 &lt;match key="storage.no_partitions_hint" bool="true"&gt;
416 &lt;append key="volume.mount.valid_options" type="strlist"&gt;usefree&lt;/append&gt;
417 &lt;!-- Insert other options here --&gt;
418 &lt;/match&gt;
419 &lt;/match&gt;
420
421 &lt;match key="volume.fsusage" string="filesystem"&gt;
422
423 &lt;!-- allow these mount options for vfat --&gt;
424 &lt;match key="volume.fstype" string="vfat"&gt;
425 &lt;append key="volume.mount.valid_options" type="strlist"&gt;usefree&lt;/append&gt;
426 &lt;!-- Insert other options here --&gt;
427 &lt;/match&gt;
428 &lt;/match&gt;
429
430 &lt;/device&gt;
431&lt;/deviceinfo&gt;</literal>
432EOF</userinput></screen>
433
434 </sect4>
435 </sect3>
436
437 <sect3 id="hal-init">
438 <title>Boot Script</title>
439
440 <para>To automatically start the <command>hald</command> daemon
441 when the system is rebooted, install the
442 <filename>/etc/rc.d/init.d/haldaemon</filename>
443 bootscript from the
444 <xref linkend="bootscripts"/> package.</para>
445
446 <indexterm zone="hal hal-init">
447 <primary sortas="f-haldaemon">haldaemon</primary>
448 </indexterm>
449
450 <!-- Not sure if this is still required any longer as the HAL daemon
451 used to hang if you didn't first restart the DBUS daemon. This is
452 not the case any longer, but it still seems that D-Bus should be
453 restarted, as the hald.conf file is read by the D-BUS daemon.
454 Leaving it in for now until it is positively confirmed it is not
455 required. -->
456
457 <important>
458 <para>If the system-wide <application>D-BUS</application> daemon was
459 running during the installation of <application>HAL</application>,
460 ensure you stop and restart the <application>D-BUS</application>
461 daemon before attempting to start the <command>hald</command>
462 daemon.</para>
463 </important>
464
465<screen role="root"><userinput>make install-haldaemon</userinput></screen>
466
467 </sect3>
468
469 </sect2>
470
471 <sect2 role="content">
472 <title>Contents</title>
473
474 <segmentedlist>
475 <segtitle>Installed Programs</segtitle>
476 <segtitle>Installed Libraries</segtitle>
477 <segtitle>Installed Directories</segtitle>
478
479 <seglistitem>
480 <seg>hal-device, hal-device-manager, hal-disable-polling,
481 hal-find-by-capability, hal-find-by-property, hal-get-property,
482 hal-is-caller-locked-out, hal-lock, hal-set-property, hald and
483 lshal</seg>
484 <seg>libhal.{so,a} and libhal-storage,{so,a}</seg>
485 <seg>/etc/hal, /usr/include/hal, /usr/lib/hal,
486 /usr/share/doc/hal-&hal-version;, /usr/share/hal, /var/cache/hald,
487 /var/lib/hal, and /var/run/hald</seg>
488 </seglistitem>
489 </segmentedlist>
490
491 <variablelist>
492 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
493 <?dbfo list-presentation="list"?>
494 <?dbhtml list-presentation="table"?>
495
496 <varlistentry id="hal-device">
497 <term><command>hal-device</command></term>
498 <listitem>
499 <para>is used to create, remove or show a
500 <application>HAL</application> device.</para>
501 <indexterm zone="hal hal-device">
502 <primary sortas="b-hal-device">hal-device</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="hal-device-manager">
508 <term><command>hal-device-manager</command></term>
509 <listitem>
510 <para>shows a graphical representation of all the devices
511 <application>HAL</application> is aware of. Here is a <ulink
512 url="http://cvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-devices1.png">
513 screenshot</ulink> of <command>hal-device-manager</command>
514 communicating with the HAL daemon and displaying a tree of device
515 objects. The shown properties in the screenshot are for a device
516 object representing a hard disk.</para>
517 <indexterm zone="hal hal-device-manager">
518 <primary sortas="b-hal-device-manager">hal-device-manager</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="hal-disable-polling">
524 <term><command>hal-disable-polling</command></term>
525 <listitem>
526 <para>can be used to to disable and enable media detection on
527 drives with removable storage.</para>
528 <indexterm zone="hal hal-disable-polling">
529 <primary sortas="b-hal-disable-polling">hal-disable-polling</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <varlistentry id="hal-find-by-capability">
535 <term><command>hal-find-by-capability</command></term>
536 <listitem>
537 <para>prints the Unique Device Identifiers for
538 <application>HAL</application> device objects of a given
539 capability.</para>
540 <indexterm zone="hal hal-find-by-capability">
541 <primary sortas="b-hal-find-by-capability">hal-find-by-capability</primary>
542 </indexterm>
543 </listitem>
544 </varlistentry>
545
546 <varlistentry id="hal-find-by-property">
547 <term><command>hal-find-by-property</command></term>
548 <listitem>
549 <para>prints the Unique Device Identifiers for
550 <application>HAL</application> device objects where a given property
551 assumes a given value.</para>
552 <indexterm zone="hal hal-find-by-property">
553 <primary sortas="b-hal-find-by-property">hal-find-by-property</primary>
554 </indexterm>
555 </listitem>
556 </varlistentry>
557
558 <varlistentry id="hal-get-property">
559 <term><command>hal-get-property</command></term>
560 <listitem>
561 <para>retrieves a property from a device.</para>
562 <indexterm zone="hal hal-get-property">
563 <primary sortas="b-hal-get-property">hal-get-property</primary>
564 </indexterm>
565 </listitem>
566 </varlistentry>
567
568 <varlistentry id="hal-set-property">
569 <term><command>hal-set-property</command></term>
570 <listitem>
571 <para>attempts to set property for a device. Note that, due to
572 security considerations, it may not be possible to set a
573 property.</para>
574 <indexterm zone="hal hal-set-property">
575 <primary sortas="b-hal-set-property">hal-set-property</primary>
576 </indexterm>
577 </listitem>
578 </varlistentry>
579
580 <varlistentry id="hal-is-caller-locked-out">
581 <term><command>hal-is-caller-locked-out</command></term>
582 <listitem>
583 <para>determines if a specific caller is locked out of a specific
584 <application>D-Bus</application> interface on a specific device.</para>
585 <indexterm zone="hal hal-is-caller-locked-out">
586 <primary sortas="b-hal-is-caller-locked-out">hal-is-caller-locked-out</primary>
587 </indexterm>
588 </listitem>
589 </varlistentry>
590
591 <varlistentry id="hald">
592 <term><command>hald</command></term>
593 <listitem>
594 <para>is the <application>HAL</application> daemon program.</para>
595 <indexterm zone="hal hald">
596 <primary sortas="b-hald">hald</primary>
597 </indexterm>
598 </listitem>
599 </varlistentry>
600
601 <varlistentry id="lshal">
602 <term><command>lshal</command></term>
603 <listitem>
604 <para>shows all devices and their properties. If the --monitor option
605 is given then the device list and all devices are monitored for
606 changes.</para>
607 <indexterm zone="hal lshal">
608 <primary sortas="b-lshal">lshal</primary>
609 </indexterm>
610 </listitem>
611 </varlistentry>
612
613 <varlistentry id="libhal">
614 <term><filename class='libraryfile'>libhal.{so,a}</filename></term>
615 <listitem>
616 <para>contains the API functions required by the
617 <application>HAL</application> programs.</para>
618 <indexterm zone="hal libhal">
619 <primary sortas="c-libhal">libhal.{so,a}</primary>
620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="libhal-storage">
625 <term><filename class='libraryfile'>libhal-storage.{so,a}</filename></term>
626 <listitem>
627 <para>contains the API functions required by the
628 <application>HAL</application> storage and volume utility
629 programs.</para>
630 <indexterm zone="hal libhal-storage">
631 <primary sortas="c-libhal-storage">libhal-storage.{so,a}</primary>
632 </indexterm>
633 </listitem>
634 </varlistentry>
635
636 </variablelist>
637
638 </sect2>
639
640</sect1>
Note: See TracBrowser for help on using the repository browser.