palmas_power_button_work(9)
π palmas_power_button_work(9) β like, the Kernel API Manual page, bestie π
okay so this is a page from the Kernel API Manual (section 9, iykyk) and it's all about one tiny little function that does one tiny little job, and honestly? she ate. β¨
πΈ NAME πΈ
palmas_power_button_work β detects the button release event π«Ά
that's it. that's the whole vibe. it notices when you let go of the button. iconic behavior, no cap.
β¨ SYNOPSIS β¨
void palmas_power_button_work (struct work_struct *work );
literally one function, one arg, returns nothing (void, she gives nothing and takes nothing back π
). it's a work item callback, so it's out here doing its little task in workqueue land.
π¦ ARGUMENTS π¦
workβ the work item to detect button release. like, that's the thing she's working on. you hand her the work struct and she goes and figures out that the button got released. queen behavior π
π SEE ALSO π
so if you wanna go deeper (and you do, bestie, you're obsessed, I can tell), go look at these:
- Kernel file
./drivers/input/misc/palmas-pwrbutton.cβ this is where the whole situation lives, fr fr struct palmas_pwron(9)struct palmas_pwron_config(9)pwron_irq(9)palmas_pwron_params_ofinit(9)palmas_pwron_probe(9)palmas_pwron_remove(9)palmas_pwron_suspend(9)palmas_pwron_resume(9)
like, the whole pwron friend group π«Ά they all show up together, it's giving squad goals.
π reminder that these are the only things listed here β I'm not adding extra lore, that's just what the page says. read the source, bestie, it's all in ./drivers/input/misc/palmas-pwrbutton.c.
and that's the page!! π brought to you by the source at ./drivers/input/misc, dated October 2026, and yes she's still serving the same palmas_power_button_work(9) energy. 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