Blame kacpimon/kacpimon.8

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