Button

modulename: button.ko

configname: CONFIG_ACPI_BUTTON

Linux Kernel Configuration
└─>Power management and ACPI options
└─>ACPI (Advanced Configuration and Power Interface) Support
└─>Button
In linux kernel since version 3.10 (release Date: 2013-06-30)  
This driver handles events on the power, sleep, and lid buttons.
A daemon reads events from input devices or via netlink and
performs user-defined actions such as shutting down the system.
This is necessary for software-controlled poweroff.

To compile this driver as a module, choose M here:
the module will be called button.

source code: