acpi_pm_set_device_wakeup(9)
π 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:
acpi_power_state_string(9)acpi_device_get_power(9)acpi_device_set_power(9)acpi_device_fix_up_power(9)acpi_device_fix_up_power_extended(9)acpi_device_fix_up_power_children(9)acpi_dev_power_up_children_with_adr(9)acpi_dev_power_state_for_wake(9)acpi_add_pm_notifier(9)acpi_remove_pm_notifier(9)acpi_dev_pm_get_state(9)acpi_pm_device_sleep_state(9)acpi_pm_notify_work_func(9)acpi_device_wakeup_enable(9)acpi_device_wakeup_disable(9)acpi_dev_pm_low_power(9)acpi_dev_pm_full_power(9)acpi_dev_suspend(9)acpi_dev_resume(9)acpi_subsys_runtime_suspend(9)acpi_subsys_runtime_resume(9)acpi_subsys_prepare(9)acpi_subsys_complete(9)acpi_subsys_suspend(9)acpi_subsys_suspend_late(9)acpi_subsys_suspend_noirq(9)acpi_subsys_resume_noirq(9)acpi_subsys_resume_early(9)acpi_subsys_resume(9)acpi_subsys_freeze(9)acpi_subsys_restore_early(9)acpi_subsys_poweroff(9)acpi_subsys_poweroff_late(9)acpi_subsys_poweroff_noirq(9)acpi_dev_pm_detach(9)acpi_dev_pm_attach(9)acpi_storage_d3(9)acpi_dev_state_d0(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms