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 | <keywordset>
|
---|
22 | <keyword role="package">hal-&hal-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">hal</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>HAL-&hal-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="hal">
|
---|
30 | <primary sortas="a-HAL">HAL</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to HAL</title>
|
---|
35 |
|
---|
36 | <para><application>HAL</application> is a hardware abstraction layer, which
|
---|
37 | is a piece of software that provides a view of the various hardware
|
---|
38 | attached to a system. In addition to this, <application>HAL</application>
|
---|
39 | keeps detailed metadata for each piece of hardware and provides hooks such
|
---|
40 | that system and desktop-level software can react to changes in the hardware
|
---|
41 | configuration in order to maintain system policy.</para>
|
---|
42 |
|
---|
43 | <para>The most important goal of <application>HAL</application> is to
|
---|
44 | provide plug-and-play facilities for UNIX-like desktops with focus on
|
---|
45 | providing a rich and extensible description of device characteristics and
|
---|
46 | features. One example of the functionality provided by
|
---|
47 | <application>HAL</application> is when you plug in a USB storage device.
|
---|
48 | <application>HAL</application> can automatically create an appropriate
|
---|
49 | entry in the <filename>/etc/fstab</filename> file and create the
|
---|
50 | corresponding mount point in
|
---|
51 | <filename class="directory">/media</filename>.</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 Downloads</bridgehead>
|
---|
76 | <itemizedlist spacing="compact">
|
---|
77 | <listitem>
|
---|
78 | <para>Recommended USB ID list:
|
---|
79 | <ulink url="http://www.linux-usb.org/usb.ids"/></para>
|
---|
80 | </listitem>
|
---|
81 | </itemizedlist>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect3">HAL Dependencies</bridgehead>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
86 | <para role="required"><xref linkend="glib2"/>,
|
---|
87 | <xref linkend="dbus"/> (see the <xref linkend="hal-requirements"/>),
|
---|
88 | <xref linkend="python"/>,
|
---|
89 | <xref linkend="popt"/>, and
|
---|
90 | <xref linkend="perl-xml-parser"/></para>
|
---|
91 |
|
---|
92 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
93 | <para role="recommended"><xref linkend="pciutils"/> (with a current
|
---|
94 | <filename>pci.ids</filename> file)</para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
97 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
98 | <xref linkend="intltool"/>,
|
---|
99 | <xref linkend="libusb"/>,
|
---|
100 | <xref linkend="doxygen"/>, and
|
---|
101 | <xref linkend="docbook-utils"/></para>
|
---|
102 |
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="installation">
|
---|
106 | <title>Installation of HAL</title>
|
---|
107 |
|
---|
108 | <para>If you downloaded the USB ID list, install it by issuing the
|
---|
109 | following command as the <systemitem class="username">root</systemitem>
|
---|
110 | user:</para>
|
---|
111 |
|
---|
112 | <screen role="root"><userinput>install -v -m644 ../usb.ids /usr/share</userinput></screen>
|
---|
113 |
|
---|
114 | <para>You must create a dedicated user and group before installing the
|
---|
115 | package. Though the default BLFS instructions run the
|
---|
116 | <application>HAL</application> daemon as the
|
---|
117 | <systemitem class="username">root</systemitem> user, a configuration file
|
---|
118 | is installed which has the dedicated user's name hard-coded in it. This
|
---|
119 | causes a confusing message to be generated when starting the
|
---|
120 | <application>D-BUS</application> daemon. Issue the following commands as
|
---|
121 | the <systemitem class="username">root</systemitem> user:</para>
|
---|
122 |
|
---|
123 | <screen role="root"><userinput>groupadd -g 19 haldaemon &&
|
---|
124 | useradd -c "HAL Daemon User" -d /dev/null -u 19 \
|
---|
125 | -g haldaemon -s /bin/false haldaemon</userinput></screen>
|
---|
126 |
|
---|
127 | <para>Install <application>HAL</application> by running the following
|
---|
128 | commands:</para>
|
---|
129 |
|
---|
130 | <screen><userinput>sed -i -e "s/managed</comment=&/" \
|
---|
131 | -e "s/pamconsole/users/" \
|
---|
132 | fdi/policy/10osvendor/10-storage-policy.fdi &&
|
---|
133 | ./configure --prefix=/usr \
|
---|
134 | --sysconfdir=/etc \
|
---|
135 | --libexecdir=/usr/lib/hal \
|
---|
136 | --localstatedir=/var \
|
---|
137 | --enable-fstab-sync \
|
---|
138 | --enable-pcmcia-support &&
|
---|
139 | make</userinput></screen>
|
---|
140 |
|
---|
141 | <para>This package does not come with a test suite.</para>
|
---|
142 |
|
---|
143 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
144 |
|
---|
145 | <screen role="root"><userinput>make install &&
|
---|
146 | install -v -m755 -d /var/run/hald</userinput></screen>
|
---|
147 |
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="commands">
|
---|
151 | <title>Command Explanations</title>
|
---|
152 |
|
---|
153 | <para><command>sed -i -e ...</command>: This command adjusts the policy for
|
---|
154 | storage devices so that the <filename>/etc/fstab</filename> file is updated
|
---|
155 | to standards used by LFS systems.</para>
|
---|
156 |
|
---|
157 | <para><parameter>--libexecdir=/usr/lib/hal</parameter>: This parameter
|
---|
158 | forces the installation of libexec files to
|
---|
159 | <filename class='directory'>/usr/lib/hal</filename> instead of
|
---|
160 | <filename class='directory'>/usr/libexec</filename>.</para>
|
---|
161 |
|
---|
162 | <para><parameter>--localstatedir=/var</parameter>: This parameter forces
|
---|
163 | the creation of the <filename>pid</filename> file to
|
---|
164 | <filename class='directory'>/var/run/hald</filename> instead of
|
---|
165 | <filename class='directory'>/usr/var/run/hald</filename>.</para>
|
---|
166 |
|
---|
167 | <para><parameter>--enable-fstab-sync</parameter>: This parameter will
|
---|
168 | ensure the <command>fstab-sync</command> program is built.</para>
|
---|
169 |
|
---|
170 | <para><parameter>--enable-pcmcia-support</parameter>: This parameter
|
---|
171 | provides extended PCMCIA support.</para>
|
---|
172 |
|
---|
173 | </sect2>
|
---|
174 |
|
---|
175 | <sect2 id="hal-runtime-dependencies" xreflabel="GNOME-Python">
|
---|
176 | <title>Run-Time Dependencies</title>
|
---|
177 |
|
---|
178 | <para>The <xref linkend="hal-device-manager"/> program requires several
|
---|
179 | additional packages to be installed before it will run. The list is
|
---|
180 | significant and requires a substantial commitment to install them. It is
|
---|
181 | left up to you to determine if the time and effort spent installing the
|
---|
182 | following packages is worth using the <command>hal-device-manager</command>
|
---|
183 | program.</para>
|
---|
184 |
|
---|
185 | <para>Though the only requirement to run the
|
---|
186 | <command>hal-device-manager</command> program is installing
|
---|
187 | <ulink url="&gnome-download-http;/gnome-python/">
|
---|
188 | GNOME-Python</ulink>, the dependency list is staggering. The following
|
---|
189 | list does not include the dependencies already identified in the BLFS
|
---|
190 | book. For example, <application>libgnome</application> already lists
|
---|
191 | <application>GNOME VFS</application>, <application>GConf</application>,
|
---|
192 | etc., so they are not repeated here. Note that some of the dependencies
|
---|
193 | have their own dependencies, which have their own, and so forth and so
|
---|
194 | on.</para>
|
---|
195 |
|
---|
196 | <itemizedlist>
|
---|
197 | <listitem>
|
---|
198 | <para><ulink
|
---|
199 | url="&gnome-download-http;/gnome-python/">GNOME-Python</ulink>
|
---|
200 | </para>
|
---|
201 |
|
---|
202 | <itemizedlist>
|
---|
203 | <listitem>
|
---|
204 | <para><ulink
|
---|
205 | url="http://www.pygtk.org/">PyGTK</ulink> (required)
|
---|
206 | </para>
|
---|
207 |
|
---|
208 | <itemizedlist>
|
---|
209 | <listitem>
|
---|
210 | <para><ulink
|
---|
211 | url="http://www.cairographics.org/pycairo">Pycairo</ulink> (optional)
|
---|
212 | </para>
|
---|
213 |
|
---|
214 | <itemizedlist>
|
---|
215 | <listitem>
|
---|
216 | <para><ulink
|
---|
217 | url="http://www.cairographics.org/snapshots/">libsvg-cairo</ulink> (optional)
|
---|
218 | </para>
|
---|
219 |
|
---|
220 | <itemizedlist>
|
---|
221 | <listitem>
|
---|
222 | <para><ulink
|
---|
223 | url="http://www.cairographics.org/snapshots/">libsvg</ulink> (required)
|
---|
224 | </para>
|
---|
225 | </listitem>
|
---|
226 | </itemizedlist>
|
---|
227 |
|
---|
228 | </listitem>
|
---|
229 | <listitem>
|
---|
230 | <para><ulink
|
---|
231 | url="http://www.pygtk.org/">PyGTK</ulink> (optional, and circular)
|
---|
232 | </para>
|
---|
233 | </listitem>
|
---|
234 | <listitem>
|
---|
235 | <para><ulink
|
---|
236 | url="http://sourceforge.net/projects/numpy">Numerical Python</ulink> (optional)
|
---|
237 | </para>
|
---|
238 | </listitem>
|
---|
239 | </itemizedlist>
|
---|
240 |
|
---|
241 | </listitem>
|
---|
242 | <listitem>
|
---|
243 | <para><ulink
|
---|
244 | url="http://sourceforge.net/projects/numpy">Numerical Python</ulink> (optional)
|
---|
245 | </para>
|
---|
246 | </listitem>
|
---|
247 | <listitem>
|
---|
248 | <para><xref linkend="libglade"/> (required)</para>
|
---|
249 | </listitem>
|
---|
250 | </itemizedlist>
|
---|
251 |
|
---|
252 | </listitem>
|
---|
253 | <listitem>
|
---|
254 | <para><xref linkend="libgnomeui"/> (optional)</para>
|
---|
255 | </listitem>
|
---|
256 | <listitem>
|
---|
257 | <para><xref linkend="libgnome"/> (required)</para>
|
---|
258 | </listitem>
|
---|
259 | <listitem>
|
---|
260 | <para><ulink
|
---|
261 | url="&gnome-download-http;/pyorbit/2.0/">PyORBit</ulink> (optional)
|
---|
262 | </para>
|
---|
263 |
|
---|
264 | <itemizedlist>
|
---|
265 | <listitem>
|
---|
266 | <para><xref linkend="ORBit2"/> (required)</para>
|
---|
267 | </listitem>
|
---|
268 | </itemizedlist>
|
---|
269 |
|
---|
270 | </listitem>
|
---|
271 | </itemizedlist>
|
---|
272 |
|
---|
273 | </listitem>
|
---|
274 | </itemizedlist>
|
---|
275 |
|
---|
276 | <note>
|
---|
277 | <para>The dependency list is designed to start at the bottom and work
|
---|
278 | your way up until the last package to install is
|
---|
279 | <application>GNOME-Python</application>. Note that the dependencies
|
---|
280 | marked as <quote>required</quote> are required for the package it is
|
---|
281 | listed under. For example, you don't need to install
|
---|
282 | <application>ORBit</application> if you don't plan on installing
|
---|
283 | <application>PyORBit</application>. The minimum packages you could
|
---|
284 | install to support running <xref linkend="hal-device-manager"/> would be
|
---|
285 | (in this order): <xref linkend="libgnome"/>, <xref linkend="libglade"/>,
|
---|
286 | <ulink url="http://www.pygtk.org/">PyGTK</ulink> and <ulink
|
---|
287 | url="&gnome-download-http;/gnome-python/">
|
---|
288 | GNOME-Python</ulink>.</para>
|
---|
289 | </note>
|
---|
290 |
|
---|
291 | </sect2>
|
---|
292 |
|
---|
293 | <sect2 role="configuration">
|
---|
294 | <title>Configuring HAL</title>
|
---|
295 |
|
---|
296 | <sect3 id="hal-config">
|
---|
297 | <title>Config Files</title>
|
---|
298 | <para><filename>/etc/dbus-1/system.d/hal.conf</filename> and
|
---|
299 | <filename>/etc/hal/*</filename></para>
|
---|
300 |
|
---|
301 | <indexterm zone="hal hal-config">
|
---|
302 | <primary sortas="e-etc-dbus-1-system.d-hal.conf">/etc/dbus-1/system.d/hal.conf</primary>
|
---|
303 | </indexterm>
|
---|
304 |
|
---|
305 | <indexterm zone="hal hal-config">
|
---|
306 | <primary sortas="e-etc-hal-star">/etc/hal/*</primary>
|
---|
307 | </indexterm>
|
---|
308 | </sect3>
|
---|
309 |
|
---|
310 | <sect3><title>Configuration Information</title>
|
---|
311 |
|
---|
312 | <para>No configuration is necessary for the majority of installations
|
---|
313 | on systems configured with ISO-8859-1 compatible locales. The defaults
|
---|
314 | should work just fine. For some installations, tweaking of the various
|
---|
315 | policies may be required. One such configuration change necessary in some
|
---|
316 | locales is identifying the <option>iocharset</option> and
|
---|
317 | <option>codepage</option> variables in the
|
---|
318 | <filename>/etc/fstab</filename> entries created by the
|
---|
319 | <command>fstab-sync</command> program. If changes are required to the
|
---|
320 | configuration so that your locale is properly identified in the entries
|
---|
321 | created in <filename>/etc/fstab</filename>, issue the following commands
|
---|
322 | as the <systemitem class="username">root</systemitem> user (you must
|
---|
323 | substitute the proper data for the <replaceable>[iocharset]</replaceable>
|
---|
324 | and <replaceable>[codepage]</replaceable> info):</para>
|
---|
325 |
|
---|
326 | <screen role="root"><userinput>install -v -m755 -d /etc/hal/fdi/policy/30user &&
|
---|
327 | cat > /etc/hal/fdi/policy/30user/30user-policy.fdi << "EOF"
|
---|
328 | <literal><?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
|
---|
329 |
|
---|
330 | <!--
|
---|
331 | This file is used to set custom options to the HAL policy settings.
|
---|
332 | The default policy settings are defined in files contained in the
|
---|
333 | /usr/share/hal/fdi/policy directories. User defined customizations
|
---|
334 | should be in files contained in the /etc/hal/fdi/policy directories.
|
---|
335 | -->
|
---|
336 |
|
---|
337 | <deviceinfo version="0.2">
|
---|
338 |
|
---|
339 | <device>
|
---|
340 | <match key="info.udi"
|
---|
341 | string="/org/freedesktop/Hal/devices/computer">
|
---|
342 |
|
---|
343 | <!-- Set the iocharset variable in the /etc/fstab file entry -->
|
---|
344 | <merge
|
---|
345 | key="storage.policy.default.mount_option.iocharset=<replaceable>[iocharset]</replaceable>"
|
---|
346 | type="bool">true</merge>
|
---|
347 |
|
---|
348 | <!-- Set the codepage variable in the /etc/fstab file entry -->
|
---|
349 | <merge
|
---|
350 | key="storage.policy.default.mount_option.codepage=<replaceable>[codepage]</replaceable>"
|
---|
351 | type="bool">true</merge>
|
---|
352 |
|
---|
353 | </match>
|
---|
354 | </device>
|
---|
355 |
|
---|
356 | </deviceinfo></literal>
|
---|
357 |
|
---|
358 | EOF</userinput></screen>
|
---|
359 |
|
---|
360 | <note>
|
---|
361 | <para>The previous commands created a file named
|
---|
362 | <filename>/etc/hal/fdi/policy/30user/30user-policy.fdi</filename>. To
|
---|
363 | ease readability of the file, put everything between the
|
---|
364 | <angle brackets> and <merge></merge> tags on one
|
---|
365 | line. You must have at least one space character
|
---|
366 | where the ends of the lines were. The file would then look like this
|
---|
367 | (trimmed at the top and bottom for brevity):</para>
|
---|
368 |
|
---|
369 | <screen><literal> <device>
|
---|
370 | <match key="<replaceable>[text]</replaceable>" string="<replaceable>[text]</replaceable>">
|
---|
371 |
|
---|
372 | <!-- Set the iocharset variable in the /etc/fstab file entry -->
|
---|
373 | <merge key="<replaceable>[iocharset text]</replaceable>" type="bool">true</merge>
|
---|
374 |
|
---|
375 | <!-- Set the codepage variable in the /etc/fstab file entry -->
|
---|
376 | <merge key="<replaceable>[codepage text]</replaceable>" type="bool">true</merge>
|
---|
377 |
|
---|
378 | </match>
|
---|
379 | </device></literal></screen>
|
---|
380 |
|
---|
381 | </note>
|
---|
382 |
|
---|
383 | </sect3>
|
---|
384 |
|
---|
385 | <sect3 id="hal-init">
|
---|
386 | <title>Boot Script</title>
|
---|
387 |
|
---|
388 | <para>To automatically start the <command>hald</command> daemon
|
---|
389 | when the system is rebooted, install the
|
---|
390 | <filename>/etc/rc.d/init.d/haldaemon</filename>
|
---|
391 | bootscript from the
|
---|
392 | <xref linkend="bootscripts"/> package.</para>
|
---|
393 |
|
---|
394 | <indexterm zone="hal hal-init">
|
---|
395 | <primary sortas="f-haldaemon">haldaemon</primary>
|
---|
396 | </indexterm>
|
---|
397 |
|
---|
398 | <important>
|
---|
399 | <para>If the system-wide <application>D-BUS</application> daemon was
|
---|
400 | running during the installation of <application>HAL</application>,
|
---|
401 | ensure you stop and restart the <application>D-BUS</application>
|
---|
402 | daemon before attempting to start the <command>hald</command>
|
---|
403 | daemon.</para>
|
---|
404 | </important>
|
---|
405 |
|
---|
406 | <screen role="root"><userinput>make install-haldaemon</userinput></screen>
|
---|
407 |
|
---|
408 | </sect3>
|
---|
409 |
|
---|
410 | </sect2>
|
---|
411 |
|
---|
412 | <sect2 role="content">
|
---|
413 | <title>Contents</title>
|
---|
414 |
|
---|
415 | <segmentedlist>
|
---|
416 | <segtitle>Installed Programs</segtitle>
|
---|
417 | <segtitle>Installed Libraries</segtitle>
|
---|
418 | <segtitle>Installed Directories</segtitle>
|
---|
419 |
|
---|
420 | <seglistitem>
|
---|
421 | <seg>fstab-sync, hal.hotplug, hal-device, hal-device-manager,
|
---|
422 | hal-find-by-capability, hal-find-by-property, hal-get-property,
|
---|
423 | hal-luks-remove, hal-luks-setup, hal-set-property,
|
---|
424 | hal-system-power-hibernate, hal-system-power-set-power-save,
|
---|
425 | hal-system-power-suspend, hald, hald-addon-acpi, hald-addon-hid-ups,
|
---|
426 | hald-addon-pmu, hald-addon-storage, hald-addon-usb-csr,
|
---|
427 | hald-probe-hiddev, hald-probe-input, hald-probe-pc-floppy,
|
---|
428 | hald-probe-printer, hald-probe-smbios, hald-probe-storage,
|
---|
429 | hald-probe-volume and lshal</seg>
|
---|
430 | <seg>libhal.[so,a] and libhal-storage,[so,a]</seg>
|
---|
431 | <seg>/etc/hal, /usr/include/hal, /usr/lib/hal,
|
---|
432 | /usr/share/doc/hal-&hal-version;, /usr/share/hal
|
---|
433 | and /var/run/hald</seg>
|
---|
434 | </seglistitem>
|
---|
435 | </segmentedlist>
|
---|
436 |
|
---|
437 | <variablelist>
|
---|
438 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
439 | <?dbfo list-presentation="list"?>
|
---|
440 | <?dbhtml list-presentation="table"?>
|
---|
441 |
|
---|
442 | <varlistentry id="fstab-sync">
|
---|
443 | <term><command>fstab-sync</command></term>
|
---|
444 | <listitem>
|
---|
445 | <para>updates the file systems table file
|
---|
446 | <filename class='directory'>/etc/fstab</filename> and creates/removes
|
---|
447 | mount points in <filename class='directory'>/media</filename> in
|
---|
448 | response to <application>HAL</application> events. This program is
|
---|
449 | usually never run directly from a shell; instead it is invoked as a
|
---|
450 | callout by the <application>HAL</application> daemon.</para>
|
---|
451 | <indexterm zone="hal fstab-sync">
|
---|
452 | <primary sortas="b-fstab-sync">fstab-sync</primary>
|
---|
453 | </indexterm>
|
---|
454 | </listitem>
|
---|
455 | </varlistentry>
|
---|
456 |
|
---|
457 | <varlistentry id="hal-device">
|
---|
458 | <term><command>hal-device</command></term>
|
---|
459 | <listitem>
|
---|
460 | <para>is used to create, remove or show a
|
---|
461 | <application>HAL</application> device.</para>
|
---|
462 | <indexterm zone="hal hal-device">
|
---|
463 | <primary sortas="b-hal-device">hal-device</primary>
|
---|
464 | </indexterm>
|
---|
465 | </listitem>
|
---|
466 | </varlistentry>
|
---|
467 |
|
---|
468 | <varlistentry id="hal-device-manager">
|
---|
469 | <term><command>hal-device-manager</command></term>
|
---|
470 | <listitem>
|
---|
471 | <para>shows a graphical respresentation of all the devices
|
---|
472 | <application>HAL</application> is aware of. This program requires
|
---|
473 | <xref linkend="hal-runtime-dependencies"/>. Here is a <ulink
|
---|
474 | url="http://cvs.freedesktop.org/*checkout*/hal/hal/doc/spec/hal-devices1.png">
|
---|
475 | screenshot</ulink> of <command>hal-device-manager</command>
|
---|
476 | communicating with the HAL daemon and displaying a tree of device
|
---|
477 | objects. The shown properties in the screenshot are for a device
|
---|
478 | object representing a hard disk.</para>
|
---|
479 | <indexterm zone="hal hal-device-manager">
|
---|
480 | <primary sortas="b-hal-device-manager">hal-device-manager</primary>
|
---|
481 | </indexterm>
|
---|
482 | </listitem>
|
---|
483 | </varlistentry>
|
---|
484 |
|
---|
485 | <varlistentry id="hal-find-by-capability">
|
---|
486 | <term><command>hal-find-by-capability</command></term>
|
---|
487 | <listitem>
|
---|
488 | <para>prints the Unique Device Identifiers for
|
---|
489 | <application>HAL</application> device objects of a given
|
---|
490 | capability.</para>
|
---|
491 | <indexterm zone="hal hal-find-by-capability">
|
---|
492 | <primary sortas="b-hal-find-by-cpability">hal-find-by-capability</primary>
|
---|
493 | </indexterm>
|
---|
494 | </listitem>
|
---|
495 | </varlistentry>
|
---|
496 |
|
---|
497 | <varlistentry id="hal-find-by-property">
|
---|
498 | <term><command>hal-find-by-property</command></term>
|
---|
499 | <listitem>
|
---|
500 | <para>prints the Unique Device Identifiers for
|
---|
501 | <application>HAL</application> device objects where a given property
|
---|
502 | assumes a given value.</para>
|
---|
503 | <indexterm zone="hal hal-find-by-property">
|
---|
504 | <primary sortas="b-hal-find-by-property">hal-find-by-property</primary>
|
---|
505 | </indexterm>
|
---|
506 | </listitem>
|
---|
507 | </varlistentry>
|
---|
508 |
|
---|
509 | <varlistentry id="hal-get-property">
|
---|
510 | <term><command>hal-get-property</command></term>
|
---|
511 | <listitem>
|
---|
512 | <para>retrieves a property from a device.</para>
|
---|
513 | <indexterm zone="hal hal-get-property">
|
---|
514 | <primary sortas="b-hal-get-property">hal-get-property</primary>
|
---|
515 | </indexterm>
|
---|
516 | </listitem>
|
---|
517 | </varlistentry>
|
---|
518 |
|
---|
519 | <varlistentry id="hal-luks-remove">
|
---|
520 | <term><command>hal-luks-remove</command></term>
|
---|
521 | <listitem>
|
---|
522 | <para>is a <application>HAL</application> method wrapper for
|
---|
523 | <command>cryptsetup</command> remove. This program requires <ulink
|
---|
524 | url="http://luks.endorphin.org/dm-crypt">LUKS</ulink>.</para>
|
---|
525 | <indexterm zone="hal hal-luks-remove">
|
---|
526 | <primary sortas="b-hal-luks-remove">hal-luks-remove</primary>
|
---|
527 | </indexterm>
|
---|
528 | </listitem>
|
---|
529 | </varlistentry>
|
---|
530 |
|
---|
531 | <varlistentry id="hal-luks-setup">
|
---|
532 | <term><command>hal-luks-setup</command></term>
|
---|
533 | <listitem>
|
---|
534 | <para>is a <application>HAL</application> method wrapper for
|
---|
535 | <command>luks-setup</command>. This program requires <ulink
|
---|
536 | url="http://luks.endorphin.org/dm-crypt">LUKS</ulink>.</para>
|
---|
537 | <indexterm zone="hal hal-luks-setup">
|
---|
538 | <primary sortas="b-hal-luks-setup">hal-luks-setup</primary>
|
---|
539 | </indexterm>
|
---|
540 | </listitem>
|
---|
541 | </varlistentry>
|
---|
542 |
|
---|
543 | <varlistentry id="hal-set-property">
|
---|
544 | <term><command>hal-set-property</command></term>
|
---|
545 | <listitem>
|
---|
546 | <para>attempts to set property for a device. Note that, due to
|
---|
547 | security considerations, it may not be possible to set a
|
---|
548 | property.</para>
|
---|
549 | <indexterm zone="hal hal-set-property">
|
---|
550 | <primary sortas="b-hal-set-property">hal-set-property</primary>
|
---|
551 | </indexterm>
|
---|
552 | </listitem>
|
---|
553 | </varlistentry>
|
---|
554 |
|
---|
555 | <varlistentry id="hal-system-power-hibernate">
|
---|
556 | <term><command>hal-system-power-hibernate</command></term>
|
---|
557 | <listitem>
|
---|
558 | <para>is a <application>HAL</application> wrapper script for
|
---|
559 | system power saving features. This program is currently not supported
|
---|
560 | on LFS platforms.</para>
|
---|
561 | <indexterm zone="hal hal-system-power-hibernate">
|
---|
562 | <primary sortas="b-hal-system-power-hibernate">hal-system-power-hibernate</primary>
|
---|
563 | </indexterm>
|
---|
564 | </listitem>
|
---|
565 | </varlistentry>
|
---|
566 |
|
---|
567 | <varlistentry id="hal-system-power-set-power-save">
|
---|
568 | <term><command>hal-system-power-set-power-save</command></term>
|
---|
569 | <listitem>
|
---|
570 | <para>is a <application>HAL</application> wrapper script for
|
---|
571 | system power saving features. This program is currently not supported
|
---|
572 | on LFS platforms.</para>
|
---|
573 | <indexterm zone="hal hal-system-power-set-power-save">
|
---|
574 | <primary sortas="b-hal-system-power-set-power-save">hal-system-power-set-power-save</primary>
|
---|
575 | </indexterm>
|
---|
576 | </listitem>
|
---|
577 | </varlistentry>
|
---|
578 |
|
---|
579 | <varlistentry id="hal-system-power-suspend">
|
---|
580 | <term><command>hal-system-power-suspend</command></term>
|
---|
581 | <listitem>
|
---|
582 | <para>is a <application>HAL</application> wrapper script for
|
---|
583 | system power saving features. This program is currently not supported
|
---|
584 | on LFS platforms.</para>
|
---|
585 | <indexterm zone="hal hal-system-power-suspend">
|
---|
586 | <primary sortas="b-hal-system-power-suspend">hal-system-power-suspend</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>
|
---|