Anonymous user
UACPI: Difference between revisions
→Hooking Up the Power Button
[unchecked revision] | [unchecked revision] |
Line 177:
In order to hook that up you will need to:
* Write an [https://uefi.org/specs/ACPI/6.5/12_Embedded_Controller_Interface_Specification.html embedded controller] driver
Refer to [https://github.com/managarm/managarm/blob/master/kernel/thor/system/acpi/ec.cpp managarm kernel EC driver] to see an example of how this may be done.
<source lang="c">
|