Change cpu governor on HAOS

Hi,

I have my HAOS instance installed in a mini pc with N4020 cpu. I just realized that it is only compatible with SpeedStep technology and that current cpu governor is schedutil.

I would like to change cpu governor to ondemand however system is read-only and i can’t write on /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

I have checked posts:

But the following commands are not working for me:

mkdir /root/sys
mount -t sysfs none /root/sys -n -o rw
echo ondemand > /root/sys/devices/system/cpu/cpufreq/policy0/scaling_governor

I am gettig this error while executing from Advanced SSH & Web Terminal (protection mode disabled):
bash: echo: write error: Invalid argument

Any ideas on how to change cpu governor?

Thanks

UPDATE: I was able to apply commands from putty. Is there a way to automate this change on reboot?

Hello PutoPunko,

I know this question doesn’t help you at all, but maybe it will help someone else to fix your actual problem.

Why do you want to do this?

1 Like