ledtrig_cpu(9)
β¨ 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
- 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