Temperature sensor no activated by Conky in Fossapup96-CE

Post here if you feel others can duplicate your so discovered "bug"

Moderator: Forum moderators

Post Reply
User avatar
PipzDex
Posts: 185
Joined: Sun Jul 12, 2020 11:16 pm
Location: Mexico
Has thanked: 59 times
Been thanked: 77 times

Temperature sensor no activated by Conky in Fossapup96-CE

Post 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 569 times
Screenshot.jpg
Screenshot.jpg (63.19 KiB) Viewed 569 times

Pentium (R) 2.20GHz I RAM: 8.0 GB I F96-CE_5 I Kernel 6.6.8-64oz-ao I Glibc: 2.31 I 1600x900 Px

My Puppy Stuff and more

ozsouth
Posts: 1551
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 238 times
Been thanked: 711 times

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

Post 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.

User avatar
PipzDex
Posts: 185
Joined: Sun Jul 12, 2020 11:16 pm
Location: Mexico
Has thanked: 59 times
Been thanked: 77 times

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

Post 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 409 times

Pentium (R) 2.20GHz I RAM: 8.0 GB I F96-CE_5 I Kernel 6.6.8-64oz-ao I Glibc: 2.31 I 1600x900 Px

My Puppy Stuff and more

Post Reply

Return to “Bug Reports”