jclark / rpi-cm4-ptp-guide

Guide to using the hardware PTP support in the Raspberry Pi CM4
MIT License
88 stars 10 forks source link

Cm4 PWM Fan issue #19

Closed JN19aban closed 1 year ago

JN19aban commented 1 year ago

Hi,

Yesterday I received the metal case of the Waveshare which has the built in fan. The problem is when the overlay loads it stop spinning the fan. I have pushed the CM4 to almost 68 degrees of temperature but the fan still not working. I am seeing the cooling_device to be available on /sys/class/thermal/.

$ watch "grep -s . /sys/class/thermal/thermal_zone*/* /sys/class/thermal/cooling_device*/*"

/sys/class/thermal/thermal_zone0/available_policies:step_wise /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:670040 /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:47712 /sys/class/thermal/thermal_zone0/trip_point_0_hyst:2000 /sys/class/thermal/thermal_zone0/trip_point_0_temp:75000 /sys/class/thermal/thermal_zone0/trip_point_0_type:active /sys/class/thermal/thermal_zone0/trip_point_1_hyst:2000 /sys/class/thermal/thermal_zone0/trip_point_1_temp:50000 /sys/class/thermal/thermal_zone0/trip_point_1_type:active /sys/class/thermal/thermal_zone0/trip_point_2_hyst:0 /sys/class/thermal/thermal_zone0/trip_point_2_temp:110000 /sys/class/thermal/thermal_zone0/trip_point_2_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:10 /sys/class/thermal/cooling_device0/type:emc2305_fan

If someone have this case with the fan and is working please let me know how to make it work.

Best regards, Jim

JN19aban commented 1 year ago

Fixed on kernel 6.1.31