ericzhang Posted 4 hours ago Posted 4 hours ago (edited) Hello everyone, I flashed the armbian into my tf cand and inserted it into my OrangePi 5 Plus, with my fans inserted to the specific socket on board (2pin, 1.25mm, 5V, PWM3_IR_M1). However, when I booted it, the fans was running constantly instead of controlled by temperature dynamically, like the official OS images that did only the fans running when the temperature over 50 celsius. I wanna know how to configure my OS to enable the temperature-controlled fans like the official images. The offical documents shows: Linux uses the default pwm-fan drivers to control thye fans and the device tree was defined in orange-pi-5.10-rk3588/arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts Here is the code: fan: pwm-fan { compatible = "pwm-fan"; #cooling-cells = <2>; pwms = <&pwm3 0 50000 0>; cooling-levels = <0 50 100 150 200 255>; rockchip,temp-trips = < 50000 1 55000 2 60000 3 65000 4 70000 5 >; status = "okay"; }; Here are some descriptions regarding some columns: pwms = <&pwm3 0 50000 0>:The fans use pwm3. cooling-levels = <0 50 100 150 200 > 255>:Used to configure the speed levels (duty cycle of PWM). The number and magnitude of the levels can be customized. 6 levels are configured, with the speed range from 0 to 255. rockchip,temp-trips:Used to configure the correspondence between CPU temperature and fan speed levels. This can be adjusted according to actual needs. In the above configuration, 50°C corresponds to level 1, and 70°C corresponds to level 5. Thank you very much. Edited 4 hours ago by ericzhang 0 Quote
royk Posted 2 hours ago Posted 2 hours ago (edited) It's enabled by default. I believe that you have the wires swapped. There's a topic here about it where I also added a overlay to adjust what speed at which temperature. I'm not sure if the overlay is still compatible, but since you've already found the source you can change it accordingly. Edited 2 hours ago by royk 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.