thermal_acpi_hot_trip_temp(9)
π thermal_acpi_hot_trip_temp(9) β Kernel API Manual β¨
okay so bestie, welcome to the glow-up of thermal_acpi_hot_trip_temp(9) β she's a tiny little kernel function from the Kernel API Manual and she's here to tell you how hot is too hot before your machine takes a lil nap π₯΅π€
πΈ NAME πΈ
thermal_acpi_hot_trip_temp β retrieve the hot trip point temperature, no cap π₯
π SYNOPSIS π
int thermal_acpi_hot_trip_temp (struct acpi_device *adev , int *ret_temp );
like, that's the whole signature, she's giving "short and iconic" β¨
π¦ ARGUMENTS π¦
adevβ the target thermal zone ACPI device object. yes queen, this is the thermal zone we're snooping on πret_tempβ the address where the retrieved temperature value gets stored on success. like a little temperature drop-off spot π¬
π DESCRIPTION π
so what she actually does: she evaluates the _HOT object for the thermal zone that adev represents, all to obtain the temperature of the trip point at which the system is expected to be put into the S4 sleep state π΄β¨
that's it, that's the vibe. iykyk π«Ά
and the returns? literally:
0on success π-ENODATAon failure π
fr fr remember: that's0success,-ENODATAfailure. don't get it twisted π
π SEE ALSO π
- Kernel file
./drivers/acpi/thermal_lib.cβ the mothership, go read her π thermal_acpi_active_trip_temp(9)β her active sibling π₯thermal_acpi_passive_trip_temp(9)β her passive sibling πΈthermal_acpi_critical_trip_temp(9)β her critical sibling π
and that's the whole page bestie, you ate that π β¨
cute lil sign-off: this beauty lives under ./drivers/acpi, dated October 2026 β periodt, that's the source and the date, mwah ππ
π¦ 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