Re: Is a temperature missing in sensors ?

Ondřej Lysoněk <[email protected]> Fri, 17 Jan 2020 13:42:28 +0000
Newsgroups org.kernel.vger.lm-sensors
Message-ID <[email protected]>
Hi,

David VANTYGHEM <[email protected]> writes:

> Hello,
>
> With https://github.com/lpereira/hardinfo, I've got 6 temperatures : 1
> for the GPU and 5 for the CPU (coretemp/temp1 to 5 and
> thermal/thermal_zone0).
>
> With sensors, i've got only 5 temperatures (temp1 for GPU and Core 0 to
> Core 3 for CPU). Is it a bug with HardInfo or is a temperature missing
> in sensors ?
>
> https://framapic.org/SPID9PhB2KDJ/KaV6FdY6uvSW.png

Hi,

the 'sensors' output is missing the 'thermal/thermal_zone0' temperature,
as shown by hardinfo. This is because lm_sensors only handles the hwmon
subsystem (/sys/class/hwmon), not thermal (/sys/class/thermal).

Ondrej

>
> -- 
> Signez la pétition pour le retrait du projet de réforme des retraites : https://onestla.tech
>
> Installer facilement Linux : http://infolib.re
>
>     .--.
>    |o_o |
>    ||_/ |
>   //    \\    Envoyé depuis mon Linux
>  (|      |)
> / \_   _/ \
> \___)=(___/