Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu 22
Official vim3-ubuntu-22.04-gnome-linux-6.1-fenix-1.4-221229.img.xz
Please describe your issue below:
Once again I want to change the fan curve on the board. I revisited my old post Customize fan activation temperature on ubuntu. The post worked for kernel 4.9 but now with kernel 6.1 the thermal management code changed a lot.
1.What you want to know is how to change the fan trigger only by changing the device tree?
2.Avoid the impact of fan.sh on the device tree, which will be arranged in the future work. It won’t be solved quickly because it’s not the focus of the job. Sorry!
I don’t think fan.sh has any impact to the device tree, what it does is echo 50000 > /sys/class/thermal/thermal_zone0/trip_point_3_temp. This overwrites whatever value the dtsi has set. So with fan.service disabled in systemd, my modification to the device tree (via dtsi) can work as intended.
My question is how do I revert the patch to the device tree (I build and installed a deb to the official ubuntu mainline image), since I can just rely on modifying fan.sh to achieve the same result?
Or to put it another way, which way is better? Modify the device tree or the fan.sh? Considering compatibility to future os update.