RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
565 stars 206 forks source link

Allow to change cpu governor settings by using default file #203

Closed avoidik closed 1 year ago

avoidik commented 1 year ago

This will allow us to change CPU governor settings via the /etc/default/cpu_governor file. Please feel free to propose some other / more suitable name for that default file.

XECDesign commented 1 year ago

I wonder if it make sense to drop the init script entirely and rely on cpufrequtils instead. Or, to reduce the need to document that change, the script could be modified to run before cpufrequtils does. It just feels a bit wrong to add yet another way of doing things when there's already a tool to do this that google already points people t.

avoidik commented 1 year ago

It is, but this feature operates within the existing pattern, not the one in a far imaginary future :)

XECDesign commented 1 year ago

Had a closer look at cpufrequtils and it lacks the ability to tweak additional parameters, so it's not really suitable.

Thanks