Open Heisenborgar opened 1 month ago
A specific frequency? Maximum frequency or minimum frequency?
I'm curious about the reason for such request.
It's possible you could edit the script and reach your goal. First copy the frequencies file.
sudo cp /sys/devices/system/cpu/cpu$CORE/cpufreq/scaling_available_frequencies /etc/custom_cpu_frequencies
Then edit the new file /etc/custom_cpu_frequencies
and remove any frequencies you don't want.
Finally, change 1 line in the temp-throttle script to be your custom frequencies file. From this:
FREQ_FILE="/sys/devices/system/cpu/cpu$CORE/cpufreq/scaling_available_frequencies"
To this:
FREQ_FILE="/etc/custom_cpu_frequencies"
I'd like to specify a specific freq like 1800MHz, rather than the default one.