kacpimon(8)

NAME
kacpimon - Kernel ACPI Event Monitor

SYNOPSIS
kacpimon

DESCRIPTION
kacpimon is a monitor program that connects to three sources of ACPI events:

    1. /proc/acpi/event
    2. netlink
    3. the input layer (/dev/input/event*)

kacpimon then reports on what it sees while it is connected.

Use kacpimon to make sure your kernel is sending acpi-related events via the three sources mentioned above.

Since both acpid and kacpimon connect to the same sources, be sure to kill acpid before running kacpimon:

    sudo killall acpid

Also be sure to run kacpimon as root or else it won't be able to open /proc/acpi/event or the input layer:

    sudo ./kacpimon

If you want to pipe the output of kacpimon to a file, be sure to use the "Esc" key to exit rather than Ctrl-C. Using Ctrl-C will cause output to be lost.

FILES

/proc/acpi/event
    kernel ACPI event file

/dev/input/event*
    input layer event files

SEE ALSO
acpi_listen(8), acpid(8)

AUTHOR
Ted Felix <www.tedfelix.com>

TODO
- Make kacpimon something that actually gets installed?

LICENSE
kacpimon - Kernel ACPI Event Monitor
Copyright (C) 2009 Ted Felix (www.tedfelix.com)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Or visit www.gnu.org.