Is your feature request related to a problem? Please describe.
When running btop on a machine with a PowerPC CPU that has an internal thermal sensor, such as my iBook G3, it does not report the approximate CPU temperature that the sensor gives.
Describe the solution you'd like
Support reading /proc/cpuinfo to get the sensor value, as these machines don't export the sensor via the usual places (/sys/class/hwmon, /sys/class/thermal)
An example output:
[EDIT] - added output showing the typical directories where sensors would be, being empty.
root@debian:~# cat /proc/cpuinfo
processor : 0
cpu : 745/755
temperature : 26-28 C (uncalibrated)
clock : 600.000000MHz
revision : 51.17 (pvr 0008 3311)
bogomips : 49.92
timebase : 24960000
platform : PowerMac
model : PowerBook4,1
machine : PowerBook4,1
motherboard : PowerBook4,1 MacRISC2 MacRISC Power Macintosh
detected as : 257 (iBook 2)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld
Memory : 640 MB
root@debian:~# ls /sys/class/hwmon
root@debian:~# ls /sys/class/thermal
root@debian:~#
Describe alternatives you've considered
None
Additional context
btop on my iBook, over SSH for the purpose of a clean screenshot, not showing the CPU temperature, or CPU name for that matter.
This was tested on btop 1.3.0, the latest version packaged in the Debian PowerPC repositories at time of writing.
I would be open to provide any additional info, testing, or the like, on my hardware, if necessary.
Is your feature request related to a problem? Please describe. When running
btop
on a machine with a PowerPC CPU that has an internal thermal sensor, such as my iBook G3, it does not report the approximate CPU temperature that the sensor gives.Describe the solution you'd like Support reading
/proc/cpuinfo
to get the sensor value, as these machines don't export the sensor via the usual places (/sys/class/hwmon
,/sys/class/thermal
) An example output: [EDIT] - added output showing the typical directories where sensors would be, being empty.Describe alternatives you've considered None
Additional context btop on my iBook, over SSH for the purpose of a clean screenshot, not showing the CPU temperature, or CPU name for that matter. This was tested on btop 1.3.0, the latest version packaged in the Debian PowerPC repositories at time of writing.
I would be open to provide any additional info, testing, or the like, on my hardware, if necessary.