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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

956件の閲覧回数
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 返信

734件の閲覧回数
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 件の賞賛
返信