get_latch_status(9)
okay so bestie, welcome to the Kernel API Manual π
β today's main character is get_latch_status(9), and we're getting into the latch status of a slot together. β¨
π NAME π
get_latch_status β get latch status of a slot
β¨ SYNOPSIS β¨
int get_latch_status (struct hotplug_slot *hotplug_slot , u8 *value );
π«Ά ARGUMENTS π«Ά
hotplug_slotβ the slot to get status; your little hotplug slot bestie. π¦valueβ pointer to store status. It's literally where the status goes, iykyk. π
πΈ DESCRIPTION πΈ
okay so here's the tea: ACPI doesn't provide any formal means to access latch status. Not a single formal way, bestie. π
Instead, we fake latch status from _STA. That's the whole vibe β no official latch-status hookup, so it's faked from _STA. π
π SEE ALSO π
- Kernel file
./drivers/pci/hotplug/acpiphp_core.c acpiphp_register_attention(9)acpiphp_unregister_attention(9)enable_slot(9)disable_slot(9)set_attention_status(9)get_power_status(9)get_attention_status(9)get_adapter_status(9)
mwah π this page is serving source/version <./drivers/pci/hotplug>, dated October 2026, and it's literally the get_latch_status(9) manual page. periodt. ππ
π¦ 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