For newer Framework devices like the Framework 13 AMD that the ChromeOS Embedded Controller (EC), the upcoming Linux 7.0 kernel is adding fan target support as well as fan temperature threshold handling.
Thomas Weißschuh has been extending the ChromeOS EC driver “cros_ec” for fan target speed on the main fan and fan temperature thresholds across all temperature sensors. The development focus on this has been with the Framework 13 AMD laptop while other Chrome OS EC backed devices can benefit as well where the capabilities exist.
This functionality follows the Linux hardware monitoring “HWMON” subsystem semantics. There is hwmon_temp_max as the warning temperature threshold, hwmon_temp_crit is mapped to the EC’s high threshold, and hwmon_temp_emergency will trigger the system halt threshold.
These fan and temperature threshold improvements have been queued into the hwmon-next Git branch for the latest hardware monitoring patches. With the work now in the “-next” branch, it should be merged as part of the upcoming Linux 6.20~7.0 kernel cycle.
