acpi_enable_wakeup_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– acpi_enable_wakeup_devices(9) πŸ’–

okay so this is a page from the Kernel API Manual, and bestie, it's literally about waking your devices up from sleep. no cap, it's giving "rise and shine" energy for your hardware 🌸


✨ NAME ✨

acpi_enable_wakeup_devices β€” Enable wake-up device GPEs. πŸ’…


🌟 SYNOPSIS 🌟

void acpi_enable_wakeup_devices (u8 sleep_state );

πŸŽ€ ARGUMENTS πŸŽ€

  • sleep_state β€” the ACPI system sleep state. that's it, that's the whole argument 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so what this does is it enables the wakeup device power of devices that have the state.enable flag set. and then β€” not me doing two things at once β€” it sets the wakeup enable mask bits in the GPE registers that correspond to wakeup devices. iconic behavior honestly ✨

so yeah: devices with that flag get their wakeup power turned on, and the matching GPE registers get their wakeup enable mask bits set. it's giving "wake up bestie, we're going to the GPE registers" 😭πŸ”₯


🌈 SEE ALSO 🌈


and that's the whole page, bestie! it's from ./drivers/acpi, dated October 2026 β€” so yeah, mark your calendars and slay the kernel, periodt πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from