thermal_acpi_hot_trip_temp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

  • 0 on success πŸŽ‰
  • -ENODATA on failure 😭
fr fr remember: that's 0 success, -ENODATA failure. don't get it twisted πŸ’€

🌈 SEE ALSO 🌈


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