Sensors on your Tor(ified) RaspberryPi

Something to check frequently, in order to avoid any issue on your RaspberryPi, is the cpu/gpu temperature. Usually, on a Linux system, comes in handy the lm_sensors package. But, on the Centos-Arm system, something is broken.

Anyway, on Linux, everything has a fix


[root@jolek78-rpi3 bin]# yum search sensors [...] lmsensors-devel.armv7hl : Development files for programs which will use lmsensors lmsensors-libs.armv7hl : Lmsensors core libraries lmsensors-sensord.armv7hl : Daemon that periodically logs sensor readings [...] lmsensors.armv7hl : Hardware monitoring tools

[root@jolek78-rpi3 ~]# yum install lmsensors lmsensors-libs lmsensors-sensord lmsensors-devel [....] Installed: lmsensors.armv7hl 0:3.4.0-6.20160601gitf9185e5.el7 lmsensors-devel.armv7hl 0:3.4.0-6.20160601gitf9185e5.el7 lmsensors-libs.armv7hl 0:3.4.0-6.20160601gitf9185e5.el7 lmsensors-sensord.armv7hl 0:3.4.0-6.20160601gitf9185e5.el7

Complete! [root@jolek78-rpi3 ~]#


[root@jolek78-rpi3 ~]# systemctl status sensord ● sensord.service – Log hardware monitoring data Loaded: loaded (/usr/lib/systemd/system/sensord.service; disabled; vendor preset: disabled) Active: inactive (dead) [root@jolek78-rpi3 ~]# systemctl enable sensord Created symlink from /etc/systemd/system/ to /usr/lib/systemd/system/sensord.service.

[root@jolek78-rpi3 ~]# systemctl start sensord

[root@jolek78-rpi3 ~]# systemctl status sensord ● sensord.service – Log hardware monitoring data Loaded: loaded (/usr/lib/systemd/system/sensord.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2019-07-14 20:50:57 BST; 2min 57s ago Process: 24726 ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon (code=exited, status=0/SUCCESS) Main PID: 24728 (sensord) CGroup: /system.slice/sensord.service └─24728 /usr/sbin/sensord -i 1m -l 20m -f daemon


[root@jolek78-rpi3 bin]# sensors-detect sensors-detect revision 3.4.0-6 (2016-06-01) DMI data unavailable, please consider installing dmidecode 2.7 or later for better results. Kernel: 4.14.82-v7.1.el7 armv7l ********** Your processor's architecture is not yet supported. Beware that sensors-detect might not work properly! <<<<<<<<<<<<<<<< [....] Sorry, no sensors were detected. <<<<<<<<<<<<<<<<

[root@jolek78-rpi3 Downloads]# git clone Cloning into 'dmidecode'... [...] Receiving objects: 100% (2939/2939), 888.32 KiB | 1.55 MiB/s, done. Resolving deltas: 100% (1626/1626), done. [root@jolek78-rpi3 Downloads]# cd dmidecode/ [root@jolek78-rpi3 dmidecode]# make ; make install [....] install -m 644 man/$program.8 /usr/local/share/man/man8 ; done install -m 755 -d /usr/local/share/doc/dmidecode install -m 644 README /usr/local/share/doc/dmidecode install -m 644 NEWS /usr/local/share/doc/dmidecode install -m 644 AUTHORS /usr/local/share/doc/dmidecode

[root@jolek78-rpi3 dmidecode]# dmidecode dmidecode 3.2 Scanning /dev/mem for entry point. No SMBIOS nor DMI entry point found, sorry. [root@jolek78-rpi3 dmidecode]#

RedHat Bugzilla Bug 1438869 – No SMBIOS nor DMI entry point found, sorry.

[root@jolek78-rpi3 ~]# sensors No sensors found! <<<<<<<<<<<<<<<<


GPU [root@jolek78-rpi3 ~]# vcgencmd measure_temp temp=49.4'C

CPU [root@jolek78-rpi3 ~]# cpu=$(</sys/class/thermal/thermal_zone0/temp) | echo “$((cpu/1000)) C” 49 C

Music: Back to the Start Artist: Switchboard Spectacular || Album: Enterainment EP

— Jolek78