fan_curve(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fan_curve πŸ’– β€” Kernel API Manual, bestie edition

okay so this is fan_curve(9) from the Kernel API Manual: the amdgpu driver provides a sysfs API for checking and adjusting the fan control curve line. πŸŒ€βœ¨

Reading back the file shows you the current settings (temperature in Celsius degree and fan speed in pwm) applied to every anchor point of the curve line, and their permitted ranges if changable. πŸ‘€

Writing a desired string (with the format like "anchor_point_index temperature fan_speed_in_pwm") to the file changes the settings for the specific anchor point accordingly. 🫢

When you have finished the editing, write "c" (commit) to the file to commit your changes. βœ…

If you want to reset to the default value, write "r" (reset) to the file to reset them. πŸ”„

There are two fan control modes supported: auto and manual. πŸŽ€

  • With auto mode, PMFW handles the fan speed control(how fan speed reacts to ASIC temperature).
  • While with manual mode, users can set their own fan curve line as what described here.

Normally the ASIC is booted up with auto mode. Any settings via this interface will switch the fan control to manual mode implicitly. πŸ‘‘

🌈 SEE ALSO 🌈


mwah πŸ’‹ xoxo, your fan_curve(9) bestie β€” sourced from ./drivers/gpu/drm/amd/pm, dated October 2026. πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from