Add independent CPUFREQ config manipulation options
Description
Introducing new config /etc/default/armbian-cpufrequtils that is independent from deprecated cpufrequtils. Functionality only manipulate config file, while service needs to be added at buildtime.
Implementation Details
A service that will read /etc/default/armbian-cpufrequtils needs to be added to armbian OS. Functionality should be merged in "Disabled" state.
Testing Procedure
- [x] Configuration is generated and manipulated correctly
Checklist
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] No new external dependencies are included
- [x] Changes have been tested and verified
Isn't cpufrequtils considered deprecated?
Yes. This should be reworked.
Now, we "only" need a replacement service to read those files and set CPU.
Hi, Is there a ready tool to set min/max cpu frequency. Is it still in testing status? very useful option that was once available.
cpufreq which we used before, is deprecated / eol. This here is an replacement attempt. I am sure there must be several options but it would be best to keep this as minimal as this POC. You are welcome to try to implement it. This might help https://docs.armbian.com/Contribute/Armbian-config/