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:
Hi, I am trying to set powersave governor on my Odroid m1 8GB and I am running homeassistant OS,
I have access to the command line through the web interface.
I installed cpupower and tried to set governor (cpupower frequency-set -g powersave) and that failed due to what I think is a permission problem. I then tried much lower level echo ondemand > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor that failed on “/sys/devices/system/cpu/cpufreq/policy0/scaling_governor is readonly filesy…
I set up an Odroid M1 with Home Assistent to log my Energy consumption.
Somehow I got a configuration with a Shelly EM and DSMR working.
The SSH connection proofed another hurdle, but eventually I could log in.
Like I expected the governor for the Odroid was set to ‘performance’ (default).
How do I set it to ‘conservative’ at boot?
(Since HA is supposed to be working 24/7 I gladly reduce the consumption by even a slight amount.)
With regards,
Specs
What I did as workaround:
login as ha…
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