CPU Temperature

Started by Numtem, December 27, 2017, 02:07:20 PM

Previous topic - Next topic

Numtem

Hi

Can some one please help me to find a way to measure the CPU temperature?

I´m using Arch Linux and already try using lm_sensors open-source application but got the follow result:

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
FATAL: Module cpuid not found.
Failed to load module cpuid.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No


Someone was already able to monitor the CPU temperature?

JohnS

May well not be available with iMX233 board.

(Is there the hardware?  Is there the software for your OS?)

John

Numtem

What i can see is that i don´t even have the available folder

/sys/class/thermal/

Does the kernell update help in anything? (i´m using 2.6.35-8)

JohnS

Is there the hardware?  Is there the software?

I suspect not.  Do you know otherwise?

John

Numtem

Checking in the Olimex iMX233-Maxi datasheet i´m not able to see any reference to control/monitor cpu temperature.
What i ask is if going more deep then the SO we can see the temperature.

JohnS

The data sheet and schematic ARE the answer.  If there's no hardware there's not even any point looking at the software is there!

John

Kean

The iMX233 does indeed have an on-chip temperature sensor, accessible via the LRADC.
I seem to recall trying to read it but was not successful.  Not 100% sure as that was 3+ years ago.
I found this article at the time, which may be of help: http://www.ozbotz.org/chumby-adc/

lambda

Reading the die-temperature from the LRADC works since a long time, though maybe you only get raw values. IIRC newer kernels actually directly provide the temperature value, but not 100% sure about that.

If you insist on using lm_sensors then you would need to use the iio_hwmon (or was it hwmon_iio?) driver to bridge the gap.

This is talking about mainline kernel. No idea about the BSP kernel though ...