Re: CPU temperature thermal

Stefan Gehn <[email protected]> Sat, 02 Oct 2010 15:38:41 +0200
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
On 09/30/2010 11:46 PM, Dennis Nezic wrote:
> On Thu, 30 Sep 2010 10:07:19 -0400, Dennis Nezic wrote:
>> With 2.6.36-rc6, my gkrellm-2.3.4 can't read my CPU temperature
>> at /sys/class/thermal/thermal_zone0/temp (which exists). Pour quoi?
>
> It looks like src/sysdeps/linux.c doesn't support the
> new /sys/class/thermal interface[1] :P. Yet? :)

GKrellM uses
- /proc/acpi/thermal_zone
- /proc/acpi/thermal
- /proc/sys/dev/sensors
- /sys/bus/i2c/devices
- /sys/class/hwmon

I really don't get it why such an important part of a system can change 
its public API that often (read: Linux is a mess). Furthermore I don't 
have any thermal_zone below /sys/class/thermal. Not a very useful 
interface IMHO if temps are only available through /sys/class/hwmon/ anyway.

Last but not least I'd recommend using libsensors support in GKrellM 
(unfortunately Debian disabled libsensors-usage in its gkrellm-package) 
instead of relying on any of the above directories.

>
> [1] fil:///usr/src/linux/Documentation/thermal/sysfs-api.txt

File not found.

______________________________________________
Gkrellm mailing list
[email protected]
Read archives-join-leave-set RSS feed:
http://archive.lists.netservicesgroup.com
This service is provided by The Network Services Group:
http://www.netservicesgroup.com