Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Stefan Monnier
> Its armhf Stefan, not wintel. Shouldn't make any difference, except for the fact that a lot of development in the ARM world is done in a kind of "cowboy" way: take some version of the kernel and then hack at it until it does what they want (with no regards for what will happen in the longer

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Gene Heskett
On Monday 18 January 2021 14:47:03 0...@caiway.net wrote: > On Sun, 17 Jan 2021 23:47:48 -0500 > > Gene Heskett wrote: > > Greetings all; > > > > Cheers, Gene Heskett > > cpu=$( temperature: $((cpu/100)) Celsius" | sed 's/\B[0-9]\{1\}\>/,&/' > > This oneliner works on pi3 and pi4 > > > I use

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread 0...@caiway.net
On Sun, 17 Jan 2021 23:47:48 -0500 Gene Heskett wrote: > Greetings all; > Cheers, Gene Heskett cpu=$(/,&/' This oneliner works on pi3 and pi4 I use this oneliner for some color: cpu=$(/,&/' Or in a script: #!/bin/bash cpu=$(/,&/' #eof hope this helps

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Gene Heskett
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

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Miguel A. Vallejo
Do not forget for sensors to work you must first run sensors-detect Greetings El lun, 18 ene 2021 a las 20:11, Eduardo M KALINOWSKI () escribió: > > 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

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Eduardo M KALINOWSKI
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:

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Gene Heskett
On Monday 18 January 2021 13:39:36 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 > > > >

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Stefan Monnier
>> > 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 This doesn't say

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Gene Heskett
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":

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Stefan Monnier
> 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 it comes from the `lm-sensors` package. Stefan

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Anssi Saari
Gene Heskett writes: > Greetings all; > > ISTR there is a "vcg*" sort of thing to read that stuff, but have lost it > in the fog of time. vcgencmd measure_temp Or has that changed? I don't have a Pi 4, just a 3B and 3B+.

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread deloptes
Gene Heskett wrote: >> vcgencmd get_throttled > 0x0 means no trottle occured (see below) >> https://www.raspberrypi.org/forums/viewtopic.php?t=190584 > > That "forum" is NOT a list. And I've changed browsers, losing all my > passwds. So while I can read it, I can't post. > I mean the

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread Gene Heskett
On Monday 18 January 2021 03:11:56 deloptes wrote: > Gene Heskett wrote: > > ISTR there is a "vcg*" sort of thing to read that stuff, but have > > lost it in the fog of time. > > > > Cheers, Gene Heskett > > Hi Gene, > why not ask on the RPI list - I think you are subscribed there. > Actually at

Re: What is the command to access the temp sensors in a rpi4?

2021-01-18 Thread deloptes
Gene Heskett wrote: > ISTR there is a "vcg*" sort of thing to read that stuff, but have lost it > in the fog of time. > > Cheers, Gene Heskett Hi Gene, why not ask on the RPI list - I think you are subscribed there. Actually at the moment there is a discussion around this topic going on.

What is the command to access the temp sensors in a rpi4?

2021-01-17 Thread Gene Heskett
Greetings all; ISTR there is a "vcg*" sort of thing to read that stuff, but have lost it in the fog of time. 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