Page 1 of 1

Temperature sensor no activated by Conky in Fossapup96-CE

Posted: Mon Jun 03, 2024 2:52 am
by PipzDex

hello forum
I share with you an almost unimportant detail...
I discovered this detail while working with conky
To show the temperature on the screen I normally used the "acpitemp" command which works without problems all the time...
But, when trying to use the other command lines that are used for the same effect, they simply do not work, it does not show information, etc etc...
I came to think that it was my computer that did not have the capacity to correctly execute said commands....
but it's not like that, and that's how I discovered that it wasn't the laptop I have...
Today on this occasion "playing" with the internal code of pupsysinfo with the intention of learning more and when I requested it to show me the temperature of my computer, conky began to correctly display the commands that were previously simply not displayed... one of them It was "hwmon 0 temp1" and another slightly longer one "${execi 10 sensors | grep 'Core 0' | awk {'print $3'}}"
I had already shared these commands in another post so I won't go into detail about this...

The DETAIL was when I restarted the equipment, Conky did not show the temperature, so I ran pupsysinfo, to show me the information from the sensors and automatically Conky returned to correctly display the temperature...

That's what I discovered by accident.

I hope that if this were a bug it could be solved or in another case it is my computer that does not execute some commands correctly...
I add this screenshots to exemplify the process

Cheers!! :thumbup2:

Screenshot(1).jpg
Screenshot(1).jpg (18.5 KiB) Viewed 570 times
Screenshot.jpg
Screenshot.jpg (63.19 KiB) Viewed 570 times

Re: Temperature sensor no activated by Conky in Fossapup96-CE

Posted: Mon Jun 03, 2024 8:33 am
by ozsouth

@PipzDex - unfortunately, different pups and different PCs use different registers.
The pmcputemp 0.9g update I made (in Utilities forum section) tries 7 drivers, then checks 8 /sys/class/hwmon folders & 4 temp files. I had a PC that used coretemp, hwmon4 & temp2_input, so needed to run a script to check many locations to find it.


Re: Temperature sensor no activated by Conky in Fossapup96-CE

Posted: Mon Jun 10, 2024 10:01 am
by PipzDex
ozsouth wrote: Mon Jun 03, 2024 8:33 am

@PipzDex - unfortunately, different pups and different PCs use different registers.
The pmcputemp 0.9g update I made (in Utilities forum section) tries 7 drivers, then checks 8 /sys/class/hwmon folders & 4 temp files. I had a PC that used coretemp, hwmon4 & temp2_input, so needed to run a script to check many locations to find it.

Hi @ozsouth

Thanks for the info!

After checking i found a "solution"

I just added a line to my conky start to load the corresponding module and it works perfectly

Add "exec modprobe coretemp" and that was enough for my core temperature to be displayed in my conky
Thank you very much for your comment

Cheers! :thumbup2:

My Conky

Screenshot.jpg
Screenshot.jpg (68.56 KiB) Viewed 410 times