installed Armbian ubuntu jammy on a ArmSoM-Sige7, I would like to set the working mode of the small fan on top of the Rock CPU.
sudo su
set_thermal_governor() {
local new_policy="$1" i
for i in /sys/class/thermal/thermal_zone*/policy
do
echo "$new_policy" > "$i"
done
}
set_thermal_governor step_wise