Package:ACPI Daemon

From Funtoo
Revision as of 23:33, 11 November 2013 by Duncan.Britton (Talk)

Jump to: navigation, search


What is acpi?

"In computing, the Advanced Configuration and Power Interface (ACPI) specification provides an open standard for device configuration and power management by the operating system." [( Wikipedia)]

What is acpid?

"ACPID is a completely flexible, totally extensible daemon for delivering ACPI events. It listens on a file (/proc/acpi/event) and when an event occurs, executes programs to handle the event. The programs it executes are configured through a set of configuration files, which can be dropped into place by packages or by the admin." [( acpid Sourceforge)]

Preparing to install

Kernel configuration

Before we are ready to emerge acpid, it is a good idea to modify a few things in the kernel. If you have not modified your kernel before, you may want to check out the following page on configuring a kernel manually (page to be added..).

Note Note: Kernel options after this are not necessary, but can prove helpful.

Explanations of different ACPI options in the kernel

  • AC Adapter

If you have a system that can switch between being plugged into AC and using a battery, you should compile this option into your kernel.

  • Battery


Installing acpid


To install acpid, run this command:

# emerge -av acpid

Adding to rc

After you have finished installing acpid, you may want to add it to the list of rc services to be started with your system at boot.

# rc-update add acpid default

Then, run the following to start rc:

# rc