The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

i3status: Cannot read temperature from second cpu

asked 2014-06-20 04:50:29 +0000

geo909 gravatar image

updated 2014-06-22 00:55:20 +0000

I have a laptop with an Intel Core 2 Duo cpu. I have the following in my i3status config file:

order += "cpu_temperature 0"
order += "cpu_temperature 1"

and later on:

cpu_temperature 0{
        format = "%degrees °C"
        path="/sys/devices/platform/coretemp.0/temp2_input"
        max_threshold=75
}

cpu_temperature 1{
        format = "%degrees °C"
        path="/sys/devices/platform/coretemp.0/temp3_input"
        max_threshold=75
}

When I go and check those paths myself and cat the files I get two different temperatures. If I compare those with the output of the "sensors" command, I see that these are indeed the temperatures of the two cores. However the i3status bar shows two identical temperatures corresponding to the first core.

Any ideas what I am doing wrong here?

edit retag flag offensive close merge delete

Comments

1

Same for me. I can't recall if this happened after an update or an edit to the i3status.conf. By the way, I have the same lines as yours. cat-ing the values (taken straight from the i3status.conf) shows different values for each CPU as expected.

Man from Mars gravatar imageMan from Mars ( 2014-06-24 21:15:01 +0000 )edit

1 answer

Sort by » oldest newest most voted
2

answered 2014-10-09 19:00:45 +0000

canu7 gravatar image

It's a bug. Was fixed in commmit 26faed4c2f2c23f17b0c9170a4a72bb018931ed8, not yet released under any version number.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-06-20 04:50:29 +0000

Seen: 2,047 times

Last updated: Oct 09 '14