Blame kacpimon/kacpimon.8

Packit Service 26469c
.TH kacpimon 8 "Jan 2013"
Packit Service 26469c
.\" Copyright (c) 2009-2013 Ted Felix (www.tedfelix.com)
Packit Service 26469c
.SH NAME
Packit Service 26469c
kacpimon \- Kernel ACPI Event Monitor
Packit Service 26469c
.SH SYNOPSIS
Packit Service 26469c
\fBkacpimon\fP
Packit Service 26469c
.SH DESCRIPTION
Packit Service 26469c
\fBkacpimon\fP is a monitor program that connects to three sources of ACPI 
Packit Service 26469c
events:
Packit Service 26469c
.IP
Packit Service 26469c
1. /proc/acpi/event
Packit Service 26469c
.br
Packit Service 26469c
2. netlink
Packit Service 26469c
.br
Packit Service 26469c
3. the input layer (/dev/input/event*)
Packit Service 26469c
.PP
Packit Service 26469c
\fBkacpimon\fP then reports on what it sees while it is connected.
Packit Service 26469c
.PP
Packit Service 26469c
Use \fBkacpimon\fP to make sure your kernel is sending acpi-related events
Packit Service 26469c
via the three sources mentioned above.
Packit Service 26469c
.PP
Packit Service 26469c
Since both
Packit Service 26469c
.BR acpid (8)
Packit Service 26469c
and \fBkacpimon\fP connect to the same sources, be sure to stop
Packit Service 26469c
.BR acpid (8)
Packit Service 26469c
before running kacpimon.  If you are using
Packit Service 26469c
.BR upstart (7),
Packit Service 26469c
use
Packit Service 26469c
.BR initctl (8)
Packit Service 26469c
to stop
Packit Service 26469c
.BR acpid (8).
Packit Service 26469c
If you are using
Packit Service 26469c
.BR systemd (1),
Packit Service 26469c
use
Packit Service 26469c
.BR systemctl (1)
Packit Service 26469c
to stop
Packit Service 26469c
.BR acpid (8).
Packit Service 26469c
If you aren't using either of those, you can try
Packit Service 26469c
.BR killall (1)
Packit Service 26469c
to stop
Packit Service 26469c
.BR acpid (8).
Packit Service 26469c
.PP
Packit Service 26469c
Be sure to run \fBkacpimon\fP as root or else it won't be able to open
Packit Service 26469c
/proc/acpi/event or the input layer:
Packit Service 26469c
.IP
Packit Service 26469c
sudo kacpimon
Packit Service 26469c
.PP  
Packit Service 26469c
If you want to pipe the output of \fBkacpimon\fP to a file, be sure to use
Packit Service 26469c
the "Esc" key to exit rather than Ctrl-C.  Using Ctrl-C will cause
Packit Service 26469c
output to be lost.
Packit Service 26469c
.SH FILES
Packit Service 26469c
.TP
Packit Service 26469c
.I /proc/acpi/event
Packit Service 26469c
kernel ACPI event file
Packit Service 26469c
.TP
Packit Service 26469c
.I /dev/input/event*
Packit Service 26469c
input layer event files
Packit Service 26469c
.SH SEE ALSO
Packit Service 26469c
.BR acpi_listen (8),
Packit Service 26469c
.BR acpid (8)
Packit Service 26469c
.SH AUTHOR
Packit Service 26469c
Ted Felix <www.tedfelix.com>
Packit Service 26469c
.SH TODO
Packit Service 26469c
\- Make kacpimon something that actually gets installed?
Packit Service 26469c
.SH LICENSE
Packit Service 26469c
kacpimon \- Kernel ACPI Event Monitor
Packit Service 26469c
.br
Packit Service 26469c
Copyright (C) 2009-2013  Ted Felix (www.tedfelix.com)
Packit Service 26469c
.PP
Packit Service 26469c
This program is free software; you can redistribute it and/or modify
Packit Service 26469c
it under the terms of the GNU General Public License as published by
Packit Service 26469c
the Free Software Foundation; either version 2 of the License, or
Packit Service 26469c
(at your option) any later version.
Packit Service 26469c
.PP
Packit Service 26469c
This program is distributed in the hope that it will be useful,
Packit Service 26469c
but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 26469c
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 26469c
GNU General Public License for more details.
Packit Service 26469c
.PP
Packit Service 26469c
You should have received a copy of the GNU General Public License
Packit Service 26469c
along with this program; if not, write to the Free Software
Packit Service 26469c
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit Service 26469c
Or visit www.gnu.org.
Packit Service 26469c