~ubuntu-branches/ubuntu/oneiric/acpid/oneiric-security

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH kacpimon 8 "Nov 2009"
.\" Copyright (c) 2009 Ted Felix (www.tedfelix.com)
.SH NAME
kacpimon \- Kernel ACPI Event Monitor
.SH SYNOPSIS
\fBkacpimon\fP
.SH DESCRIPTION
\fBkacpimon\fP is a monitor program that connects to three sources of ACPI 
events:
.IP
1. /proc/acpi/event
.br
2. netlink
.br
3. the input layer (/dev/input/event*)
.PP
\fBkacpimon\fP then reports on what it sees while it is connected.
.PP
Use \fBkacpimon\fP to make sure your kernel is sending acpi-related events
via the three sources mentioned above.
.PP
Since both \fBacpid\fP and \fBkacpimon\fP connect to the same sources, be sure
to kill \fBacpid\fP before running kacpimon:
.IP
sudo killall acpid
.PP  
Also be sure to run \fBkacpimon\fP as root or else it won't be able to open
/proc/acpi/event or the input layer:
.IP
sudo ./kacpimon
.PP  
If you want to pipe the output of \fBkacpimon\fP 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.
.SH FILES
.TP
.I /proc/acpi/event
kernel ACPI event file
.TP
.I /dev/input/event*
input layer event files
.SH SEE ALSO
.BR acpi_listen (8),
.BR acpid (8)
.SH AUTHOR
Ted Felix <www.tedfelix.com>
.SH TODO
\- Make kacpimon something that actually gets installed?
.SH LICENSE
kacpimon \- Kernel ACPI Event Monitor
.br
Copyright (C) 2009  Ted Felix (www.tedfelix.com)
.PP
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.
.PP
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.
.PP
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.