Kstatsviewer: "No sensors available."

Good morning,

I’m running Debian Trixie variants with KDE/Plasma on a couple different Raspberry Pi models. The ones that use the Raspberry Pi variant of Debian have no graphical information in the system status viewer. I think this might be related kstatsviewer not reporting any sensors. In the host running Straight up Debian, kstatsviewer reports 210 sensors. (My X86_64 host reports 340.) I’ve run other variants and lack of sensors seems to be common but not universal.

How can I track this down? My pure Debian host is running Plasma 6.3.6 and a Bookworm RpiOS install is on 5.27.5, Trixie RpiOS is also on 6.3.6. (RpiOS uses Debian repos except for Pi specific stuff so it is likely getting KDE/Plasma from the same repos.)

I just realized that the one that works is on a CM4 whereas the other two are on a Pi 5 and CM5 so I need to check if the issue is related to the Pi 5. I think it is not but I will confirm.

In the mean time suggestions for tracking down a solution are most welcome.

Thanks!

you didn’t mention if you had tried running

sudo sensors-detect

1 Like

lm-sensors was not even installed. I installed it and ran sensors-detect and sensors reports:

hbarta@rafiki:~ $ sensors
rpi_volt-isa-0000
Adapter: ISA adapter
in0:              N/A  

rp1_adc-isa-c8000
Adapter: ISA adapter
in1:           1.86 V  
in2:           3.29 V  
in3:           1.42 V  
in4:           1.44 V  
temp1:        +53.1°C  

cpu_thermal-virtual-0
Adapter: Virtual device
temp1:        +44.6°C  

pwmfan-isa-000c
Adapter: ISA adapter
fan1:           0 RPM
pwm1:              0%  MANUAL CONTROL

nvme-pci-10100
Adapter: PCI adapter
Composite:    +33.9°C  (low  = -273.1°C, high = +85.8°C)
                       (crit = +86.8°C)
Sensor 1:     +37.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +34.9°C  (low  = -273.1°C, high = +65261.8°C)

hbarta@rafiki:~ $ 

No change for kstatsviewer:


hbarta@rafiki:~ $ sudo kstatsviewer --list
No sensors available.hbarta@rafiki:~ $

The Debian host on which kstatsviewer reports 210 “sensors” does not have lm-sensors installed. The “sensors” used by kstatsviewer report (software) things like RAM, CPU and network usage where lm-sensors reports hardware parameters. I’ve copied the sensors list to https://pastebin.com/f7bmnwcq in case that’s helpful.

best,

usually the system will pick up most sensors without needing lm-sensors, but i’ve found it to come in handy a few times when there seemed to be something missing… it was worth a shot.

my guess is the hardware is not recognized by either one so unless your pi device has a specific tool kit like lm-sensors for making sensors available to linux, you are likely out of luck.

It works on Debian on the same H/W and likely the same KDE/Plasma S/W. Something exists and is missing or not connected for Raspberry Pi OS.

I will try some other distros and see what the result is to hopefully determine where to file a BR.

best,

I’ve filed a BR for this at https://bugs.kde.org/show_bug.cgi?id=510843. Hopefully that will get to the attention of someone who can help me get this resolved.

best,