On 25-02-2013, Mon [22:03:28], Kevin Oberman wrote:
As others have noted, the value you are seeing is 100C, not 55C. So I have
no idea what is going on.
Actually you were right from the beginning.
I managed to get the correct value this way, after reading some wiki :)
float c;
On Sun, Feb 24, 2013 at 5:40 PM, Dmitry Sarkisov ait.ml...@gmail.comwrote:
Hello,
I'm trying to poll cpu temperature with the following code:
#define TEMP_MIB hw.acpi.thermal.tz0.temperature
size_t len;
int t;
len = sizeof(t);
bzero(temp, len);
As Kevin Oberman wrote:
Values I'm geting are like this:
3732
while actual is:
sysctl -n hw.acpi.thermal.tz0.temperature
55.0C
ACPI does not report temperature in degrees Celsius, but in tenths
of a degree Kelvin. So both agree.
I wouldn't call it an agreement if one reports