greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.85k stars 470 forks source link

Temperature Block isn't reporting correctly #1901

Open dkragen opened 1 year ago

dkragen commented 1 year ago

My apologies if this is not the correct way to notify you folks of the bug. However, the block doesn't pick up temperatures correctly, when the wildcard is used with the 'chip' key in the block. It reports 90* in my case.

i3s-rs_temp_block temp_output_orig

However, once switched to explicit naming (coretemp-isa-0000 in my case), the block did report temperatures correctly:

temp_output

i3status-rs 0.31.4 sensors version 3.6.0 with libsensors version 3.6.0

dkragen commented 1 year ago

Here's a copy-paste from the terminal instead showing correct output from sensors:

coretemp-isa-0000 Adapter: ISA adapter Core 0: +55.0°C (high = +78.0°C, crit = +98.0°C) Core 1: +62.0°C (high = +78.0°C, crit = +98.0°C) Core 2: +56.0°C (high = +78.0°C, crit = +98.0°C) Core 3: +55.0°C (high = +78.0°C, crit = +98.0°C)

The slight difference in temperatures between sensors output and the i3status-rs output reflects interval update.

MaxVerevkin commented 1 year ago

What is the output of sensors '*-isa-*'?