wakeup_source_remove(9)
β¨ wakeup_source_remove β bestie, it's removal time π
okay so you're looking at wakeup_source_remove(9) from the Kernel API Manual β yes, section 9, the kernel API girlies πΈ β and honestly? The name says it all.
π NAME π
wakeup_source_remove β take the given object and yeet it off the wakeup sources list. That's it. That's the whole job. Iconic behaviour, no notes π
π SYNOPSIS π
void wakeup_source_remove (struct wakeup_source *ws );
Literally that's the whole signature, bestie. void return β so it gives you nothing back, and honestly? That's fine. It's giving confident silence π«Ά
π¦ ARGUMENTS π¦
wsβ the wakeup source object you want to remove from the list. That's the one. Hand it over and it gets pulled out of the lineup β¨
β SEE ALSO β
okay this is the part where the manpage goes absolutely feral with cross-references and honestly I respect it so much π Every single one, in order, no cap:
- Kernel file
./drivers/base/power/wakeup.cβ that's the file, the home base, the mailing address of all this π₯ wakeup_source_create(9)wakeup_source_destroy(9)wakeup_source_add(9)wakeup_source_register(9)wakeup_source_unregister(9)wakeup_sources_read_lock(9)wakeup_sources_read_unlock(9)wakeup_sources_walk_start(9)wakeup_sources_walk_next(9)device_wakeup_attach(9)device_wakeup_enable(9)device_wakeup_attach_irq(9)device_wakeup_detach_irq(9)device_wakeup_arm_wake_irqs(9)device_wakeup_disarm_wake_irqs(9)device_wakeup_detach(9)device_wakeup_disable(9)device_set_wakeup_capable(9)device_set_wakeup_enable(9)wakeup_source_not_usable(9)wakeup_source_activate(9)wakeup_source_report_event(9)__pm_stay_awake(9)pm_stay_awake(9)wakeup_source_deactivate(9)__pm_relax(9)pm_relax(9)pm_wakeup_timer_fn(9)pm_wakeup_ws_event(9)pm_wakeup_dev_event(9)pm_wakeup_pending(9)pm_get_wakeup_count(9)pm_save_wakeup_count(9)pm_wakep_autosleep_enabled(9)print_wakeup_source_stats(9)wakeup_sources_stats_seq_show(9)bpf_wakeup_sources_read_lock(9)bpf_wakeup_sources_read_unlock(9)bpf_wakeup_sources_get_head(9)
likeβ¦ that is a list. Forty-ish entries and every one of them is a real function, so go read them, iykyk ππ
ngl bestie, that's genuinely the entire page β short, sweet, and to the point. Remove the source, check the friends above, done. No cap π
and that's the whole thing! the source/location is ./drivers/base/power, dated October 2026 β so like, future era manpage vibes πβ catch you in the next one, mwah ππ
π¦ 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