Welcome, Guest

Author Topic: CPU Temperature  (Read 985 times)

Numtem

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
CPU Temperature
« on: December 27, 2017, 02:07:20 PM »
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

  • Hero Member
  • *****
  • Posts: 1684
  • Karma: +33/-45
Re: CPU Temperature
« Reply #1 on: December 27, 2017, 08:01:46 PM »
May well not be available with iMX233 board.

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

John

Numtem

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
Re: CPU Temperature
« Reply #2 on: December 28, 2017, 11:52:11 AM »
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

  • Hero Member
  • *****
  • Posts: 1684
  • Karma: +33/-45
Re: CPU Temperature
« Reply #3 on: December 28, 2017, 04:03:04 PM »
Is there the hardware?  Is there the software?

I suspect not.  Do you know otherwise?

John

Numtem

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
Re: CPU Temperature
« Reply #4 on: December 28, 2017, 04:50:56 PM »
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

  • Hero Member
  • *****
  • Posts: 1684
  • Karma: +33/-45
Re: CPU Temperature
« Reply #5 on: December 28, 2017, 06:14:31 PM »
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

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +3/-0
Re: CPU Temperature
« Reply #6 on: December 28, 2017, 06:53:39 PM »
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

  • Full Member
  • ***
  • Posts: 153
  • Karma: +12/-0
    • Support my work
Re: CPU Temperature
« Reply #7 on: January 02, 2018, 09:10:02 PM »
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 ...