acpi_fan_speed_valid(9)
π NAME π
okay bestie, welcome to acpi_fan_speed_valid(9) from the Kernel API Manual β this is literally the page for βCheck if fan speed value is validβ β¨π
β¨ SYNOPSIS β¨
bool acpi_fan_speed_valid (u64 speed );
π«Ά ARGUMENTS π«Ά
speedβ Speed value returned by the ACPI firmware. Thatβs the value getting the vibe check π
π DESCRIPTION π
Check if the fan speed value returned by the ACPI firmware is valid. Thatβs the whole assignment, bestie β¨.
This function is necessary as ACPI firmware implementations can return 0xFFFFFFFF to signal that the ACPI fan does not support speed reporting. iykyk, thatβs the βno speed reporting for youβ placeholder π« .
Additionally, some buggy ACPI firmware implementations return a value larger than the 32-bit integer value defined by the ACPI specification when using placeholder values π. Such invalid values are also detected by this function. Not me trusting firmware, never π.
π₯ RETURN π₯
True if the fan speed value is valid, false otherwise. Thatβs it β valid speed? iconic π. Invalid? caught in 4K πΈ.
π SEE ALSO π
- Kernel file
./drivers/acpi/fan.hβ go read it, bestie π«Ά acpi_fan_power_valid(9)β the other ACPI fan validity check, slay β¨
This cutie came from ./drivers/acpi, dated October 2026, and itβs the acpi_fan_speed_valid(9) manual page. Mwah, bye bestie ππ
π¦ 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