pm_wakeup_source_sysfs_add(9)
π pm_wakeup_source_sysfs_add(9) π
okay bestie, welcome to the Kernel API Manual β this page is literally about pm_wakeup_source_sysfs_add(9), and it's here to explain one very specific little sysfs situation. π¦
β¨ NAME β¨
pm_wakeup_source_sysfs_add β adding wakeup_source attributes to sysfs for a device if they're missing</p>. That's the whole mission, no cap. π
π οΈ SYNOPSIS π οΈ
Here's the exact signature, bestie β character for character:
int pm_wakeup_source_sysfs_add (struct device *parent );
π«Ά ARGUMENTS π«Ά
parentβ the device that the given wakeup source is associated with. That's the device in question, okay? π
π SEE ALSO π
- Kernel file:
./drivers/base/power/wakeup_stats.cβ go read the source, it's giving lore. π wakeup_source_sysfs_add(9)wakeup_source_sysfs_remove(9)
mwah π this page is filed under ./drivers/base/power, dated October 2026, and it's literally pm_wakeup_source_sysfs_add(9) β 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