source: general/sysutils/hal.xml@ 8eff8c6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 8eff8c6 was 9eea651, checked in by Randy McMurchy <randy@…>, 19 years ago

Added new package HAL-0.5.4

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

  • Property mode set to 100644
File size: 16.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/hal-&hal-version;.tar.gz">
9 <!ENTITY hal-md5sum "2f84ddbc22bc35baa9388e7794d1fa31">
10 <!ENTITY hal-size "1.4 MB">
11 <!ENTITY hal-buildsize "18.0 MB">
12 <!ENTITY hal-time "0.5 SBU">
13]>
14
15<sect1 id="hal" xreflabel="HAL-&hal-version;">
16 <?dbhtml filename="hal.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>HAL-&hal-version;</title>
24
25 <indexterm zone="hal">
26 <primary sortas="a-HAL">HAL</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to HAL</title>
31
32 <para><application>HAL</application> is a hardware abstraction layer, which
33 is a piece of software that provides a view of the various hardware
34 attached to a system. In addition to this, <application>HAL</application>
35 keeps detailed metadata for each piece of hardware and provides hooks such
36 that system and desktop-level software can react to changes in the hardware
37 configuration in order to maintain system policy. The most important goal
38 of <application>HAL</application> is to provide plug-and-play facilities
39 for UNIX-like desktops with focus on providing a rich and extensible
40 description of device characteristics and features.</para>
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&hal-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&hal-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &hal-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &hal-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &hal-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &hal-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
65 <itemizedlist spacing="compact">
66 <listitem>
67 <para>Recommended USB ID list:
68 <ulink url="http://www.linux-usb.org/usb.ids"/></para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">HAL Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para><xref linkend="dbus"/>,
76 <xref linkend="popt"/> and
77 <xref linkend="perl-xml-parser"/></para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para><xref linkend="pciutils"/> (with a current
81 <filename>pci.ids</filename> file)</para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para><xref linkend="pkgconfig"/>,
85 <xref linkend="intltool"/>,
86 <xref linkend="libusb"/>,
87 <xref linkend="expat"/>,
88 <xref linkend="python"/>,
89 <ulink url="http://ftp.gnome.org/pub/GNOME/sources/gnome-python/">GNOME-Python</ulink>
90 (run-time requirement to use the <command>hal-device-manager</command> program),
91 <xref linkend="doxygen"/> and
92 <xref linkend="docbook-utils"/></para>
93
94 </sect2>
95
96 <sect2 role="installation">
97 <title>Installation of HAL</title>
98
99 <para>If you downloaded the USB ID list, install it by issuing the
100 following command as the <systemitem class="username">root</systemitem>
101 user:</para>
102
103<screen role="root"><userinput>install -v -m644 ../usb.ids /usr/share</userinput></screen>
104
105 <para>You must create a dedicated user and group for the
106 <application>HAL</application> daemon before installing the package. Issue
107 the following as the <systemitem class="username">root</systemitem>
108 user:</para>
109
110<screen role="root"><userinput>groupadd -g 19 haldaemon &amp;&amp;
111useradd -c "HAL Daemon User" -d /dev/null -u 19 \
112 -g haldaemon -s /bin/false haldaemon</userinput></screen>
113
114 <para>Install <application>HAL</application> by running the following
115 commands:</para>
116
117<screen><userinput>./configure --prefix=/usr \
118 --sysconfdir=/etc \
119 --libexecdir=/usr/sbin \
120 --localstatedir=/var \
121 --enable-fstab-sync \
122 --enable-pcmcia-support &amp;&amp;
123make</userinput></screen>
124
125 <para>This package does not come with a test suite.</para>
126
127 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
128
129<screen role="root"><userinput>make install &amp;&amp;
130install -v -m755 -d /var/run/hald</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <para><parameter>--libexecdir=/usr/sbin</parameter>: This parameter forces
138 the installation of libexec files to
139 <filename class='directory'>/usr/sbin</filename> instead of
140 <filename class='directory'>/usr/libexec</filename>.</para>
141
142 <para><parameter>--localstatedir=/var</parameter>: This parameter forces
143 the creation of the <filename>pid</filename> file to
144 <filename class='directory'>/var/run/hald</filename> instead of
145 <filename class='directory'>/usr/var/run/hald</filename>.</para>
146
147 <para><parameter>--enable-fstab-sync</parameter>: This parameter will
148 ensure the <command>fstab-sync</command> program is built.</para>
149
150 <para><parameter>--enable-pcmcia-support</parameter>: This parameter
151 provides extended PCMCIA support.</para>
152
153 </sect2>
154
155 <sect2 role="configuration">
156 <title>Configuring HAL</title>
157
158 <sect3 id="hal-config">
159 <title>Config Files</title>
160 <para><filename>/etc/dbus-1/system.d/hal.conf</filename> and
161 <filename>/etc/hal/*</filename></para>
162
163 <indexterm zone="hal hal-config">
164 <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary>
165 </indexterm>
166
167 <indexterm zone="hal hal-config">
168 <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
169 </indexterm>
170 </sect3>
171
172 <sect3><title>Configuration Information</title>
173
174 <para>Research is underway to determine exactly what configuration is
175 necessary.</para>
176
177<!--
178<screen><userinput>USER CONFIG COMMANDS</userinput></screen>
179
180<screen role="root"><userinput>ROOT CONFIG COMMANDS</userinput></screen>
181
182 <para>Create the file .... for ...</para>
183
184<screen role="root"><userinput>cat &gt;&gt; /PATH/FILENAME &lt;&lt; "EOF"
185<literal># Begin FILENAME
186
187TEXT
188
189# End FILENAME</literal>
190EOF</userinput></screen>
191-->
192
193 </sect3>
194
195 <sect3 id="hal-init">
196 <title>Boot Script</title>
197
198 <para>To automatically start the <command>hald</command> daemon
199 when the system is rebooted, install the
200 <filename>/etc/rc.d/init.d/haldaemon</filename>
201 bootscript from the
202 <xref linkend="intro-important-bootscripts"/> package.</para>
203
204 <indexterm zone="hal hal-init">
205 <primary sortas="f-haldaemon">haldaemon</primary>
206 </indexterm>
207
208<screen role="root"><userinput>make install-haldaemon</userinput></screen>
209
210 </sect3>
211
212 </sect2>
213
214 <sect2 role="content">
215 <title>Contents</title>
216
217 <segmentedlist>
218 <segtitle>Installed Programs</segtitle>
219 <segtitle>Installed Libraries</segtitle>
220 <segtitle>Installed Directories</segtitle>
221
222 <seglistitem>
223 <seg>fstab-sync, hal.hotplug, hal-device, hal-device-manager,
224 hal-find-by-capability, hal-find-by-property, hal-get-property,
225 hal-luks-remove, hal-luks-setup, hal-set-property,
226 hal-system-power-hibernate, hal-system-power-set-power-save,
227 hal-system-power-suspend, hald, hald-addon-acpi, hald-addon-hid-ups,
228 hald-addon-pmu, hald-addon-storage, hald-addon-usb-csr,
229 hald-probe-hiddev, hald-probe-input, hald-probe-pc-floppy,
230 hald-probe-printer, hald-probe-smbios, hald-probe-storage,
231 hald-probe-volume and lshal</seg>
232 <seg>libhal.[so,a] and libhal-storage,[so,a]</seg>
233 <seg>/etc/hal, /usr/include/hal, /usr/share/doc/hal-&hal-version;,
234 /usr/share/hal and /var/run/hald</seg>
235 </seglistitem>
236 </segmentedlist>
237
238 <variablelist>
239 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
240 <?dbfo list-presentation="list"?>
241 <?dbhtml list-presentation="table"?>
242
243 <varlistentry id="fstab-sync">
244 <term><command>fstab-sync</command></term>
245 <listitem>
246 <para>updates the file systems table file
247 <filename class='directory'>/etc/fstab</filename> and creates/removes
248 mount points in <filename class='directory'>/media</filename> in
249 response to <application>HAL</application> events. This program is
250 usually never run directly from a shell; instead it is invoked as a
251 callout by the <application>HAL</application> daemon.</para>
252 <indexterm zone="hal fstab-sync">
253 <primary sortas="b-fstab-sync">fstab-sync</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 <varlistentry id="hal-device">
259 <term><command>hal-device</command></term>
260 <listitem>
261 <para>is used to create, remove or show a
262 <application>HAL</application> device.</para>
263 <indexterm zone="hal hal-device">
264 <primary sortas="b-hal-device">hal-device</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="hal-device-manager">
270 <term><command>hal-device-manager</command></term>
271 <listitem>
272 <para>shows a graphical respresentation of all the devices
273 <application>HAL</application> is aware of. This program requires
274 <application>GNOME-Python</application>.</para>
275 <indexterm zone="hal hal-device-manager">
276 <primary sortas="b-hal-device-manager">hal-device-manager</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="hal-find-by-capability">
282 <term><command>hal-find-by-capability</command></term>
283 <listitem>
284 <para>prints the Unique Device Identifiers for
285 <application>HAL</application> device objects of a given
286 capability.</para>
287 <indexterm zone="hal hal-find-by-capability">
288 <primary sortas="b-hal-find-by-cpability">hal-find-by-capability</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="hal-find-by-property">
294 <term><command>hal-find-by-property</command></term>
295 <listitem>
296 <para>prints the Unique Device Identifiers for
297 <application>HAL</application> device objects where a given property
298 assumes a given value.</para>
299 <indexterm zone="hal hal-find-by-property">
300 <primary sortas="b-hal-find-by-property">hal-find-by-property</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="hal-get-property">
306 <term><command>hal-get-property</command></term>
307 <listitem>
308 <para>retrieves a property from a device.</para>
309 <indexterm zone="hal hal-get-property">
310 <primary sortas="b-hal-get-property">hal-get-property</primary>
311 </indexterm>
312 </listitem>
313 </varlistentry>
314
315 <varlistentry id="hal-luks-remove">
316 <term><command>hal-luks-remove</command></term>
317 <listitem>
318 <para>is a <application>HAL</application> method wrapper for
319 <command>cryptsetup</command> remove. This program requires <ulink
320 url="http://luks.endorphin.org/dm-crypt">LUKS</ulink>.</para>
321 <indexterm zone="hal hal-luks-remove">
322 <primary sortas="b-hal-luks-remove">hal-luks-remove</primary>
323 </indexterm>
324 </listitem>
325 </varlistentry>
326
327 <varlistentry id="hal-luks-setup">
328 <term><command>hal-luks-setup</command></term>
329 <listitem>
330 <para>is a <application>HAL</application> method wrapper for
331 <command>luks-setup</command>. This program requires <ulink
332 url="http://luks.endorphin.org/dm-crypt">LUKS</ulink>.</para>
333 <indexterm zone="hal hal-luks-setup">
334 <primary sortas="b-hal-luks-setup">hal-luks-setup</primary>
335 </indexterm>
336 </listitem>
337 </varlistentry>
338
339 <varlistentry id="hal-set-property">
340 <term><command>hal-set-property</command></term>
341 <listitem>
342 <para>attempts to set property for a device. Note that, due to
343 security considerations, it may not be possible to set a
344 property.</para>
345 <indexterm zone="hal hal-set-property">
346 <primary sortas="b-hal-set-property">hal-set-property</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="hal-system-power-hibernate">
352 <term><command>hal-system-power-hibernate</command></term>
353 <listitem>
354 <para>is a <application>HAL</application> wrapper script for
355 system power saving features. This program is currently not supported
356 on LFS platforms.</para>
357 <indexterm zone="hal hal-system-power-hibernate">
358 <primary sortas="b-hal-system-power-hibernate">hal-system-power-hibernate</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="hal-system-power-set-power-save">
364 <term><command>hal-system-power-set-power-save</command></term>
365 <listitem>
366 <para>is a <application>HAL</application> wrapper script for
367 system power saving features. This program is currently not supported
368 on LFS platforms.</para>
369 <indexterm zone="hal hal-system-power-set-power-save">
370 <primary sortas="b-hal-system-power-set-power-save">hal-system-power-set-power-save</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="hal-system-power-suspend">
376 <term><command>hal-system-power-suspend</command></term>
377 <listitem>
378 <para>is a <application>HAL</application> wrapper script for
379 system power saving features. This program is currently not supported
380 on LFS platforms.</para>
381 <indexterm zone="hal hal-system-power-suspend">
382 <primary sortas="b-hal-system-power-suspend">hal-system-power-suspend</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="hald">
388 <term><command>hald</command></term>
389 <listitem>
390 <para>is the <application>HAL</application> daemon program.</para>
391 <indexterm zone="hal hald">
392 <primary sortas="b-hald">hald</primary>
393 </indexterm>
394 </listitem>
395 </varlistentry>
396
397 <varlistentry id="lshal">
398 <term><command>lshal</command></term>
399 <listitem>
400 <para>shows all devices and their properties. If the --monitor option
401 is given then the device list and all devices are monitored for
402 changes.</para>
403 <indexterm zone="hal lshal">
404 <primary sortas="b-lshal">lshal</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="libhal">
410 <term><filename class='libraryfile'>libhal.[so,a]</filename></term>
411 <listitem>
412 <para>contains the API functions required by the
413 <application>HAL</application> programs.</para>
414 <indexterm zone="hal libhal">
415 <primary sortas="c-libhal">libhal.[so,a]</primary>
416 </indexterm>
417 </listitem>
418 </varlistentry>
419
420 <varlistentry id="libhal-storage">
421 <term><filename class='libraryfile'>libhal-storage.[so,a]</filename></term>
422 <listitem>
423 <para>contains the API functions required by the
424 <application>HAL</application> storage and volume utility
425 programs.</para>
426 <indexterm zone="hal libhal-storage">
427 <primary sortas="c-libhal-storage">libhal-storage.[so,a]</primary>
428 </indexterm>
429 </listitem>
430 </varlistentry>
431
432 </variablelist>
433
434 </sect2>
435
436</sect1>
Note: See TracBrowser for help on using the repository browser.