device_init_wakeup(9)
πΈ NAME πΈ
device_init_wakeup β Device wakeup initialization β¨
okay so bestie, this is from the Kernel API Manual, and it's literally the function that handles Device wakeup initialization. no cap π
β¨ SYNOPSIS β¨
int device_init_wakeup (struct device *dev , bool enable );
π ARGUMENTS π
devβ Device to handle. π«Ά main character device energy, ngl.enableβ Whether or not to enabledevas a wakeup device. π vibe check for wakeup mode.
π DESCRIPTION π
By default, most devices should leave wakeup disabled. periodt. The exceptions are devices that everyone expects to be wakeup sources: keyboards, power buttons, possibly network interfaces, etc. β¨οΈππ the way that keyboards and power buttons are main character energy π
Also, devices that don't generate their own wakeup requests but merely forward requests from one bus to another (like PCI bridges) should have wakeup enabled by default. iykyk π₯
π₯ SEE ALSO π₯
- Kernel file
./include/linux/pm_wakeup.hπ§ the lore is right here struct wakeup_source(9)πdevm_device_init_wakeup(9)π
mwah π β this page is from ./include/linux, dated October 2026. slay, bestie β¨
π¦ 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