rfkill_get_led_trigger_name(9)
π rfkill_get_led_trigger_name π
okay so, bestie, this is the Kernel API Manual page for rfkill_get_led_trigger_name, and it's lowkey a tiny little helper with main character energy. The way it just gets the LED trigger name for the button's LED? Obsessed. π
πΈ NAME πΈ
rfkill_get_led_trigger_name β Get the LED trigger name for the button's LED.
β¨ SYNOPSIS β¨
const char * rfkill_get_led_trigger_name (struct rfkill *rfkill );
π«Ά ARGUMENTS π«Ά
rfkillβrfkillstruct π
π DESCRIPTION π
So here's the vibe check: this function might return a NULL pointer if registering of the LED trigger failed. No cap, that's the whole caveat. π
Use this as "default_trigger" for the LED. That's the assignment, bestie β literally use it as the "default_trigger". π¦
π¦ SEE ALSO π¦
- Kernel file:
./include/linux/rfkill.h 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_set_led_trigger_name(9)
mwah π β big sign-off energy from source/version ./include/linux, dated October 2026, on page rfkill_get_led_trigger_name(9). π
π¦ 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