Other i3 core temp

soyiuz

New Member


Messages: 1

My core temp is not showing up in i3. In i3status/config I have:
Code:
order += "cpu_temperature 0"

cpu_temperature 0 {
    format = "T: %°C"
}
I tried also with path = "hw.acpi.thermal.tz0.temperature" as discussed in https://forums.freebsd.org/threads/52569/.

In rc.conf: kld_list="coretemp"

And sysctl hw.acpi.thermal.tz0.temperature returns
hw.acpi.thermal.tz0.temperature: 56.1C
.
 

k.jacker

Aspiring Daemon

Reaction score: 449
Messages: 740

The coretemp kernel module only creates the
Code:
dev.cpu.[0-3].temperature
variables on your i3.

sysctl hw.acpi.thermal.tz0.temperature
Looks like a variable created by some other hardwarespecific acpi modules, not sure about that, but it is not created by coretemp.
It's already in the thread you mentioned and in the manpage coretemp(4), just use the sysctl dev.cpu.0.temperature after loading coretemp to get temperature of CPU 0.
 

Minbari

Well-Known Member

Reaction score: 249
Messages: 488

Code:
order += "cpu_temperature 0"
and:
Code:
cpu_temperature 0 {
        format = "  %degrees °C"
        max_threshold = 65
}
 
Top