source: general/sysutils/hal.xml@ 73f235b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 73f235b was 73f235b, checked in by Randy McMurchy <randy@…>, 17 years ago

Modified the Gnome-Python dependency list entity (use this until Gnome-Python is put in the book)

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

  • Property mode set to 100644
File size: 29.2 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 packages to be installed before it will run. The list is
218 significant and requires a substantial commitment to install them. It is
219 left up to you to determine if the time and effort spent installing the
220 following packages is worth using the <command>hal-device-manager</command>
221 program.</para>
222
223 <para>Though the only requirement to run the
224 <command>hal-device-manager</command> program is installing
225 <ulink url="&gnome-download-http;/gnome-python/">
226 GNOME-Python</ulink> and <xref linkend="dbus-python"/>, the dependency
227 list is staggering. The following list does not include the dependencies
228 already identified in the BLFS book. For example,
229 <application>libgnome</application> already lists
230 <application>GNOME VFS</application>, <application>GConf</application>,
231 etc., so they are not repeated here. Note that some of the dependencies
232 have their own dependencies, which have their own, and so forth and so
233 on.</para>
234
235 <itemizedlist>
236 <listitem>
237 <para id="gnome-python-dependencies"
238 xreflabel="GNOME-Python dependency list"><ulink
239 url="&gnome-download-http;/gnome-python/">GNOME-Python</ulink>
240 </para>
241
242 <itemizedlist>
243 <listitem>
244 <para><ulink
245 url="http://www.pygtk.org/">PyGTK</ulink> (required)
246 </para>
247
248 <itemizedlist>
249 <listitem>
250 <para><xref linkend="libglade"/> (required)</para>
251 </listitem>
252 <listitem>
253 <para><ulink
254 url="&gnome-download-http;/pygobject/">PyGObject</ulink> (required)</para>
255 </listitem>
256 <listitem>
257 <para><ulink
258 url="http://www.cairographics.org/pycairo">Pycairo</ulink> (optional)
259 </para>
260
261 <!-- Removing these dependencies as they are now obsolete
262 See the pycairo docs for full details
263 <itemizedlist>
264 <listitem>
265 <para><ulink
266 url="http://www.cairographics.org/snapshots/">libsvg-cairo</ulink> (optional)
267 </para>
268
269 <itemizedlist>
270 <listitem>
271 <para><ulink
272 url="http://www.cairographics.org/snapshots/">libsvg</ulink> (required)
273 </para>
274 </listitem>
275 </itemizedlist>
276
277 </listitem>
278 <listitem>
279 <para><ulink
280 url="http://www.pygtk.org/">PyGTK</ulink> (optional, and circular)
281 </para>
282 </listitem>
283 <listitem>
284 <para><ulink
285 url="http://sourceforge.net/projects/numpy">Numerical Python</ulink> (optional)
286 </para>
287 </listitem>
288 </itemizedlist>
289 -->
290
291 </listitem>
292 <listitem>
293 <para><ulink
294 url="http://sourceforge.net/projects/numpy">Old Numeric</ulink> (optional)
295 </para>
296 </listitem>
297 </itemizedlist>
298
299 </listitem>
300 <listitem>
301 <para><xref linkend="libgnomeui"/> (optional)</para>
302 </listitem>
303 <listitem>
304 <para><xref linkend="libgnome"/> (required)</para>
305 </listitem>
306 <listitem>
307 <para><ulink
308 url="&gnome-download-http;/pyorbit/">PyORBit</ulink> (optional)
309 </para>
310
311 <itemizedlist>
312 <listitem>
313 <para><xref linkend="ORBit2"/> (required)</para>
314 </listitem>
315 </itemizedlist>
316
317 </listitem>
318 </itemizedlist>
319
320 </listitem>
321 <listitem>
322 <para><xref linkend="dbus-python"/> (required)</para>
323 </listitem>
324 </itemizedlist>
325
326 <note>
327 <para>The dependency list is designed to start at the bottom and work
328 your way up until the last package to install is
329 <application>GNOME-Python</application>. Note that the dependencies
330 marked as <quote>required</quote> are required for the package it is
331 listed under. For example, you don't need to install
332 <application>ORBit</application> if you don't plan on installing
333 <application>PyORBit</application>. The minimum packages you could
334 install to support running <xref linkend="hal-device-manager"/> would be
335 (in this order): <xref linkend="dbus-python"/>, <xref linkend="ORBit2"/>,
336 <xref linkend="libgnome"/>, <xref linkend="libglade"/>,
337 <ulink url="&gnome-download-http;/pygobject/">PyGObject</ulink>,
338 <ulink url="http://www.pygtk.org/">PyGTK</ulink> and <ulink
339 url="&gnome-download-http;/gnome-python/">GNOME-Python</ulink>.</para>
340 </note>
341
342 </sect2>
343
344 <sect2 role="configuration">
345 <title>Configuring HAL</title>
346
347 <sect3 id="hal-config">
348 <title>Config Files</title>
349 <para><filename>/etc/dbus-1/system.d/hal.conf</filename>,
350 <filename>/etc/dbus-1/system.d/halusers.conf</filename> and
351 <filename>/etc/hal/*</filename></para>
352
353 <indexterm zone="hal hal-config">
354 <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary>
355 </indexterm>
356
357 <indexterm zone="hal hal-config">
358 <primary sortas="e-etc-dbus-1-system.d-halusers.conf">/etc/dbus-1/system.d/halusers.conf</primary>
359 </indexterm>
360
361 <indexterm zone="hal hal-config">
362 <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
363 </indexterm>
364 </sect3>
365
366 <sect3><title>Configuration Information</title>
367
368 <para>The default setup for <application>HAL</application> is to allow
369 only certain users to invoke methods such as Mount(). These are
370 the <systemitem class="username">root</systemitem> user and the user
371 determined to be at the active console using <ulink
372 url="&blfs-wiki;/linux-pam">pam_console</ulink>. If you are not set
373 up to use <xref linkend="linux-pam"/> and <ulink
374 url="&blfs-wiki;/linux-pam">pam_console</ulink>, create a group that
375 is allowed to invoke <application>HAL</application> methods with the
376 following commands:</para>
377
378<screen role="root"><userinput>groupadd -g 61 halusers &amp;&amp;
379cat &gt; /etc/dbus-1/system.d/halusers.conf &lt;&lt; "EOF"
380<literal>&lt;!DOCTYPE busconfig PUBLIC
381 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
382 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
383&lt;busconfig&gt;
384
385 &lt;!-- Allow users in the halusers group invoke HAL methods --&gt;
386 &lt;policy group="halusers"&gt;
387 &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
388 &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
389 &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
390 &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
391 &lt;/policy&gt;
392
393&lt;/busconfig&gt;</literal>
394EOF</userinput></screen>
395
396 <para>Now add the users you would like to the <systemitem
397 class="groupname">halusers</systemitem> group to use
398 <application>HAL</application>. Note that these users still need
399 to have appropriate permissions to access the devices that
400 <application>HAL</application> will invoke its methods on.</para>
401
402 <para>With the above configuration in place, authorized users now
403 have the ability to unmount disk partitions mounted at non-standard
404 locations such as <filename class='directory'>/pub</filename>. If
405 you'd like to restrict this policy to only drives which are considered
406 removable or hotpluggable, add the following configuration file as
407 the <systemitem class='username'>root</systemitem> user:</para>
408
409<screen role="root"><userinput>cat &gt; /etc/hal/fdi/policy/no-fixed-drives.fdi &lt;&lt; "EOF"
410<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!-- -*- SGML -*- --&gt;
411
412&lt;!-- Don't allow HAL methods on disks that are not
413 removable or hotpluggable --&gt;
414
415&lt;deviceinfo version="0.2"&gt;
416&lt;device&gt;
417 &lt;match key="@block.storage_device:storage.hotpluggable" bool="false"&gt;
418 &lt;match key="@block.storage_device:storage.removable" bool="false"&gt;
419 &lt;merge key="volume.ignore" type="bool"&gt;true&lt;/merge&gt;
420 &lt;/match&gt;
421 &lt;/match&gt;
422&lt;/device&gt;
423&lt;/deviceinfo&gt;</literal>
424EOF</userinput></screen>
425
426 <para><application>HAL</application> only provides the methods such
427 as Mount() to act on hardware. In order to take advantage of these,
428 a <application>HAL</application> event handler such as
429 <xref linkend="gnome-volume-manager"/> or <ulink
430 url="http://ivman.sourceforge.net/">Ivman</ulink> should be
431 installed.</para>
432
433 <!-- Following note is only relevant for HAL-0.5.7.x.
434 Fixed upstream. -->
435 <note>
436 <para><application>HAL</application> will ignore any devices listed
437 in <filename>/etc/fstab</filename> for the purpose of automounting.
438 You must remove any listings for devices that you would like
439 automounted such as CD-ROMs or USB keys.</para>
440 </note>
441
442 <!-- This section commented out for now until it is determined what should
443 be placed in this section
444
445 FIXME: I think this information is still relevant with the
446 exception of its interaction with /etc/fstab. Needs investigation.
447
448 <para>No configuration is necessary for the majority of installations
449 on systems configured with ISO-8859-1 compatible locales. The defaults
450 should work just fine. For some installations, tweaking of the various
451 policies may be required. One such configuration change necessary in some
452 locales is identifying the <option>iocharset</option> and
453 <option>codepage</option> variables in the
454 <filename>/etc/fstab</filename> entries created by the
455 <command>fstab-sync</command> program. If changes are required to the
456 configuration so that your locale is properly identified in the entries
457 created in <filename>/etc/fstab</filename>, issue the following commands
458 as the <systemitem class="username">root</systemitem> user (you must
459 substitute the proper data for the
460 <replaceable>&lt;iocharset&gt;</replaceable> and
461 <replaceable>&lt;codepage&gt;</replaceable> info):</para>
462
463<screen role="root"><userinput>install -v -m755 -d /etc/hal/fdi/policy/30user &amp;&amp;
464cat &gt; /etc/hal/fdi/policy/30user/30user-policy.fdi &lt;&lt; "EOF"
465<literal>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!- -*- SGML -*- -&gt;
466
467&lt;!-
468This file is used to set custom options to the HAL policy settings.
469The default policy settings are defined in files contained in the
470/usr/share/hal/fdi/policy directories. User defined customizations
471should be in files contained in the /etc/hal/fdi/policy directories.
472-&gt;
473
474&lt;deviceinfo version="0.2"&gt;
475
476 &lt;device&gt;
477 &lt;match key="info.udi"
478 string="/org/freedesktop/Hal/devices/computer"&gt;
479
480 &lt;!- Set the iocharset variable in the /etc/fstab file entry -&gt;
481 &lt;merge
482 key="storage.policy.default.mount_option.iocharset=<replaceable>&lt;iocharset&gt;</replaceable>"
483 type="bool"&gt;true&lt;/merge&gt;
484
485 &lt;!- Set the codepage variable in the /etc/fstab file entry -&gt;
486 &lt;merge
487 key="storage.policy.default.mount_option.codepage=<replaceable>&lt;codepage&gt;</replaceable>"
488 type="bool"&gt;true&lt;/merge&gt;
489
490 &lt;/match&gt;
491 &lt;/device&gt;
492
493&lt;/deviceinfo&gt;</literal>
494
495EOF</userinput></screen>
496
497 <note>
498 <para>The previous commands created a file named
499 <filename>/etc/hal/fdi/policy/30user/30user-policy.fdi</filename>. To
500 ease readability of the file, put everything between the
501 &lt;angle brackets&gt; and &lt;merge&gt;&lt;/merge&gt; tags on one
502 line. You must have at least one space character
503 where the ends of the lines were. The file would then look like this
504 (trimmed at the top and bottom for brevity):</para>
505
506<screen><literal> &lt;device&gt;
507 &lt;match key="<replaceable>&lt;text&gt;</replaceable>" string="<replaceable>&lt;text&gt;</replaceable>"&gt;
508
509 &lt;!- Set the iocharset variable in the /etc/fstab file entry -&gt;
510 &lt;merge key="<replaceable>&lt;iocharset text&gt;</replaceable>" type="bool"&gt;true&lt;/merge&gt;
511
512 &lt;!- Set the codepage variable in the /etc/fstab file entry -&gt;
513 &lt;merge key="<replaceable>&lt;codepage text&gt;</replaceable>" type="bool"&gt;true&lt;/merge&gt;
514
515 &lt;/match&gt;
516 &lt;/device&gt;</literal></screen>
517
518 </note>
519
520 -->
521
522 </sect3>
523
524 <sect3 id="hal-init">
525 <title>Boot Script</title>
526
527 <para>To automatically start the <command>hald</command> daemon
528 when the system is rebooted, install the
529 <filename>/etc/rc.d/init.d/haldaemon</filename>
530 bootscript from the
531 <xref linkend="bootscripts"/> package.</para>
532
533 <indexterm zone="hal hal-init">
534 <primary sortas="f-haldaemon">haldaemon</primary>
535 </indexterm>
536
537 <!-- Not sure if this is still required any longer as the HAL daemon
538 used to hang if you didn't first restart the DBUS daemon. This is
539 not the case any longer, but it still seems that D-Bus should be
540 restarted, as the hald.conf file is read by the D-BUS daemon.
541 Leaving it in for now until it is positively confirmed it is not
542 required. -->
543
544 <important>
545 <para>If the system-wide <application>D-BUS</application> daemon was
546 running during the installation of <application>HAL</application>,
547 ensure you stop and restart the <application>D-BUS</application>
548 daemon before attempting to start the <command>hald</command>
549 daemon.</para>
550 </important>
551
552<screen role="root"><userinput>make install-haldaemon</userinput></screen>
553
554 </sect3>
555
556 </sect2>
557
558 <sect2 role="content">
559 <title>Contents</title>
560
561 <segmentedlist>
562 <segtitle>Installed Programs</segtitle>
563 <segtitle>Installed Libraries</segtitle>
564 <segtitle>Installed Directories</segtitle>
565
566 <seglistitem>
567 <seg>hal-device, hal-device-manager, hal-disable-polling,
568 hal-find-by-capability, hal-find-by-property, hal-get-property,
569 hal-is-caller-locked-out, hal-lock, hal-set-property, hald and
570 lshal</seg>
571 <seg>libhal.{so,a} and libhal-storage,{so,a}</seg>
572 <seg>/etc/hal, /usr/include/hal, /usr/lib/hal,
573 /usr/share/doc/hal-&hal-version;, /usr/share/hal, /var/cache/hald,
574 /var/lib/hal, and /var/run/hald</seg>
575 </seglistitem>
576 </segmentedlist>
577
578 <variablelist>
579 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
580 <?dbfo list-presentation="list"?>
581 <?dbhtml list-presentation="table"?>
582
583 <varlistentry id="hal-device">
584 <term><command>hal-device</command></term>
585 <listitem>
586 <para>is used to create, remove or show a
587 <application>HAL</application> device.</para>
588 <indexterm zone="hal hal-device">
589 <primary sortas="b-hal-device">hal-device</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="hal-device-manager">
595 <term><command>hal-device-manager</command></term>
596 <listitem>
597 <para>shows a graphical representation of all the devices
598 <application>HAL</application> is aware of. This program requires
599 the <xref linkend="gnome-python-dependencies"/>. Here is a <ulink
600 url="http://cvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-devices1.png">
601 screenshot</ulink> of <command>hal-device-manager</command>
602 communicating with the HAL daemon and displaying a tree of device
603 objects. The shown properties in the screenshot are for a device
604 object representing a hard disk.</para>
605 <indexterm zone="hal hal-device-manager">
606 <primary sortas="b-hal-device-manager">hal-device-manager</primary>
607 </indexterm>
608 </listitem>
609 </varlistentry>
610
611 <varlistentry id="hal-disable-polling">
612 <term><command>hal-disable-polling</command></term>
613 <listitem>
614 <para>can be used to to disable and enable media detection on
615 drives with removable storage.</para>
616 <indexterm zone="hal hal-disable-polling">
617 <primary sortas="b-hal-disable-polling">hal-disable-polling</primary>
618 </indexterm>
619 </listitem>
620 </varlistentry>
621
622 <varlistentry id="hal-find-by-capability">
623 <term><command>hal-find-by-capability</command></term>
624 <listitem>
625 <para>prints the Unique Device Identifiers for
626 <application>HAL</application> device objects of a given
627 capability.</para>
628 <indexterm zone="hal hal-find-by-capability">
629 <primary sortas="b-hal-find-by-capability">hal-find-by-capability</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="hal-find-by-property">
635 <term><command>hal-find-by-property</command></term>
636 <listitem>
637 <para>prints the Unique Device Identifiers for
638 <application>HAL</application> device objects where a given property
639 assumes a given value.</para>
640 <indexterm zone="hal hal-find-by-property">
641 <primary sortas="b-hal-find-by-property">hal-find-by-property</primary>
642 </indexterm>
643 </listitem>
644 </varlistentry>
645
646 <varlistentry id="hal-get-property">
647 <term><command>hal-get-property</command></term>
648 <listitem>
649 <para>retrieves a property from a device.</para>
650 <indexterm zone="hal hal-get-property">
651 <primary sortas="b-hal-get-property">hal-get-property</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
656 <varlistentry id="hal-set-property">
657 <term><command>hal-set-property</command></term>
658 <listitem>
659 <para>attempts to set property for a device. Note that, due to
660 security considerations, it may not be possible to set a
661 property.</para>
662 <indexterm zone="hal hal-set-property">
663 <primary sortas="b-hal-set-property">hal-set-property</primary>
664 </indexterm>
665 </listitem>
666 </varlistentry>
667
668 <varlistentry id="hal-is-caller-locked-out">
669 <term><command>hal-is-caller-locked-out</command></term>
670 <listitem>
671 <para>determines if a specific caller is locked out of a specific
672 <application>D-Bus</application> interface on a specific device.</para>
673 <indexterm zone="hal hal-is-caller-locked-out">
674 <primary sortas="b-hal-is-caller-locked-out">hal-is-caller-locked-out</primary>
675 </indexterm>
676 </listitem>
677 </varlistentry>
678
679 <varlistentry id="hald">
680 <term><command>hald</command></term>
681 <listitem>
682 <para>is the <application>HAL</application> daemon program.</para>
683 <indexterm zone="hal hald">
684 <primary sortas="b-hald">hald</primary>
685 </indexterm>
686 </listitem>
687 </varlistentry>
688
689 <varlistentry id="lshal">
690 <term><command>lshal</command></term>
691 <listitem>
692 <para>shows all devices and their properties. If the --monitor option
693 is given then the device list and all devices are monitored for
694 changes.</para>
695 <indexterm zone="hal lshal">
696 <primary sortas="b-lshal">lshal</primary>
697 </indexterm>
698 </listitem>
699 </varlistentry>
700
701 <varlistentry id="libhal">
702 <term><filename class='libraryfile'>libhal.{so,a}</filename></term>
703 <listitem>
704 <para>contains the API functions required by the
705 <application>HAL</application> programs.</para>
706 <indexterm zone="hal libhal">
707 <primary sortas="c-libhal">libhal.{so,a}</primary>
708 </indexterm>
709 </listitem>
710 </varlistentry>
711
712 <varlistentry id="libhal-storage">
713 <term><filename class='libraryfile'>libhal-storage.{so,a}</filename></term>
714 <listitem>
715 <para>contains the API functions required by the
716 <application>HAL</application> storage and volume utility
717 programs.</para>
718 <indexterm zone="hal libhal-storage">
719 <primary sortas="c-libhal-storage">libhal-storage.{so,a}</primary>
720 </indexterm>
721 </listitem>
722 </varlistentry>
723
724 </variablelist>
725
726 </sect2>
727
728</sect1>
Note: See TracBrowser for help on using the repository browser.