---
name: "halevt"
section: "1"
platform: "linux"
package: "halevt"
version: "0.1.6.2-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/halevt"
---

# halevt(1)

Generic handler for HAL events

## NAME

halevt - Generic handler for HAL events

## SYNOPSIS

**halevt \[options\]**

## DESCRIPTION

*Halevt* is a daemon that executes arbitrary commands when a device with certain  properties is added to the system and when device properties change, using HAL. Unless a configuration file is given on the command line with the *-c* option, configuration files are searched for in  $HOME/.halevt, /etc/halevt, and /usr/share/halevt  (in that order). All the files ending with .xml found in these directories  are considered to be configuration files. If a file with the same name  has already been found in a previous directory, it is ignored. Default for halevt is to run as a daemon in the background.

*Halevt* may also be run in another mode, called the reporting mode, turned on by  the *-i* option. In that case no config file is read,  *Halevt* stays in the foreground and report all the HAL events.

## OPTIONS

- **-c *file***

  Use configuration file *file*.

- **-d**

  Give debugging informations and stay in the foreground.

- **-f**

  Stay in the foreground.

- **-g *group***

  Run as group *group*, if started by the root user. Default is to  run as halevt.

- **-h**

  Help message and options summary.

- **-i**

  Run in reporting mode. No configuration file is read, and halevt  stays in the foreground, reporting all the HAL events.

- **-p *pidfile***

  Use pid file *pidfile* to store the daemon pid, instead of the default. Default is /var/run/halevt.pid if run as root user, and no pid file  if run as a user. *-* means no pidfile.

- **-u *user***

  Run as user *user*, if started by the root user. Default is to  run as halevt.

## SEE ALSO

[lshal(1)](/lshal/1.md), [hald(8)](/hald/8.md)

## VERSION

This is *Halevt* version 0.1.6.2.

## AUTHOR

Main author is Patrice Dumas pertusus at free dot fr.

## AVAILABILITY

The latest version of this program can be found at:\
       http://www.nongnu.org/halevt/

## COPYRIGHT

Copyright © 2007-2008  Patrice Dumas \<pertusus at free dot fr\>,\
        2005 Novell, Inc.

There is NO warranty.  You may redistribute this software under the terms of the GNU General Public License; either version 2  of the License, or (at your option) any later version. For more information about these matters, see the file named COPYING.
