Re: What is the command to access the temp sensors in a rpi4?
On Monday 18 January 2021 13:55:44 Eduardo M KALINOWSKI wrote:
> On 18/01/2021 15:35, Gene Heskett wrote:
> > On Monday 18 January 2021 12:15:00 Stefan Monnier wrote:
> >>> ISTR there is a "vcg*" sort of thing to read that stuff, but have
> >>> lost it in the fog of time.
> >>
> >> If the kernel is sane, then I think that the following command
> >> should give you this info:
> >>
> >> sensors
> >
> > This kernel isn't "sane": 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT
> >
> >> it comes from the `lm-sensors` package.
> >
> > Returns a null.
>
> In my RPI4, running stock Debian from https://raspi.debian.net/,
> sensors works:
>
> $ sensors
> cpu_thermal-virtual-0
> Adapter: Virtual device
> temp1: +43.8°C (crit = +90.0°C)
After running sensors-detect, I get:
rpi_volt-isa-0000
Adapter: ISA adapter
in0: N/A
So I assume that module wasn't built. I built that kernel.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: