acpi_device_wakeup_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– acpi_device_wakeup_enable(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for acpi_device_wakeup_enable(9) ✨ this one is short and sweet, but every detail still matters, so let's get into it 🫢


✨ NAME ✨

acpi_device_wakeup_enable β€” Enable wakeup functionality for device. periodt. πŸ’…


🌸 SYNOPSIS 🌸

int acpi_device_wakeup_enable (struct acpi_device *adev , u32
       target_state );

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” the ACPI device to enable wakeup functionality for. that's the main character right here.
  • target_state β€” the state the system is transitioning into. important context, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it actually do? It enables the GPE associated with adev so that it can generate wakeup signals for the device in response to external (remote) events, and it enables wakeup power for it. slay. ✨

⚠️ Callers must ensure that adev is a valid ACPI device node before executing this function. no cap, that check is on you. 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/acpi/device_pm.c β€” the source-file bestie for this one, iykyk.


made with πŸ’– from source/version ./drivers/acpi, dated October 2026, signing off from the acpi_device_wakeup_enable(9) page 🫢✨ bye bestie! πŸŽ€

πŸ“¦ where this page comes from