! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Configuration not read properly?
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description gletonai 2017-08-23 22:21:55 CEST
Created attachment 7294 
plugin configuration

My sensors are like:

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +25.4°C  (high = +70.0°C)
                       (crit = +90.0°C, hyst = +87.0°C)

it8720-isa-0228
Adapter: ISA adapter
in0:          +0.93 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.47 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +3.34 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +3.02 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +3.06 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +0.06 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
5VSB:         +3.01 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:         +3.30 V  
fan1:         936 RPM  (min =   10 RPM)
fan2:        1386 RPM  (min =    0 RPM)
fan3:         902 RPM  (min =    0 RPM)
fan4:        4440 RPM  (min =   10 RPM)
temp1:        +26.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal diode
temp3:        +35.0°C  (low  = +127.0°C, high = +60.0°C)  sensor = Intel PECI
cpu0_vid:    +0.113 V
intrusion0:  OK

fam15h_power-pci-00c4
Adapter: PCI adapter
power1:       42.84 W  (crit =  95.01 W)

However sensors plugin will display value of "+5V" instead of temp3 after logging in and will also rename "+5V" sensor to "temp3" so I will have two sensors named "temp3" with one displaying voltage :-)
Comment 1 Fabian Nowak editbugs 2017-10-10 22:21:51 CEST
Would you mind providing your panel plugin configuration file from ${HOME}/.config/xfce/panel/xfce4-sensors-plugin-25.rc or similar? In there, you will hopefully easily find where there is "temp3" incidentally written, you might want to "xfce4-panel -q", edit the file with 2 new names for the temp3 and +5V sensor, and then run xfce4-panel again, e.g., from an open terminal instance or xfrun4.

Anyway, your config file will be interesting (and how you achieved a potential misconfiguration).
Comment 2 gletonai 2017-10-10 22:41:51 CEST
Created attachment 7352 
config file
Comment 3 gletonai 2017-10-10 22:42:54 CEST
I just attached it.
Comment 4 Fabian Nowak editbugs 2017-10-15 11:05:59 CEST
OK, what happens if you rename the label in the settings dialog? It seems you encountered an older bug where there is some mixing-up of old and new "positions" of the different sensors, i.e., you once have the lm sensors or hddtemp, and then you don't have it and all the naming in the plugin is screwed up.

Renaming simply works by double-clicking the "temp3" label and typing a different text, e.g., "renaming test". Close the config window, perhaps after enabling "Show", and then restarting the panel in a command line via "xfce4-panel -r" should show whether you now have the proper label again (in the panel when shown or in the config window).

As an alternative, you could stop the panel via "xfce4-panel -q", manually edit the config file: remove the sensor feature entries for the second sensors with all the faulty "temp" labels, save, and start the panel again. It is possible that there are two (or even more config files), you will have to find out the correct one.
Comment 5 gletonai 2018-06-03 00:55:54 CEST
What happens lately with version 1.3.0 is the following:

Sensor config

[Chip1_Feature15]
Id=-1
Address=15
Name=temp3
Color=#00B000
Show=true
Min=10.00
Max=60.00

Becomes

[Chip1_Feature3]
Id=-1
Address=3
Name=temp3
Color=#00B000
Show=true
Min=10.00
Max=60.00

After restart.
If I edit it manually when X is not running and start X it will display the sensor correctly, but once it saves config it will be replaced by some voltage sensor. It is still the same PC as above :-)
Comment 6 gletonai 2018-06-03 00:57:12 CEST
The reading will actually show this sensor instead temp3 after it saves config:
+5V:          +3.02 V  (min =  +0.00 V, max =  +4.08 V)
Comment 7 Alcyone 2018-10-24 15:08:40 CEST
I have the same issue with IT87 chip (it8721 version), temp2 is substituted by in3 after each xfce4-panel restart and in3 is renamed as what I have for temp2 name (either named by me or by what sensors command outputs). in3 is also the first input at /sys/class/hwmon/hwmon? that has a *_label file. My IT87 chip has 15 different inputs. Tried xfce4-sensors-plugin versions 1.2.98 and 1.3.0 and ended up disabling all ACPI, because I don't have any sensors there. lm_sensors version is 3.4.0_p20180923.


Hack to make it display the wanted sensors:

At lm_sensors config (/etc/sensors.conf or /etc/sensors3.conf) in the relevant chip section add lines to ignore all inputs you don't need to see (run 'sensors -u' to get list of proper names for inputs). (And then restart lm_sensors service, 'xfce4-panel -r', and finally do your xfce4-sensors-plugin settings again.) E.g. I have after modifications in /etc/sensors3.conf:

chip "it87-*" "it8712-*" "it8716-*" "it8718-*" "it8720-*" "it8721-*"

    label in3 "in3"
    label in7 "in7"
    label in8 "in8"
    label temp1 "CPU"
    label temp2 "Mobo"
    label fan1 "CPU Fan"
    label fan2 "CPU Opt"
    ignore in0
    ignore in1
    ignore in2
    ignore in3
    ignore in4
    ignore in5
    ignore in6
    ignore in7
    ignore in8
    ignore temp3
    ignore intrusion0
Comment 8 Fabian Nowak editbugs 2018-10-24 19:49:57 CEST
Thanx for investigating and providing hacks around. There were some problems with the sensors plugin and it Id and Address Entries in the config file as well. Would you mind trying out current Git version 1.3.90.git...? Will make a release soon, anyway.
Comment 9 Alcyone 2018-10-24 20:58:21 CEST
Version 1.3.90 (from https://archive.xfce.org/src/panel-plugins/xfce4-sensors-plugin/1.3/ ) fixes the issue for me. No hacks needed anymore. Thank you.

Bug #13815

Reported by:
gletonai
Reported on: 2017-08-23
Last modified on: 2018-10-24

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

plugin configuration (75.14 KB, image/png)
2017-08-23 22:21 CEST , gletonai
no flags
config file (1.31 KB, application/octet-stream)
2017-10-10 22:41 CEST , gletonai
no flags

Additional information