lkml.org 
[lkml]   [2016]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectlm-senser can't detect thermal on thermal_zone
Date

Hi Zhang, Eduardo

Our platform now is using thermal_zone, but lm-senser became no longer working.
It works on non thermal_zone. we can get current thermal from
/sys/class/thermal/thermal_zone0 on thermal_zone.
What does lm-senser is doing ? and why it doesn't work on thermal_zone ??

-- thermal_zone enable patch --

a8b805f3606f7af7f2b44763d3d6cf05f7c15afd
(ARM: dts: r8a7790: enable to use thermal-zone)

-- lm-senser error on thermal-zone ----

> sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

-- thermal-zone / non thermal-zone situation --

non thermal-zon
sensor command: OK
read from /sys/class/thermal/thermal_zone0 : OK

thermal-zon
sensor command: NG
read from /sys/class/thermal/thermal_zone0 : OK

\
 
 \ /
  Last update: 2016-05-12 10:41    [W:1.646 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site