Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5827

Advanced users • Re: How to check the pi4 official fan's status?

$
0
0
I think I'm missing something here, about the pwm-fan overlay...
On a pi4, I include following lines in /boot/firmware/config.txt:

Code:

[pi4]dtoverlay=pwm-fandtparam=fan_temp0=55000dtparam=fan_temp0_hyst=5000dtparam=fan_temp0_speed=75dtparam=fan_temp1=62500dtparam=fan_temp1_hyst=5000dtparam=fan_temp1_speed=128dtparam=fan_temp2=70000dtparam=fan_temp2_hyst=5000dtparam=fan_temp2_speed=192dtparam=fan_temp3=77500dtparam=fan_temp3_hyst=5000dtparam=fan_temp3_speed=255
When the system is running, I get the following:

Code:

pi@pi0w7:~/bin $ ./fan_overlay_check/sys/class/thermal/thermal_zone0/available_policies:step_wise /sys/class/thermal/thermal_zone0/cdev0_trip_point:0/sys/class/thermal/thermal_zone0/cdev0_weight:0/sys/class/thermal/thermal_zone0/cdev1_trip_point:1/sys/class/thermal/thermal_zone0/cdev1_weight:0/sys/class/thermal/thermal_zone0/cdev2_trip_point:2/sys/class/thermal/thermal_zone0/cdev2_weight:0/sys/class/thermal/thermal_zone0/cdev3_trip_point:3/sys/class/thermal/thermal_zone0/cdev3_weight:0/sys/class/thermal/thermal_zone0/integral_cutoff:0/sys/class/thermal/thermal_zone0/k_d:0/sys/class/thermal/thermal_zone0/k_i:0/sys/class/thermal/thermal_zone0/k_po:0/sys/class/thermal/thermal_zone0/k_pu:0/sys/class/thermal/thermal_zone0/mode:enabled/sys/class/thermal/thermal_zone0/offset:410040/sys/class/thermal/thermal_zone0/policy:step_wise/sys/class/thermal/thermal_zone0/slope:-487/sys/class/thermal/thermal_zone0/sustainable_power:0/sys/class/thermal/thermal_zone0/temp:43816/sys/class/thermal/thermal_zone0/trip_point_0_hyst:5000/sys/class/thermal/thermal_zone0/trip_point_0_temp:77500/sys/class/thermal/thermal_zone0/trip_point_0_type:active/sys/class/thermal/thermal_zone0/trip_point_1_hyst:5000/sys/class/thermal/thermal_zone0/trip_point_1_temp:70000/sys/class/thermal/thermal_zone0/trip_point_1_type:active/sys/class/thermal/thermal_zone0/trip_point_2_hyst:5000/sys/class/thermal/thermal_zone0/trip_point_2_temp:62500/sys/class/thermal/thermal_zone0/trip_point_2_type:active/sys/class/thermal/thermal_zone0/trip_point_3_hyst:5000/sys/class/thermal/thermal_zone0/trip_point_3_temp:55000/sys/class/thermal/thermal_zone0/trip_point_3_type:active/sys/class/thermal/thermal_zone0/trip_point_4_hyst:0/sys/class/thermal/thermal_zone0/trip_point_4_temp:110000/sys/class/thermal/thermal_zone0/trip_point_4_type:critical/sys/class/thermal/thermal_zone0/type:cpu-thermal/sys/class/thermal/cooling_device0/cur_state:0/sys/class/thermal/cooling_device0/max_state:4/sys/class/thermal/cooling_device0/type:pwm-fan
Where I see "/trip_point_0_temp:77500" and "trip_point_3_temp:55000", which seems backwards, compared to "dtparam=fan_temp0=55000" and "dtparam=fan_temp3=77500". Is this normal, the arrays of values being in the reverse order? Or what did I do wrong?

Statistics: Posted by tinker2much — Sun Feb 04, 2024 6:38 pm



Viewing all articles
Browse latest Browse all 5827

Trending Articles