%general-entities; ]> $LastChangedBy$ $Date$ hal-&hal-version;.tar hal HAL-&hal-version; HAL Introduction to HAL HAL is a hardware abstraction layer, which is a piece of software that provides a view of the various hardware attached to a system. In addition to this, HAL keeps detailed metadata for each piece of hardware and provides hooks such that system and desktop-level software can react to changes in the hardware configuration in order to maintain system policy. The most important goal of HAL is to provide plug-and-play facilities for UNIX-like desktops with focus on providing a rich and extensible description of device characteristics and features. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &hal-md5sum; Download size: &hal-size; Estimated disk space required: &hal-buildsize; Estimated build time: &hal-time; Additional Downloads Recommended USB ID list: HAL Dependencies Required , and Recommended (with a current pci.ids file) Optional , , , , , GNOME-Python (run-time requirement to use the hal-device-manager program), and Installation of HAL If you downloaded the USB ID list, install it by issuing the following command as the root user: install -v -m644 ../usb.ids /usr/share You must create a dedicated user and group for the HAL daemon before installing the package. Issue the following as the root user: groupadd -g 19 haldaemon && useradd -c "HAL Daemon User" -d /dev/null -u 19 \ -g haldaemon -s /bin/false haldaemon Install HAL by running the following commands: sed -i -e "9,11d" -e "s/pamconsole/users/" \ fdi/policy/10osvendor/10-storage-policy.fdi && ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/hal \ --localstatedir=/var \ --enable-fstab-sync \ --enable-pcmcia-support && make This package does not come with a test suite. Now, as the root user: make install && install -v -m755 -d /var/run/hald Command Explanations sed -i -e "9,11d" -e "s/pamconsole/users/" ...: This command adjusts the policy for storage devices so that the /etc/fstab file is updated to standards used by LFS systems. --libexecdir=/usr/lib/hal: This parameter forces the installation of libexec files to /usr/lib/hal instead of /usr/libexec. --localstatedir=/var: This parameter forces the creation of the pid file to /var/run/hald instead of /usr/var/run/hald. --enable-fstab-sync: This parameter will ensure the fstab-sync program is built. --enable-pcmcia-support: This parameter provides extended PCMCIA support. Configuring HAL Config Files /etc/dbus-1/system.d/hal.conf and /etc/hal/* /etc/dbus-1/system.d/hal.conf /etc/hal/* Configuration Information No configuration is necessary as the default values will work for most systems. Some tweaking of the various policies may be required for special circumstances. Boot Script To automatically start the hald daemon when the system is rebooted, install the /etc/rc.d/init.d/haldaemon bootscript from the package. haldaemon If the system-wide D-BUS daemon was running during the installation of HAL, ensure you stop and restart the D-BUS daemon before attempting to start the hald daemon. make install-haldaemon Contents Installed Programs Installed Libraries Installed Directories fstab-sync, hal.hotplug, hal-device, hal-device-manager, hal-find-by-capability, hal-find-by-property, hal-get-property, hal-luks-remove, hal-luks-setup, hal-set-property, hal-system-power-hibernate, hal-system-power-set-power-save, hal-system-power-suspend, hald, hald-addon-acpi, hald-addon-hid-ups, hald-addon-pmu, hald-addon-storage, hald-addon-usb-csr, hald-probe-hiddev, hald-probe-input, hald-probe-pc-floppy, hald-probe-printer, hald-probe-smbios, hald-probe-storage, hald-probe-volume and lshal libhal.[so,a] and libhal-storage,[so,a] /etc/hal, /usr/include/hal, /usr/lib/hal, /usr/share/doc/hal-&hal-version;, /usr/share/hal and /var/run/hald Short Descriptions fstab-sync updates the file systems table file /etc/fstab and creates/removes mount points in /media in response to HAL events. This program is usually never run directly from a shell; instead it is invoked as a callout by the HAL daemon. fstab-sync hal-device is used to create, remove or show a HAL device. hal-device hal-device-manager shows a graphical respresentation of all the devices HAL is aware of. This program requires GNOME-Python. hal-device-manager hal-find-by-capability prints the Unique Device Identifiers for HAL device objects of a given capability. hal-find-by-capability hal-find-by-property prints the Unique Device Identifiers for HAL device objects where a given property assumes a given value. hal-find-by-property hal-get-property retrieves a property from a device. hal-get-property hal-luks-remove is a HAL method wrapper for cryptsetup remove. This program requires LUKS. hal-luks-remove hal-luks-setup is a HAL method wrapper for luks-setup. This program requires LUKS. hal-luks-setup hal-set-property attempts to set property for a device. Note that, due to security considerations, it may not be possible to set a property. hal-set-property hal-system-power-hibernate is a HAL wrapper script for system power saving features. This program is currently not supported on LFS platforms. hal-system-power-hibernate hal-system-power-set-power-save is a HAL wrapper script for system power saving features. This program is currently not supported on LFS platforms. hal-system-power-set-power-save hal-system-power-suspend is a HAL wrapper script for system power saving features. This program is currently not supported on LFS platforms. hal-system-power-suspend hald is the HAL daemon program. hald lshal shows all devices and their properties. If the --monitor option is given then the device list and all devices are monitored for changes. lshal libhal.[so,a] contains the API functions required by the HAL programs. libhal.[so,a] libhal-storage.[so,a] contains the API functions required by the HAL storage and volume utility programs. libhal-storage.[so,a]