lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1463100287.15071.8.camel@rzhang1-mobl4>
Date:	Fri, 13 May 2016 00:44:43 +0000
From:	"Zhang, Rui" <rui.zhang@...el.com>
To:	"kuninori.morimoto.gx@...esas.com" <kuninori.morimoto.gx@...esas.com>
CC:	"edubezval@...il.com" <edubezval@...il.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-renesas-soc@...r.kernel.org" 
	<linux-renesas-soc@...r.kernel.org>,
	"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
	"yoshihiro.shimoda.uh@...esas.com" <yoshihiro.shimoda.uh@...esas.com>,
	"cm-hiep@...so.co.jp" <cm-hiep@...so.co.jp>
Subject: Re: lm-senser can't detect thermal on thermal_zone

On Thu, 2016-05-12 at 08:09 +0000, Kuninori Morimoto wrote:
> 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

config THERMAL_HWMON
        bool
        prompt "Expose thermal sensors as hwmon device"
        depends on HWMON=y || HWMON=THERMAL
        default y

please check if the thermal subsystem is built in, while hwmon subsystem
is built as module.
you should either set CONFIG_HWMON=y, or set both CONFIG_HWMON and
CONFIG_THERMAL as module.

thanks,
rui

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ