thermal_acp...ve_trip_temp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… thermal_acpi_active_trip_temp(9) ✨

okay bestie, so this is a page straight out of the Kernel API Manual and it's literally about one little function that goes and asks your ACPI thermal zone "hey girl what's your active trip temp?" πŸŽ€ no cap, that's the whole vibe.


🌸 NAME 🌸

thermal_acpi_active_trip_temp β€” Retrieve active trip point temperature πŸ’–


⭐ SYNOPSIS ⭐

int thermal_acpi_active_trip_temp (struct acpi_device *adev , int id ,
int *ret_temp );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” the Target thermal zone ACPI device object, aka the thermal zone you're sliding into the DMs of 🫢
  • id β€” the Active cooling level. and btw bestie it's (0 - 9), that's the range, don't come for me πŸ‘‘
  • ret_temp β€” Address to store the retrieved temperature value on success. it's giving "i'll hold your answer for you" energy πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

so the way this works is β€” it evaluates the _ACx object for the thermal zone represented by adev to obtain the temperature of the active cooling trip point corresponding to the active cooling level given by id. that's it, that's the whole job. main character energy honestly ✨

and on the way out: Return 0 on success or a negative error value on failure 😭 so like, check your return value, bestie, please.


πŸŽ€ SEE ALSO πŸŽ€

the whole trip-temp friend group, fr fr 🌈


okay that's the page!! ngl it's short but she ate πŸ’€ no notes.

signed off from <purple>./drivers/acpi</purple> πŸ“ β€” dated October 2026 β€” and the footer was all thermal_acp...ve_trip_temp(9) but you already knew that, bestie πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from