rfkill_get_led_trigger_name(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” rfkill struct πŸ’–

πŸ’– 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 πŸ¦‹

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