source: general/sysutils/hal.xml@ a12972a

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 a12972a 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
RevLine 
[9eea651]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[9eea651]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[f13cc6f9]7 <!ENTITY hal-download-http "http://hal.freedesktop.org/releases/hal-&hal-version;.tar.gz">
[d0bf291]8 <!ENTITY hal-download-ftp " ">
[6c3d95f9]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">
[d0bf291]13
[6c3d95f9]14 <!ENTITY hal-info-version "20091130">
[f13cc6f9]15 <!ENTITY hal-info-download-http "http://hal.freedesktop.org/releases/hal-info-&hal-info-version;.tar.gz">
[d0bf291]16 <!ENTITY hal-info-download-ftp " ">
[6c3d95f9]17 <!ENTITY hal-info-md5sum "34375489a02a00b250fdc0b280be11b8">
18 <!ENTITY hal-info-size "144 KB">
[9eea651]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
[1f93d11]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.
[baf47952]50 <application>HAL</application> can automatically create a mount point in
51 <filename class="directory">/media</filename> and mount the device.</para>
[9eea651]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
[d0bf291]75 <bridgehead renderas="sect3">Additional Package Download</bridgehead>
[4ea8ecd1]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
[9eea651]92 <bridgehead renderas="sect3">HAL Dependencies</bridgehead>
93
94 <bridgehead renderas="sect4">Required</bridgehead>
[6c3d95f9]95 <para role="required"><xref linkend="dbus-glib"/></para>
[9eea651]96
97 <bridgehead renderas="sect4">Recommended</bridgehead>
[3e5fad0]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>
[9eea651]102
[bf325a39]103 <bridgehead renderas="sect4">Optional (to Build
104 <command>hal-device-manager</command>)</bridgehead>
[f55cbb3]105 <para role="optional"><xref linkend="python"/></para>
[bf325a39]106
[4ea8ecd1]107 <bridgehead renderas="sect4">Optional (to Create Documentation)</bridgehead>
[6129b81]108 <para role="optional"><xref linkend="xmlto"/></para>
[4ea8ecd1]109
[9eea651]110 <bridgehead renderas="sect4">Optional</bridgehead>
[dc66411]111 <para role="optional"><xref linkend="gtk-doc"/>,
[6c3d95f9]112 <xref linkend="acl"/>,
113 <xref linkend="gperf"/>,
[6d32e7af]114 <xref linkend="policykit"/>,
[6c3d95f9]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>
[d0bf291]119
[1039de3]120 <para condition="html" role="usernotes">User Notes:
121 <ulink url="&blfs-wiki;/hal"/></para>
122
[9eea651]123 </sect2>
124
125 <sect2 role="installation">
126 <title>Installation of HAL</title>
127
[1f93d11]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>
[9eea651]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
[311ad41a]141 <para>Install <application>HAL</application> by running the following
142 commands:</para>
[9eea651]143
[3e5fad0]144<screen><userinput>./configure --prefix=/usr \
[9eea651]145 --sysconfdir=/etc \
[9faa2754]146 --libexecdir=/usr/lib/hal \
[6c3d95f9]147 --localstatedir=/var \
[f0211af2]148 --docdir=/usr/share/doc/hal-&hal-version; \
149 --enable_policy_kit=no &amp;&amp;
[9eea651]150make</userinput></screen>
151
[3e5fad0]152 <para>To test the results, issue <command>make check</command>.</para>
[9eea651]153
154 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
155
[4ea8ecd1]156<screen role="root"><userinput>make install</userinput></screen>
157
[d0bf291]158 <para>Install the <application>HAL</application> hardware data with the
[4ea8ecd1]159 following commands:</para>
160
161<screen><userinput>tar -xf ../hal-info-&hal-info-version;.tar.gz &amp;&amp;
[0fed2183]162cd hal-info-&hal-info-version; &amp;&amp;
[6c3d95f9]163./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
[4ea8ecd1]164
[6c3d95f9]165 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[4ea8ecd1]166
167<screen role="root"><userinput>make install</userinput></screen>
[9eea651]168
169 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173
[9faa2754]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
[9eea651]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
[f0211af2]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
[4ea8ecd1]188 <para><parameter>--enable-docbook-docs
189 --docdir=/usr/share/doc/hal-&hal-version;</parameter>: If <xref
[6129b81]190 linkend="xmlto"/> is available, these parameters enable the
191 <application>HAL</application> specification documentation to be
192 built.</para>
[4ea8ecd1]193
[9eea651]194 </sect2>
195
[73f235b]196 <sect2>
[1f93d11]197 <title>Run-Time Dependencies</title>
198
[4ea8ecd1]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
[af73862c]205 <ulink url="http://pm-utils.freedesktop.org/wiki/">pm-utils</ulink>.</para>
[4ea8ecd1]206
[1f93d11]207 <para>The <xref linkend="hal-device-manager"/> program requires several
[8c26139]208 additional <application>Python</application> modules to be available at
209 runtime. These are <xref linkend="dbus-python"/>,
[ce892ab3]210 <xref linkend="pygtk"/> (including the gtk and gtk.libglade modules), and
211 <xref linkend="gnome-python"/> (including the gnome.ui module).</para>
[1f93d11]212
213 </sect2>
214
[9eea651]215 <sect2 role="configuration">
216 <title>Configuring HAL</title>
217
218 <sect3 id="hal-config">
219 <title>Config Files</title>
[baf47952]220 <para><filename>/etc/dbus-1/system.d/hal.conf</filename>,
221 <filename>/etc/dbus-1/system.d/halusers.conf</filename> and
[9eea651]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
[baf47952]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
[9eea651]232 <indexterm zone="hal hal-config">
233 <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
234 </indexterm>
235 </sect3>
236
[baf47952]237 <sect3><title>Configuration Information</title>
[3496df9]238 <sect4><title>Allowing users to invoke HAL methods</title>
[baf47952]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
[9a003fe1]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;
[baf47952]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
[3a79861]270 <application>HAL</application>.</para>
[c5923846]271
[3a79861]272<screen role="root"><userinput>usermod -a -G halusers <replaceable>&lt;username&gt;</replaceable></userinput></screen>
[c5923846]273
[3a79861]274 <para>Note that these users still need
[baf47952]275 to have appropriate permissions to access the devices that
276 <application>HAL</application> will invoke its methods on.</para>
277
[befd6fb]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>
[3496df9]301 </sect4>
[befd6fb]302
[3496df9]303 <sect4><title>Installing mount helpers</title>
[baf47952]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>
[fcceb000]310 <!-- FIXME: is Ivman still alive? -->
[3496df9]311 <!-- FIXME: explicitly name the mount helpers
312 from KDE (???) and Xfce (exo-mount) -->
313 </sect4>
[fcceb000]314
[3496df9]315 <sect4><title>Changing default mount options</title>
[fcceb000]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
[19a2f8f2]319 are needed for filesystems of Windows origin in order to show
[fcceb000]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
[37b13ed]323 <option>usefree</option> option to vfat filesystems in order to reduce
[fcceb000]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
[19a2f8f2]330 <option>volume.policy</option> or <option>storage.policy</option> keys.
[fcceb000]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
[3496df9]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,
[fcceb000]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
[f2775848]362 say your friend's USB stick) you have to first not mount it, then change
[fcceb000]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
[104733c]369 an XML-ized sudo-like configuration parser, which has nothing
[fcceb000]370 common with the "default mount options" problem. -->
[3496df9]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>
[fd7e0ed6]375
[3496df9]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>
[fcceb000]381
[3496df9]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>
[1f93d11]398
[7ea0236b]399<screen role="root"><userinput>cat &gt; /etc/hal/fdi/policy/user-options.fdi &lt;&lt; "EOF"
[d10ebccc]400<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!-- -*- SGML -*- --&gt;
[1f93d11]401
[d10ebccc]402&lt;!--
[1f93d11]403This file is used to set custom options to the HAL policy settings.
404The default policy settings are defined in files contained in the
[278198d]405/usr/share/hal/fdi/policy subdirectories. User defined customizations
406should be in files contained in the /etc/hal/fdi/policy directory.
[d10ebccc]407--&gt;
[1f93d11]408
409&lt;deviceinfo version="0.2"&gt;
410 &lt;device&gt;
411
[fcceb000]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;
[3496df9]417 &lt;!-- Insert other options here --&gt;
[fcceb000]418 &lt;/match&gt;
419 &lt;/match&gt;
[1f93d11]420
[fcceb000]421 &lt;match key="volume.fsusage" string="filesystem"&gt;
[1f93d11]422
[fcceb000]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;
[3496df9]426 &lt;!-- Insert other options here --&gt;
[fcceb000]427 &lt;/match&gt;
[1f93d11]428 &lt;/match&gt;
429
[fcceb000]430 &lt;/device&gt;
[1f93d11]431&lt;/deviceinfo&gt;</literal>
432EOF</userinput></screen>
433
[3496df9]434 </sect4>
[baf47952]435 </sect3>
436
[9eea651]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
[5254d12]444 <xref linkend="bootscripts"/> package.</para>
[9eea651]445
446 <indexterm zone="hal hal-init">
447 <primary sortas="f-haldaemon">haldaemon</primary>
448 </indexterm>
449
[3e5fad0]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
[1f93d11]457 <important>
[9faa2754]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>
[1f93d11]463 </important>
[9faa2754]464
[9eea651]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>
[4ea8ecd1]480 <seg>hal-device, hal-device-manager, hal-disable-polling,
[9eea651]481 hal-find-by-capability, hal-find-by-property, hal-get-property,
[d0bf291]482 hal-is-caller-locked-out, hal-lock, hal-set-property, hald and
[4ea8ecd1]483 lshal</seg>
[1039de3]484 <seg>libhal.{so,a} and libhal-storage,{so,a}</seg>
[9faa2754]485 <seg>/etc/hal, /usr/include/hal, /usr/lib/hal,
[4ea8ecd1]486 /usr/share/doc/hal-&hal-version;, /usr/share/hal, /var/cache/hald,
487 /var/lib/hal, and /var/run/hald</seg>
[9eea651]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>
[06be400]510 <para>shows a graphical representation of all the devices
[ce892ab3]511 <application>HAL</application> is aware of. Here is a <ulink
[1f93d11]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>
[9eea651]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
[4ea8ecd1]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
[9eea651]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">
[b8dba81]541 <primary sortas="b-hal-find-by-capability">hal-find-by-capability</primary>
[9eea651]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
[4ea8ecd1]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
[9eea651]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">
[1039de3]614 <term><filename class='libraryfile'>libhal.{so,a}</filename></term>
[9eea651]615 <listitem>
616 <para>contains the API functions required by the
617 <application>HAL</application> programs.</para>
618 <indexterm zone="hal libhal">
[1039de3]619 <primary sortas="c-libhal">libhal.{so,a}</primary>
[9eea651]620 </indexterm>
621 </listitem>
622 </varlistentry>
623
624 <varlistentry id="libhal-storage">
[1039de3]625 <term><filename class='libraryfile'>libhal-storage.{so,a}</filename></term>
[9eea651]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">
[1039de3]631 <primary sortas="c-libhal-storage">libhal-storage.{so,a}</primary>
[9eea651]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.