Can't read temperature

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

Can't read temperature

ソリューションへジャンプ
3,713件の閲覧回数
niklasmolin
Senior Contributor I

I'm compiling linux 4.14 for an i.mx6QP and when I'm trying to read the temperature in 

/sys/class/thermal/

there is nothing in that directory.

Is there a setting I'm missing or something I disabled in the devicetree?

 

ラベル(2)
0 件の賞賛
返信
1 解決策
3,433件の閲覧回数
niklasmolin
Senior Contributor I

Found the issue.

Made a mistake in the .dts file.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
3,434件の閲覧回数
niklasmolin
Senior Contributor I

Found the issue.

Made a mistake in the .dts file.

0 件の賞賛
返信
3,432件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Niklas

one can check sect.25.3.2 Menu Configuration Options attached Linux

Manual with full linux documentation in

https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.1.0_LINUX_DOCS 

and dts examples in linux/arch/arm/boot/dts/imx6qp.dtsi 

linux-imx.git - i.MX Linux Kernel 

linux-imx.git - i.MX Linux Kernel 

AN5215 MX6 Temperature Sensor describes temperature module

https://www.nxp.com/docs/en/application-note/AN5215.pdf 

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

0 件の賞賛
返信