|
Packit Service |
26469c |
acpid for netlink
|
|
Packit Service |
26469c |
=================
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
This branch of the acpid project includes support for netlink and the input
|
|
Packit Service |
26469c |
layer. The latest version can be found here:
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
http://sourceforge.net/projects/acpid2/
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Previous (1.x) versions of acpid relied on /proc/acpi/event which is a
|
|
Packit Service |
26469c |
deprecated kernel interface for ACPI events. Newer kernels use netlink and
|
|
Packit Service |
26469c |
the input layer to send ACPI-related events. This branch of acpid uses these
|
|
Packit Service |
26469c |
new interfaces.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
BUILD NOTES
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Before installing, the chances are pretty good that you are already running
|
|
Packit Service |
26469c |
acpid. You'll want to kill it before installing the new version. While
|
|
Packit Service |
26469c |
"sudo killall acpid" might work, it is likely that you'll need to work with
|
|
Packit Service |
26469c |
init (e.g. upstart, systemd, ...) on your particular setup to stop acpid
|
|
Packit Service |
26469c |
completely. For example, with systemd, the proper incantation is usually:
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
$ sudo systemctl stop acpid acpid.socket
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
acpid version 2.0.15 introduced autoconf. To build versions >= 2.0.15:
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
$ ./configure --prefix=/usr
|
|
Packit Service |
26469c |
$ make
|
|
Packit Service |
26469c |
$ sudo make install
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
If you want to start from scratch, use autoreconf to regenerate the configure
|
|
Packit Service |
26469c |
script from configure.ac and Makefile.am. This is not normally needed, so
|
|
Packit Service |
26469c |
be sure you understand autoreconf before using it.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
$ autoreconf --install --force
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Older versions (<= 2.0.14) of acpid simply required "make" to build:
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
$ make
|
|
Packit Service |
26469c |
$ sudo make install
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
CONTACT
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Any comments or patches for this branch should be sent to Ted Felix:
|
|
Packit Service |
26469c |
http://www.tedfelix.com ( ted -at- tedfelix -dot- com )
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
You can also fork the git repo on sourceforge and submit changes that way:
|
|
Packit Service |
26469c |
http://sourceforge.net/u/tedfelix/acpid2/
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
--------------------------------------------------------------------
|
|
Packit Service |
26469c |
OLD README
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
***********************************************************
|
|
Packit Service |
26469c |
* README for acpid *
|
|
Packit Service |
26469c |
* *
|
|
Packit Service |
26469c |
* Daemon for Advanced Configuration and Power Interface *
|
|
Packit Service |
26469c |
* Tim Hockin *
|
|
Packit Service |
26469c |
* <thockin@hockin.org> *
|
|
Packit Service |
26469c |
* *
|
|
Packit Service |
26469c |
***********************************************************
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Feb 13, 2004
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Overview
|
|
Packit Service |
26469c |
--------
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
ACPID used to try to handle events internally. Rather than try to climb
|
|
Packit Service |
26469c |
an ever-growing mountain, ACPID now lets YOU define what events to handle.
|
|
Packit Service |
26469c |
Any event that publishes itself to /proc/acpi/event can be handled.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
ACPID reads a set of configuration files which define event->action pairs.
|
|
Packit Service |
26469c |
This is how you make it do stuff. See the man page for details.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Implementation status
|
|
Packit Service |
26469c |
---------------------
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
This version should have complete support for generic handling of events.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Requirements
|
|
Packit Service |
26469c |
------------
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
For 2.6 and newer 2.4 kernels, ACPI seems to be fully integrated. That
|
|
Packit Service |
26469c |
should be all you need.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
The ACPI kernel driver should be working on your system before trying
|
|
Packit Service |
26469c |
ACPID. Verify ACPI is loaded by verifying the existence of
|
|
Packit Service |
26469c |
/proc/acpi/event.
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
Compiling ACPID
|
|
Packit Service |
26469c |
---------------
|
|
Packit Service |
26469c |
|
|
Packit Service |
26469c |
type "make"
|