logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

kacpimon - Kernel ACPI Event Monitor

Author

       Ted Felix <www.tedfelix.com>

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(8) and kacpimon connect to the same sources, be sure to  stop  acpid(8)  before  running
       kacpimon.   If  you  are using upstart(7), use initctl(8) to stop acpid(8).  If you are using systemd(1),
       use systemctl(1) to stop acpid(8).  If you aren't using either of those, you can try killall(1)  to  stop
       acpid(8).

       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

License

       kacpimon - Kernel ACPI Event Monitor
       Copyright (C) 2009-2013  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.

                                                    Jan 2013                                         kacpimon(8)

Name

       kacpimon - Kernel ACPI Event Monitor

See Also

acpi_listen(8), acpid(8)

Synopsis

kacpimon

Todo

       - Make kacpimon something that actually gets installed?

See Also