Tree [9c5b30] master /
History



File Date Author Commit
kacpimon 2013-02-24 Ted Felix Ted Felix [68cdf3] Sync kacpimon's libnetlink.c
samples 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
.gitignore 2013-08-15 Ted Felix Ted Felix [e1aee9] Update .gitignore for Eclipse
COPYING 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
Changelog 2014-08-23 Ted Felix Ted Felix [9853e5] Update version to 2.0.24
Makefile.am 2012-02-16 Ted Felix Ted Felix [ae725c] Fixed dist target.
README 2013-08-14 Ted Felix Ted Felix [b9e42c] Add correct --prefix for configure
TESTPLAN 2012-02-19 Ted Felix Ted Felix [102aec] Added info about testing with LightDM
TODO 2012-03-19 Ted Felix Ted Felix [81cf08] Update TODO
acpi_genetlink.h 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
acpi_ids.c 2012-02-16 Ted Felix Ted Felix [1b0ece] autoconf support
acpi_ids.h 2012-02-16 Ted Felix Ted Felix [1b0ece] autoconf support
acpi_listen.8 2012-01-24 Ted Felix Ted Felix [9bff0e] man page changes suggested by Debian bug #656676.
acpi_listen.c 2012-03-04 Ted Felix Ted Felix [7c1c0f] Merge branch 'master' of git://git.code.sf.net/...
acpid-design.odg 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
acpid.8 2014-08-22 Ted Felix Ted Felix [9269e1] Add troubleshooting section to man page
acpid.c 2014-02-26 Ted Felix Ted Felix [9f09ca] Add "t" short option for --tpmutefix.
acpid.h 2014-02-26 Torsten Hilbrich Torsten Hilbrich [9d9298] input: Fix repeated mute keys on some Lenovo Th...
configure.ac 2014-08-23 Ted Felix Ted Felix [9853e5] Update version to 2.0.24
connection_list.c 2013-08-15 Ted Felix Ted Felix [6fe0b4] Add dynamic resizing of connecion_list
connection_list.h 2013-08-15 Ted Felix Ted Felix [e74bff] Add delete_all_connections() and call it
event.c 2013-12-19 Ted Felix Ted Felix [564fc1] Introduce drop_list.
event.h 2013-12-19 Ted Felix Ted Felix [f19266] Replace die and kill with drop.
genetlink.h 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
inotify_handler.c 2013-08-15 Ted Felix Ted Felix [ccecf5] Add error return to add_connection()
inotify_handler.h 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
input_layer.c 2014-09-04 Bostjan Skufca Bostjan Skufca [9c5b30] Test if SW_VIDEOOUT_INSERT is defined before us...
input_layer.h 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
libnetlink.c 2012-07-12 Auke Kok Auke Kok [1e4858] bugfix: incorrect sizeof() usage for memset.
libnetlink.h 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
log.c 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
log.h 2012-02-20 Cristian Rodríguez Cristian Rodríguez [443a67] annotate acpi_log() with __attribute__((format)...
netlink.c 2013-08-15 Ted Felix Ted Felix [ccecf5] Add error return to add_connection()
netlink.h 2011-12-02 Ted Felix Ted Felix [8dbd5f] Initial commit...
proc.c 2013-08-15 Ted Felix Ted Felix [ccecf5] Add error return to add_connection()
proc.h 2012-02-16 Ted Felix Ted Felix [1b0ece] autoconf support
sock.c 2013-08-15 Ted Felix Ted Felix [ccecf5] Add error return to add_connection()
sock.h 2012-02-16 Ted Felix Ted Felix [1b0ece] autoconf support
ud_socket.c 2012-07-12 Auke Kok Auke Kok [9d4c2f] cleanups: close some unclosed fd's.
ud_socket.h 2012-03-20 Ted Felix Ted Felix [4d0dd4] Fix socket fchmod and fchown.

Read Me

acpid for netlink
=================

This branch of the acpid project includes support for netlink and the input 
layer.  The latest version can be found here:

  http://sourceforge.net/projects/acpid2/

Previous (1.x) versions of acpid relied on /proc/acpi/event which is a 
deprecated kernel interface for ACPI events.  Newer kernels use netlink and 
the input layer to send ACPI-related events.  This branch of acpid uses these
new interfaces.

BUILD NOTES

Before installing, the chances are pretty good that you are already running
acpid.  You'll want to kill it before installing the new version.  While
"sudo killall acpid" might work, it is likely that you'll need to work with
init (e.g. upstart, systemd, ...) on your particular setup to stop acpid 
completely.  For example, with upstart, the proper incantation is usually:

  $ sudo initctl stop acpid

acpid version 2.0.15 introduced autoconf.  To build versions >= 2.0.15:

  $ ./configure --prefix=/usr
  $ make
  $ sudo make install

If you want to start from scratch, use autoreconf to regenerate the configure
script from configure.ac and Makefile.am.  This is not normally needed, so
be sure you understand autoreconf before using it.

  $ autoreconf --install --force

Older versions (<= 2.0.14) of acpid simply required "make" to build:

  $ make
  $ sudo make install

CONTACT

Any comments or patches for this branch should be sent to Ted Felix:
http://www.tedfelix.com  ( ted -at- tedfelix -dot- com )

You can also fork the git repo on sourceforge and submit changes that way:
http://sourceforge.net/u/tedfelix/acpid2/

RELEASE PROCESS

Before making the tarball:

  1. Check the version number in configure.ac and the Changelog.
  2. Check in all changes (except maybe the Changelog).
  3. Update the Changelog based on changes since the last tag.
       git log 2.0.17..
  4. Check in Changelog and create a tag for the version.
       git commit -a
       git tag -a 2.0.xx
  5. Push to sf.
       git push
       git push --tags

To create the tarball for distribution:

  $ make distclean
  $ autoreconf --install --force
  $ ./configure
  $ make dist

Upload to sf:

  http://sourceforge.net/apps/trac/sourceforge/wiki/Release%20files%20for%20download

  $ rsync -t acpid-2.0.18.tar.xz tedfelix@frs.sourceforge.net:/home/frs/project/acpid2

  or via sftp...

  $ sftp tedfelix@frs.sourceforge.net
  sftp> cd /home/frs/project/acpid2
  sftp> put -p acpid-2.0.18.tar.xz

Set this latest upload as the latest:

  1. Login to sf.
  2. Click on the "i" icon on the right in the file list.
  3. Default download for: "Select all"
  4. Save

Once complete:

  1. Update the version number in configure.ac.
  2. Update the Changelog for the next version. 

--------------------------------------------------------------------
OLD README

***********************************************************
*                      README for acpid                   *
*                                                         *
*  Daemon for Advanced Configuration and Power Interface  *
*  Tim Hockin                                             *
*      <thockin@hockin.org>                               *
*                                                         *
***********************************************************

Feb 13, 2004

Overview
--------

  ACPID used to try to handle events internally.  Rather than try to climb
  an ever-growing mountain, ACPID now lets YOU define what events to handle.
  Any event that publishes itself to /proc/acpi/event can be handled.

  ACPID reads a set of configuration files which define event->action pairs.
  This is how you make it do stuff. See the man page for details.

Implementation status
---------------------

  This version should have complete support for generic handling of events.

Requirements
------------

  For 2.6 and newer 2.4 kernels, ACPI seems to be fully integrated.  That
  should be all you need.

  The ACPI kernel driver should be working on your system before trying
  ACPID.  Verify ACPI is loaded by verifying the existence of
  /proc/acpi/event.

Compiling ACPID
---------------

  type "make"