Discussion:
monitor pandaboard temperature
kle8309-/
2012-04-01 05:10:14 UTC
Permalink
Is it possible to check the temperature of pandaboard using a
commandline?
I have tried to install lm-sensors but it couldn't locate any sensors
on board.
pavel sadowsky
2012-04-02 20:10:24 UTC
Permalink
There is a temp sensor inside the OMAP chip. You can read it via:

cat /sys/bus/platform/devices/temp_sensor_hwmon.0/temp1_input

You get, for example, 50400 which corresponds to 50.4 degrees
centigrade I guess.
Post by kle8309-/
Is it possible to check the temperature of pandaboard using a
commandline?
I have tried to install lm-sensors but it couldn't locate any sensors
on board.
Kelvin Le
2012-04-03 06:08:41 UTC
Permalink
Thanks
Post by pavel sadowsky
cat /sys/bus/platform/devices/temp_sensor_hwmon.0/temp1_input
You get, for example, 50400 which corresponds to 50.4 degrees
centigrade I guess.
Post by kle8309-/
Is it possible to check the temperature of pandaboard using a
commandline?
I have tried to install lm-sensors but it couldn't locate any sensors
on board.
Kelvin Le
2012-04-03 06:15:16 UTC
Permalink
Pavel,

I don't have temp_sensor_hwmon.0 directory
I'm running on ubuntu server 11.1

Kelvin
Post by pavel sadowsky
cat /sys/bus/platform/devices/temp_sensor_hwmon.0/temp1_input
You get, for example, 50400 which corresponds to 50.4 degrees
centigrade I guess.
Post by kle8309-/
Is it possible to check the temperature of pandaboard using a
commandline?
I have tried to install lm-sensors but it couldn't locate any sensors
on board.
Dmitry Dudkin
2012-04-03 11:41:33 UTC
Permalink
cat /sys/class/hwmon/hwmon0/device/temp1_input
Giovanni
2012-04-03 12:39:41 UTC
Permalink
I am using this program:

http://hardwarebug.org/files/omap4_temp.c

It works on my panda (slackware).

Instead I did not succeed to use the command:

cat /sys/class/hwmon/hwmon0/device/temp1_input

the directory /sys/class/hwmon/ is empty.

regards
giovanni
Post by Dmitry Dudkin
cat /sys/class/hwmon/hwmon0/device/temp1_input
Detlef
2012-04-03 14:31:01 UTC
Permalink
Hello, I'm in the same boat. I have a PandaBoard Rev. A4. I tried on
Ubuntu Server 12.04 and 11.10. On 11.10 I even installed the TI
kernel.

But always the same: Both directories/files just doesn't exist!
For the first it ends on .../devices, no temp...whatever.
For the second it ends on .../hwmon, there is nothing in that
directory.

So could please someone explain how to start the correct sensor driver
(is it tmp401?) or what needs to do to get the temp sensor running on
Ubuntu Server?

best regards,
Detlef
Post by pavel sadowsky
cat /sys/bus/platform/devices/temp_sensor_hwmon.0/temp1_input
cat /sys/class/hwmon/hwmon0/device/temp1_input
pavel sadowsky
2012-04-03 21:40:05 UTC
Permalink
I forgot to mention that I have the Pandaboard *ES*. Maybe it is
different regarding the temperature sensor? Or it gets initialised in
a different way by the kernel. I tried both 11.10 and 12.04 and did
not load any additional driver.
Måns Rullgård
2012-04-03 21:47:59 UTC
Permalink
Post by pavel sadowsky
I forgot to mention that I have the Pandaboard *ES*. Maybe it is
different regarding the temperature sensor? Or it gets initialised in
a different way by the kernel. I tried both 11.10 and 12.04 and did
not load any additional driver.
There does seem to be some difference between 4430 and 4460. I haven't
checked the details.
--
Måns Rullgård
mans-***@public.gmane.org
deje63-gM/Ye1E23mwN+
2012-04-05 17:19:13 UTC
Permalink
Yes, there are differences between 4430 and 4460.

So the question are:
Does it work on 4460 (PandaBoard ES) for now only?
Are there any plans to support 4430 (PandaBoard w/o ES) also?

best reagards,
DeJe
Post by Måns Rullgård
There does seem to be some difference between 4430 and 4460. I haven't
Sebastien Jan
2012-04-10 11:48:44 UTC
Permalink
Post by deje63-gM/Ye1E23mwN+
Yes, there are differences between 4430 and 4460.
Does it work on 4460 (PandaBoard ES) for now only?
Yes, thermal management is implemented in Linaro kernel for 4460. The
thermal sensor can be read through sysfs.
Post by deje63-gM/Ye1E23mwN+
Are there any plans to support 4430 (PandaBoard w/o ES) also?
No. 4430 sensor cannot efficiently be used for that purpose, and we have
not seen the need for some thermal management on this device.
sl0pe
2012-04-10 20:11:20 UTC
Permalink
Hey,

check the discussion at
http://groups.google.com/group/pandaboard/browse_thread/thread/b87aa302a38b8678/e8ead4b13810be29?lnk=gst&q=temp

there is a file linked ("omap4_temp.c") that you can compile to read
the temp. sensor.
my 4430 currently runs at 42 degree celsius

regards,
klaas
Post by kle8309-/
Is it possible to check the temperature of pandaboard using a
commandline?
I have tried to install lm-sensors but it couldn't locate any sensors
on board.
Vladimir Pantelic
2012-04-10 21:03:38 UTC
Permalink
Post by sl0pe
Hey,
check the discussion at
http://groups.google.com/group/pandaboard/browse_thread/thread/b87aa302a38b8678/e8ead4b13810be29?lnk=gst&q=temp
there is a file linked ("omap4_temp.c") that you can compile to read
the temp. sensor.
my 4430 currently runs at 42 degree celsius
on the 4430, the temperature sensor is too far away from the
CPU hot spot, so the value you are measuring will be too low,
and you will miss temperature spikes under load.
Nishanth Menon
2015-05-11 01:40:43 UTC
Permalink
Post by sl0pe
Post by sl0pe
Hey,
check the discussion at
http://groups.google.com/group/pandaboard/browse_thread/thread/b87aa302a38b8678/
e8ead4b13810be29?lnk=gst&q=temp
Post by sl0pe
there is a file linked ("omap4_temp.c") that you can compile to read
the temp. sensor.
my 4430 currently runs at 42 degree celsius
regards,
klaas
Post by kle8309-/
Is it possible to check the temperature of pandaboard using a
commandline?
I have tried to install lm-sensors but it couldn't locate any sensors
on board.
hi sl0pe,
I am trying to read the temperature of my pandaboard 4430.
How do i go about this?
I am a beginner any help would be greatly appreciated!
https://github.com/omapconf/omapconf might help you here.
--
Regards,
Nishanth Menon
--
You received this message because you are subscribed to the Google Groups "pandaboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandaboard+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...