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