acpi_device_wakeup_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_device_wakeup_disable β€” Kernel API Manual ✨

okay bestie, welcome to the Kernel API Manual entry for acpi_device_wakeup_disable β€” it’s giving power-management cleanup, and we’re gonna read it together. 🫢

✨ NAME ✨

acpi_device_wakeup_disable β€” disable wakeup functionality for a device. No cap, that’s the whole name. πŸ¦‹

🌸 SYNOPSIS 🌸

Here’s the signature, and yes we copy it exactly because bestie we do not freestyle C: πŸ’…

void acpi_device_wakeup_disable (struct acpi_device *adev );

πŸŽ€ ARGUMENTS πŸŽ€

  • adev β€” the ACPI device whose wakeup functionality you’re disabling. Hand it over, queen. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

It disables the GPE that’s associated with adev, and it disables wakeup power for it too. That’s the serve: GPE off, wakeup power off. πŸ’…βœ¨

⚠️ Caller caveat, and it’s serious: callers must ensure that adev is a valid ACPI device node before executing this function. Not optional, bestie β€” this is a must-must. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/acpi/device_pm.c β€” the source home of this function. 🏠

Also see these iconic APIs, in this exact order because we love a complete list: 🧚


Source/version: ./drivers/acpi β€’ Date: October 2026 β€’ Manual page: acpi_device_wakeup_disable(9) β€” that’s the cute little footer folded into a sign-off. Stay powered, bestie. πŸ’–βœ¨periodt.

πŸ“¦ where this page comes from