acpi_pm_set_device_wakeup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– acpi_pm_set_device_wakeup πŸ’–

okay so bestie, welcome to the kernel API manual β€” this one's a little function with main character energy: acpi_pm_set_device_wakeup. That's the whole name, that's the vibe, and honestly? It's iconic. ✨


🌸 NAME 🌸

acpi_pm_set_device_wakeup β€” Enable/disable remote wakeup for given device.

Like, it flips the switch on whether a device is allowed to wake stuff up from far away. Remote wakeup on/off, that's the whole gig. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int acpi_pm_set_device_wakeup (struct device *dev , bool enable );

Yep, that's it. Two args, one int coming back at you. Slay. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” Device to enable/disable to generate wakeup events. Like, this is the device we're doing the thing to. 🎯
  • enable β€” Whether to enable or disable the wakeup functionality. true? wakeup is so on. false? bestie, it's off. Simple as that. 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

okay so there is a whole friend group here β€” the kernel file ./drivers/acpi/device_pm.c is where the source lives, and it's surrounded by icons. Full roster, no cap, not a single one skipped:

like… the way this list just goes. ate and left absolutely no crumbs. πŸ”₯


✨ and that's the whole page, bestie ✨

this little cutie lives under ./drivers/acpi (the source is ./drivers/acpi/device_pm.c β€” go say hi πŸ‘‹), and this particular manual page is dated October 2026. periodt. πŸ’œπŸŽ€

πŸ“¦ where this page comes from