ledtrig_cpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ledtrig_cpu(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– you're reading the page for ledtrig_cpu, section 9 (that's the kernel API girly section, iykyk 🧚). It's literally about making a CPU pop off a little event so an LED goes blink-blink. iconic behavior, no cap.


🌸 NAME 🌸

ledtrig_cpu β€” emit a CPU event as a trigger πŸŽ€

like, it's the thing that sends out a CPU event as a trigger. that's the whole vibe fr fr.


⭐ SYNOPSIS ⭐

void ledtrig_cpu (enum cpu_led_event ledevt );

yes queen, that's the exact signature, don't come for me 🫢 returns void, takes one enum cpu_led_event named ledevt.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ledevt β€” the CPU event you wanna emit πŸ’… that's it, that's the argument. the event goes in, the vibes come out.

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea β˜•: this function emits a CPU event on a CPU core πŸ’»βœ¨. And because it's a trigger, that event will trigger a bound LED to turn on or turn off 🌈. That's literally it β€” CPU core does a thing, the LED reacts. main character energy from both of them honestly πŸ‘‘.

no extra lore, no secret side quests, just emit + trigger + LED does its little on/off moment πŸ’‘πŸ«Ά.


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/leds/trigger/ledtrig-cpu.c β€” go read the source bestie, it's right there πŸ“‚πŸ’–

πŸŽ€ reminder: everything above is exactly what the page says β€” same names, same signature, same file path. no invented features, periodt. πŸ’…

and that's a wrap, bestie πŸ¦‹βœ¨ this page is from the source tree at ./drivers/leds/trigger (that's the version/where-it-lives info btw), dated October 2026 β€” so go forth and let those LEDs slay πŸ’–πŸŽ€πŸŒŸ

πŸ“¦ where this page comes from