Unity of thermal measure in /sys/class/thermal/thermal_zone0/

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Unity of thermal measure in /sys/class/thermal/thermal_zone0/

953 次查看
lucasmahieu
Contributor III

hey,

I am using the imx6q Sabre lite board and i want to get the temperature of the cpus.

I know that i can get it in

/sys/class/thermal/thermal_zone0/ 

but i don't know the unity of the information there ....

The numbers i get look like '30000' to '60000', could this number be °C * 1000 ?

best reagards

0 项奖励
回复
1 回复

731 次查看
igorpadykov
NXP Employee
NXP Employee

Hi mahieu

you are right, unit is millidegree celsius as described on

https://www.kernel.org/doc/Documentation/thermal/sysfs-api.txt

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复