intel / thermal_daemon

Thermal daemon for IA
GNU General Public License v2.0
550 stars 118 forks source link

/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies doesn't exist #455

Closed dannyp777 closed 2 months ago

dannyp777 commented 2 months ago

I am using Linux kernel 6.8.0-40-generic and I don't have the scaling_available_frequencies value under /sys/devices/system/cpu/cpu0/cpufreq/

It seems that thermald fails to add a cpufreq cooling device from the sysfs if it doesn't find this value. It still allows me to add it via the thermal-conf.xml, but why won't it add it by default if this value is not there?

thd_cdev_cpufreq.cpp :- line 68

spandruvada commented 2 months ago

Thermald will pick intel_pstate in this case as this system supports intel_pstate not using acpi_cpufreq with multiple frequencies. intel_pstate has global control instead of writing to every CPU.

dannyp777 commented 2 months ago

Just ignore this. I realised my system started using pstate driver after I upgraded my BIOS, so the pstate driver is managing the scaling frequencies. It makes total sense. I am still learning.