All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Zhang Rui <rui.zhang@intel.com>,
	Linux-Kernel <linux-kernel@vger.kernel.org>,
	Eduardo Valentin <edubezval@gmail.com>,
	<linux-pm@vger.kernel.org>
Cc: Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Hiep Cao Minh <cm-hiep@jinso.co.jp>,
	shimoda <yoshihiro.shimoda.uh@renesas.com>
Subject: lm-senser can't detect thermal on thermal_zone
Date: Thu, 12 May 2016 08:09:13 +0000	[thread overview]
Message-ID: <87posrn1oj.wl%kuninori.morimoto.gx@renesas.com> (raw)


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

WARNING: multiple messages have this Message-ID (diff)
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Zhang Rui <rui.zhang@intel.com>,
	Linux-Kernel <linux-kernel@vger.kernel.org>,
	Eduardo Valentin <edubezval@gmail.com>,
	linux-pm@vger.kernel.org
Cc: Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Hiep Cao Minh <cm-hiep@jinso.co.jp>,
	shimoda <yoshihiro.shimoda.uh@renesas.com>
Subject: lm-senser can't detect thermal on thermal_zone
Date: Thu, 12 May 2016 08:09:13 +0000	[thread overview]
Message-ID: <87posrn1oj.wl%kuninori.morimoto.gx@renesas.com> (raw)


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

             reply	other threads:[~2016-05-12  8:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12  8:09 Kuninori Morimoto [this message]
2016-05-12  8:09 ` lm-senser can't detect thermal on thermal_zone Kuninori Morimoto
2016-05-13  0:44 ` Zhang, Rui
2016-05-13  0:44   ` Zhang, Rui
2016-05-13  2:04   ` Kuninori Morimoto
2016-05-13  2:04     ` Kuninori Morimoto
2016-05-30  6:28     ` Kuninori Morimoto
2016-05-30  6:28       ` Kuninori Morimoto
2016-06-09  3:07       ` Kuninori Morimoto
2016-06-09  3:07         ` Kuninori Morimoto
2016-06-14  6:32         ` Zhang Rui
2016-06-14  6:32           ` Zhang Rui
2016-06-14  7:03           ` Kuninori Morimoto
2016-06-14  7:03             ` Kuninori Morimoto
2016-06-14 13:24             ` Zhang Rui
2016-06-14 13:24               ` Zhang Rui
2016-06-16  0:23               ` Kuninori Morimoto
2016-06-16  0:23                 ` Kuninori Morimoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87posrn1oj.wl%kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --cc=cm-hiep@jinso.co.jp \
    --cc=edubezval@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=yoshihiro.shimoda.uh@renesas.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.