pdc_chassis_send_status(9)
π NAME π
okay so this whole page is straight out of the Kernel API Manual, and the star of the show is pdc_chassis_send_status β it sends a predefined message to the chassis, and changes the front panel LEDs according to the new system state. yes bestie, it's literally talking to the box and making the lights do their thing. iconic behavior fr fr π
β¨ SYNOPSIS β¨
int pdc_chassis_send_status (int message );
no cap, that's the whole signature. one argument, one int coming back at you π«Ά
π ARGUMENTS π
messageβ the type of message you're sending, and it has to be one of thePDC_CHASSIS_DIRECT_*values. that's the vibe check for this parameter, no other values slay here π
π¦ DESCRIPTION π¦
okay so the support situation is a little exclusive, and honestly it's giving VIP list energy: only machines with 64 bits PDC PAT and those reported in pdc_chassis_checkold are supported atm. so if your box isn't on that list, it's not getting in, sorry babe π
now for the return values, because yes we care about those:
- returns
0if there's no error (slay, we love a clean run β¨) - returns
-1if no supported PDC is present or the message is invalid (rude, but fair π) - otherwise it returns the appropriate PDC error code, so you know exactly what went sideways
and if you're sitting there like "bestie what are the predefined messages tho", for a list of predefined messages, see asm-parisc/pdc_chassis.h β that's where the whole squad lives π§
π SEE ALSO π
- Kernel file
./arch/parisc/kernel/pdc_chassis.c pdc_chassis_setup(9)pdc_chassis_checkold(9)pdc_chassis_panic_event(9)pdc_chassis_reboot_event(9)parisc_pdc_chassis_init(9)
the way this is a whole friend group of functions, obsessed π«Ά go read them, iykyk π
lowkey reminder: this is kernel-adjacent stuff, so likeβ¦ respect the return codes and don't just assume every machine is supported. the caveats above are real, not just me being dramatic π
mwah π this little page lives in ./arch/parisc/kernel, dated October 2026, and it's the pdc_chassis_send_status(9) manual β main character energy from start to finish πβ¨
π¦ 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