Hello,
I noticed that nvfancontrol is not properly working on the devkit and out custom designed board when using the Orin Nano.
With “nvfancontrol --verbose” I see the following temperatures:
FAN1: avgTemp: 56948, Current PWM = 64, Current RPM = 1344
FAN1: avgTemp: 56954, Current PWM = 64, Current RPM = 1344
FAN1: avgTemp: 56947, Current PWM = 64, Current RPM = 1344
FAN1: avgTemp: 56873, Current PWM = 64, Current RPM = 1344
FAN1: avgTemp: 57011, Current PWM = 64, Current RPM = 1344
Tegrastats shows me a completely different CPU temp:
03-27-2023 19:13:18 RAM 826/7473MB (lfb 1539x4MB) SWAP 0/3736MB (cached 0MB) CPU [0%@1510,7%@1510,4%@1510,3%@1510,2%@1510,3%@1510] EMC_FREQ 0%@2133 GR3D_FREQ 0%@[624,0] VIC_FREQ 435 APE 200 CV0@-256C CPU@49.531C SOC2@47.906C SOC0@46.093C CV1@-256C GPU@48.812C tj@49.531C SOC1@47.75C CV2@-256C VDD_IN 4952mW/4952mW VDD_CPU_GPU_CV 949mW/949mW VDD_SOC 1426mW/1426mW
Doing the same on the board with a Xavier NX I see the same temperature with nvfancontrol and tegrastats:
FAN1: avgTemp: 43450, Current PWM = 130, Current RPM = 0
FAN1: avgTemp: 43100, Current PWM = 130, Current RPM = 0
FAN1: avgTemp: 43300, Current PWM = 130, Current RPM = 0
~# tegrastats
10-10-2023 09:03:50 RAM 4260/7519MB (lfb 442x4MB) SWAP 0/3760MB (cached 0MB) CPU [27%@1420,17%@1420,46%@1420,55%@1420,11%@1420,24%@1420] EMC_FREQ 2%@1866 GR3D_FREQ 0%@[1109] VIC_FREQ 601 APE 150 AUX@42.5C CPU@44C thermal@43.1C AO@42C GPU@43C PMIC@50C VDD_IN 6780mW/6780mW VDD_CPU_GPU_CV 2128mW/2128mW VDD_SOC 1653mW/1653mW
The behavior with Orin is that the Fan sometimes runs at 0 and sometimes at 255. It does not seem to start spinning after boot anymore. nvfancontrol does always write the same value. Stopping nvfancontrol and writing directly to the pwm causes the fan to spin different.
Where do I set which temperature sensor is used to control nvfancontrol?