Amit, Hello! Long time no seeing :-).
Sorry for the late answer.
On 01-10-2013 11:59, Amit Kucheria wrote:
On Tue, Oct 1, 2013 at 7:53 PM, Dave Pigott dave.pigott@linaro.org wrote:
On 1 Oct 2013, at 14:50, Sanjay Singh Rawat sanjay.rawat@linaro.org wrote:
On Tuesday 01 October 2013 06:45 PM, Gaurang Shastri wrote:
Hi,
Do you mean to say something like lm-sensor kind of utility?? May be from this package you will get to know what you want :-)
//Gaurang Shastri
On Tue, Oct 1, 2013 at 5:32 PM, Dave Pigott <dave.pigott@linaro.org mailto:dave.pigott@linaro.org> wrote:
Hi all,
Does anyone know how we can get the current temperature of the CPU on a beaglebone black?
default path for such hardware is at /sys/class/hwmon/hwmon* (mostly it will be associated with CPU only). You can trying cat temp*_input file at this path
Already tried looking in there, and various other potential places, but don't seem to have anything.
Hmm, the am335x SoC in the beaglebone seems to have a bandgap sensor to measure case temperature[1]. Is the bandgap driver enabled in the kernel? Adding Eduardo (maintainer) to shed some light on whether the bandgap driver in mainline already has am335x support.
The TI Bandgap IP driver is located under drivers/thermal/ti-soc-thermal/. There we have support for the Bandgap IPs present on OMAP4430/OMAP4460/OMAP4470/OMAP543[0|2] and DRA7 devices.
On the other hand, TI HW engineers discourage the usage of AM335x bandgap IP, due to variability of sensor accuracy, they are copied here. This is the main reason why I didn't upstream any code.
/Amit
[1] http://processors.wiki.ti.com/index.php/AM335x_Thermal_Considerations#Measur...