configng icon indicating copy to clipboard operation
configng copied to clipboard

Add independent CPUFREQ config manipulation options

Open igorpecovnik opened this issue 1 year ago • 5 comments

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

igorpecovnik avatar Oct 06 '24 12:10 igorpecovnik

Isn't cpufrequtils considered deprecated?

EvilOlaf avatar Oct 06 '24 14:10 EvilOlaf

Yes. This should be reworked.

igorpecovnik avatar Oct 06 '24 14:10 igorpecovnik

Now, we "only" need a replacement service to read those files and set CPU.

igorpecovnik avatar Oct 06 '24 15:10 igorpecovnik

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.

sp2ong avatar Jan 27 '25 10:01 sp2ong

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/

igorpecovnik avatar Jan 27 '25 12:01 igorpecovnik