Hi there, I’m new to OpenWRT for BPI-R3 with the desire to correct configuration of the PWM fan I purchased for it (https://www.aliexpress.com/item/1005006397891164.html). I made all the necessary measurements by forcing fan on with
/sys/class/thermal/cooling_device0/cur_state and playing with fan speed using /sys/devices/platform/pwm-fan/hwmon/hwmon1/pwm1
I’d like now configure my FW to have PWM values for each of the thresholds updated (i.e. customise /sys/firmware/devicetree/base/pwm-fan/cooling-levels). Looking at the source code I see device tree however I can’t find a way override the cooling-levels value to the one I need without compiling the image myself. Does anyone knows how to introduce such change at runtime ?