wakeup_source_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– wakeup_source_add(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ this is the page for wakeup_source_add, and it is exactly what it sounds like β€” no cap 🫢


🌸 NAME 🌸

wakeup_source_add β€” Add given object to the list of wakeup sources. πŸ’…


✨ SYNOPSIS ✨

void wakeup_source_add (struct wakeup_source *ws );

like, that's the whole signature. simple. iconic. main character energy πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • ws β€” the wakeup source object you're adding to the list. that's it, that's the vibe πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the part where the manpage just keeps going and honestly? respect. it's giving "i know everyone here" 😭

This one lives in the kernel file ./drivers/base/power/wakeup.c β€” here's the whole friend group:

like… go read those too, iykyk πŸ’€πŸ’œ


lowkey reminder: this page tells you what gets added, not a whole step-by-step. if you want the full lore, the names above are your reading list πŸ“šβœ¨

and that's the tea πŸ“ this stunning little page comes to you from ./drivers/base/power and it's dated October 2026 β€” periodt, mwah πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from