It seems that cpufreqd is trying to get the cpu/cores temperature from acpi, which is installed and working at least for making a clean shutdown when pressing the power button once, but the cpu temperature isn't available for some reason. I get cpu temperature via ksysguard (perhaps just "[kde] system guard" these days) though. It does not get its readings from acpi, it seems, as acpinfo gives "Thermal info : <not available>".
The output of "sensors -u" gives something that seems what ksysguard gets its readings from, "coretemp isa":
Code:
coretemp-isa-0000
temp2_input: 41.000
temp2_max: 76.000
temp2_crit: 100.000
temp2_crit_alarm: 0.000
temp3_input: 41.000
temp3_max: 76.000
temp3_crit: 100.000
temp3_crit_alarm: 0.000
The pertinent part on cpufreqd.conf was like this on the original configuration file:
Code:
# CPU Too hot!
[Rule]
name=CPU Too Hot
acpi_temperature=7-100
I've found
at this article a different version that looked very promising:
Code:
# CPU Too hot!
[Rule]
name=CPU Too Hot
sensor=coretemp:70-100
But it didn't work. I've also tried:
Code:
# CPU Too hot!
[Rule]
name=CPU Too Hot
sensor=temp2_input:70-100
And "coretemp-isa-0000", "coretemp-isa", but neither did work.
Instead cpufreqd keeps showing:
Code:
acpi_temperature_update : called
acpi_temperature_update : temperature for thermal_zone0 is 30.0C
acpi_temperature_update : temperature average is 30.0C
And this seems to be some phoney reading that keeps stationary at 30C.
I also have the following section on the same config file:
Code:
[sensors_plugin]
sensors_conf=/etc/sensors3.conf
[/sensors_plugin]
Which seems to be correct from what I've been finding, which is not much though. And this file exists.
So, anyone knows the correct syntax to use in cpufreqd.conf for this situation, or how to make acpi_temperature work for real instead?
Thanks a lot!
update: I've tried the same variations on the stock kernel, just in case. Didn't work.
update 2: tried editing sensors3.conf, it turns out that my chip had only a single line on it, not evidently related with temperatures, so I just copied some lines from other chips. Didn't work, neither did using the original obscure item/label on cpufreqd.conf.
Code:
chip "it87-*" "it8712-*" "it8716-*" "it8718-*" "it8720-*"
label in8 "Vbat"
label temp1 "CPU0 Temp"
label temp2 "CPU1 Temp"
The original single line is underlined, the other two are the ones I've added.