I’ve flashed my Jetson AGX Xavier board with Jetpack 4.5 and then I’ve installed Linux 5.10 on top of it. Everything works flawlessly. Even the EVL Project works with extremely good results. Later on, I’ve noticed that fans do not run when under heavy load and it made the board quite hot. So after digging around in /sys I’ve found that
/sys/devices/platform/fan/hwmon/hwmon2/pwm1 is the controller of the CPU fan.
However, I’m not sure how can I make the changes I do to this handle persistent. I believe after some amount of time or when the interrupt for this control fires it reverts back to default 0 value. I’ve expected a similar interface like Documentation/hwmon/nct6775 but it wasn’t present.
Can anybody enlighten me about this matter.