The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "Package:ACPI Daemon"
(14 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
==== What is acpid? ==== | ==== 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." [(http://acpid.sourceforge.net/ acpid Sourceforge)] | "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." [(http://acpid.sourceforge.net/ 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..). | |||
{{kernelop | |||
|Enabling acpid (if it is not already enabled) | |||
|Power management and ACPI options ---> <br> [*] ACPI (Advanced Configuration and Power Interface) Support | |||
}} | |||
{{Note}} Kernel options after this are not necessary, but can prove helpful. | |||
{{kernelop | |||
|Removing support for deprecated acpi files | |||
|Power management and ACPI options ---> <br> [*] ACPI (Advanced Configuration and Power Interface) Support ---> <br> [ ] Deprecated /proc/acpi files <br>[ ] Deprecated power /proc/acpi directories | |||
}} | |||
== Installing acpid == | == Installing acpid == | ||
Line 14: | Line 28: | ||
==== Adding to rc ==== | ==== 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. | |||
<console> | <console> | ||
##r### rc-update add acpid default | ##r### ##b##rc-update add acpid default | ||
</console> | </console> | ||
Then, run the following to start rc: | Then, run the following to start rc: | ||
<console> | <console> | ||
##r### rc | ##r### ##b##rc | ||
</console> | </console> | ||
[[Category:System]] | [[Category:System]] |
Revision as of 18:38, November 11, 2013
Introduction
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." [(http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface 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." [(http://acpid.sourceforge.net/ 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..).
{{{1}}}
Kernel options after this are not necessary, but can prove helpful.
Installing acpid
Emerging
To install acpid, run this command:
root ##r### 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.
root ##r### rc-update add acpid default
Then, run the following to start rc:
root ##r### rc