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

Troubleshooting • Re: How to change PWM fan control mode

$
0
0
it took me a while but got the overlay working. it still shows the fan but i can now echo into the pwm1 file to set the rpm :D
this way the OS will still see the fan.

Code:

/dts-v1/;/plugin/;/ {  compatible = "raspberrypi,5-compute-module", "bcrm,bcm2712"; // Target Raspberry Pi (CM)5  fragment@0 {    target = <&cooling_maps>;     __overlay__{      status = "disabled";      tepid {        trip = <&cpu_tepid>;        cooling-device = <0 1 1>;      };      warm {        trip = <&cpu_warm>;        cooling-device = <0 2 2>;      };      hot {        trip = <&cpu_hot>;        cooling-device = <0 3 3>;      };      vhot {        trip = <&cpu_vhot>;        cooling-device = <0 4 4>;      };      melt {        trip = <&cpu_crit>;        cooling-device = <0 4 4>;      };    };  };};

Statistics: Posted by Noah0507 — Mon May 05, 2025 11:37 pm



Viewing all articles
Browse latest Browse all 7530

Trending Articles