set_attention_status(9)
π set_attention_status(9) β Kernel API Manual β¨
πΈ NAME πΈ
set_attention_status β set attention LED π‘
okay bestie, this is the kernel API page for the attention LED. no cap, she's short but iconic. π«Ά
β¨ SYNOPSIS β¨
int set_attention_status (struct hotplug_slot *hotplug_slot , u8 value
);
π ARGUMENTS π
hotplug_slotβ targethotplug_slot, aka the hotplug slot you're aiming at π―valueβ LED control value, the number that tells the LED what mood to be in π
π¦ DESCRIPTION π¦
okay so here's the whole vibe: the control values go like this, literally:
echo 0 > attention -- set LED OFF
echo 1 > attention -- set LED ON
echo 2 > attention -- set LED ID(identify, light is blinking)
So <pink>0</pink> is OFF, <mint>1</mint> is ON, and <purple>2</purple> is ID β identify mode, where the light is blinking. Slay. π
π₯ SEE ALSO π₯
- Kernel file:
./drivers/pci/hotplug/rpaphp_core.c get_power_status(9)get_attention_status(9)is_php_dn(9)rpaphp_add_slot(9)
xoxo, stay shiny bestie π β source/version: ./drivers/pci/hotplug, date: October 2026, and yes, she's still set_attention_status(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