MisterGuinness / gnome-shell-extension-sensors

Gnome shell extension: Shows CPU temperature, HDD temperature, voltage and fan RPM
0 stars 0 forks source link

Fedora 35: Missing Sensors and Scaled Units #56

Closed MisterGuinness closed 2 years ago

MisterGuinness commented 2 years ago

Recently I upgraded to a new machine, and with that a new board, but the Nuvoton sensors were missing. Eventually kernel updates appeared

https://bugzilla.kernel.org/show_bug.cgi?id=204807

and now I see a whole host of sensors

There are a some minor issues:

  1. Some voltages sensors (doesn't matter if real or not) are not appearing. These are voltages with a scaled unit, for me mV (millivolts)
  2. Some fans are not appearing. I realise that a zero RPM probably means no fan is connected to that sensor, but it could also mean the fan itself failed. This happened to me years ago (CPU fan clips broke, fan fell against the CPU cooler and stalled) and is the reason I started to use this extension, but never realised zero RPM fans don't appear.
  3. Similarly for temperatures, I see a new sensor reading a negative temp, whilst probably erroneous (supercomputers immersed in liquid nitrogen notwithstanding) I believe not displaying these is not the best option either.

For items 2 and 3, lm_sensors has an "ignore" config setting which would be preferable to use, so that users make an explicit choice to "hide" sensors that are not connected (or are of no interest to them). That way a known fan that drops to zero RPMs will still be visible, and I might like it highlighted in some way

Example of my sensors output:

$ sensors
nct6798-isa-0290
Adapter: ISA adapter
in0:                      112.00 mV (min =  +0.00 V, max =  +1.74 V)
in1:                      1000.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in2:                        3.41 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in3:                        3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in4:                        1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                      832.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:                      304.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in7:                        3.41 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in8:                        3.31 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in9:                      912.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                     264.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in11:                       1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                       1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                     464.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
in14:                     336.00 mV (min =  +0.00 V, max =  +0.00 V)  ALARM
fan1:                        0 RPM  (min =    0 RPM)
fan2:                      871 RPM  (min =    0 RPM)
fan3:                     1002 RPM  (min =    0 RPM)
fan4:                        0 RPM  (min =    0 RPM)
fan5:                        0 RPM  (min =    0 RPM)
fan6:                        0 RPM  (min =    0 RPM)
fan7:                        0 RPM  (min =    0 RPM)
SYSTIN:                    +35.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
CPUTIN:                    +37.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
AUXTIN0:                   +79.0°C    sensor = thermistor
AUXTIN1:                   +55.0°C    sensor = thermistor
AUXTIN2:                   -61.0°C    sensor = thermistor
AUXTIN3:                   +75.0°C    sensor = thermistor
PECI Agent 0 Calibration:  +37.0°C  
PCH_CHIP_CPU_MAX_TEMP:      +0.0°C  
PCH_CHIP_TEMP:              +0.0°C  
PCH_CPU_TEMP:               +0.0°C  
intrusion0:               ALARM
intrusion1:               ALARM
beep_enable:              disabled

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +35.4°C  
Tccd1:        +43.0°C  

nvme-pci-0300
Adapter: PCI adapter
Composite:    +41.9°C  (low  = -273.1°C, high = +84.8°C)
                       (crit = +84.8°C)
Sensor 1:     +41.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +39.9°C  (low  = -273.1°C, high = +65261.8°C)

radeon-pci-0500
Adapter: PCI adapter
GPU Temp:     +47.0°C  (crit = +120.0°C, hyst = +90.0°C)
MisterGuinness commented 2 years ago

I'll leave the highlighting of eg zero or low (whatever that is) fan RPM to another day and issue. Perhaps I can set the "min" RPM to something more realistic in sensors config file?