rfkill_set_led_trigger_name(9)
π rfkill_set_led_trigger_name(9) β the Kernel API Manual, bestie edition
okay so you're reading the Kernel API Manual, section 9, and the star of the show is rfkill_set_led_trigger_name π she's a kernel function and honestly she's lowkey iconic.
β¨ NAME β¨
rfkill_set_led_trigger_name β literally sets the LED trigger name. that's it, that's the whole job π
π¦ SYNOPSIS π¦
void rfkill_set_led_trigger_name (struct rfkill *rfkill , const char
*name );
like, void return, two args, no notes β¨
πΈ ARGUMENTS πΈ
rfkillβ therfkillstruct, aka the whole point π«Άnameβ the LED trigger name, the string in question π
π DESCRIPTION π
so what she does is: this function sets the LED trigger name of the radio LED trigger that rfkill creates π₯
and here's the tea β it's optional, but if you do call it, you must call it before rfkill_register or it just won't be effective π like, the window is now, bestie. no cap.
fr fr, order matters here β before rfkill_register, or it's giving nothing π
π SEE ALSO π
kernel file ./include/linux/rfkill.h β and honestly the whole friend group:
struct rfkill_ops(9)rfkill_alloc(9)rfkill_register(9)rfkill_pause_polling(9)rfkill_resume_polling(9)rfkill_unregister(9)rfkill_destroy(9)rfkill_set_hw_state_reason(9)rfkill_set_hw_state(9)rfkill_set_sw_state(9)rfkill_init_sw_state(9)rfkill_set_states(9)rfkill_blocked(9)rfkill_soft_blocked(9)rfkill_find_type(9)rfkill_get_led_trigger_name(9)
and that's the page, babe π§π this came from the source path ./include/linux, version dated October 2026, and the page title is rfkill_set_led_trigger_name(9) β slay, go set that trigger name (before registering!!) πβ
π¦ 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