Blame README

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