You need to activate the following kernel options:
|Deprecated /proc/acpi files||-||No||Creates deprecated files in the procfs filesystem, which are now replaced by files in the sysfs filesystem.|
|Deprecated power /proc/acpi directories||-||No||Creates deprecated files in the procfs filesystem, which are now replaced by files in the sysfs filesystem.|
|EC read/write access through /sys/kernel/debug/ec||ec-debugfs||No||Debug interface to the Embedded Controller.|
|Deprecated /proc/acpi/event support||-||No||Creates deprecated files in the procfs filesystem, which are now replaced by the input layer or netlink events.|
|AC Adapter||ac||Laptops||Creates files to tell, if your system is connected to AC.|
|Battery||battery||Laptops||Creates files to tell, if your system is powered by a battery.|
|Button||button||-||Handles events on the power, sleep, and lid buttons.|
|Video||video||-||Supports basic operations for graphics adapters.|
|Fan||fan||-||Supports ACPI fan devices, allowing user-mode applications to perform basic fan control (on, off, status).|
|Dock||dock||-||Supports ACPI-controlled docking stations and removable drive bays, see the acpi dock article.|
|Processor||processor||-||Installs ACPI as the idle handler for Linux and uses ACPI C2 and C3 processor states to save power.|
|Processor Aggregator||processor-aggregator||-||ACPI 4.0 function to perform specific processor configuration and control.|
|Thermal Zone||thermal||Yes||Supports ACPI thermal zones to protect your processor against overheating.|
|PCI slot detection driver||pci-slot||No||Helps to correlate PCI bus addresses with physical slots|
|Container and Module Devices||container||-||Supports ACPI Container and Module devices to hotplug nodes, CPUs, and memory.|
|Smart Battery System||sbs, sbshc||-||Supports another type of access to battery information, found on some laptops.|
|Hardware Error Device||hed||-||Supports the Hardware Error Device, which is used to report some hardware errors.|
|Allow ACPI methods to be inserted/replaced at run time||custom-method||No|
|ACPI Platform Error Interface (APEI)||-||-||APEI allows to report errors (for example from the chipset) to the operating system.|
|selinux||No||No||!!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur|
If you want acpid to be able to shutdown the system, make sure you have installed sec-policy/selinux-shutdown and relabelled /sbin/shutdown
The scripts in /etc/acpi define how to react on ACPI events. You can edit them or add more.
You can now start acpid:
To start acpid at boot time, add it your default runlevel:
You may be satisfied with the default ACPI package set up. Although, you may need a little extra configuration to get acpid daemon treat some basic ACPI events like AC power plug in/out, multimedia keys etc.
You will have to edit /etc/acpi/default.sh along with /etc/acpi/events/default if necessary and why not a complicated set up that make use of /etc/acpi/actions and /etc/acpi/events. Just put your scripts and event files there.
A basic default.sh may be enough. The following is an example on what could be done.