When I run the jetson_clocks.sh script, it echoes the value 255 into the PWM control register for the on-board fan.
This makes the fan spin at full tilt, even if the CPU and GPU is idle.
I’d like to run at the full clocks, just like the jetson_clocks.sh script sets up, BUT I’d like to only run the fan if the temperature is high enough.
Is there some kind of power governor or thermal/fan driver already loaded, by default, that I can configure to only turn on the fan if the temperature is too high?
If so, where does it live, where is it documented, and how do I enable it?
(Note: I want fan spinning up around 55C or so, to avoid throttling of the GPU/CPU if possible.)
If not, is it enough to write a daemon that looks at the temperature in the /sys/devices/virtual/thermal/thermal_zone*/temp nodes, and sets the PWM based on those values?
How frequently would this need to run? Is 10 times a second enough?
Also, when I check those sensors on the TX2 with the stock devkit carrier board, the PMIC-Die sensor (zone6) always shows 100000, which is a surprisingly precise number, that doesn’t change.
I assume that this is a dummy value, and it is safe to ignore it. Is that correct?
I’ve skimmed through the thermal management document on the downloads section, but it mainly talked about physical interface; I didn’t see any kernel configuration / device documentation. Maybe I missed it?