From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: Re: [lm-sensors] Conversion of ACPI fan+thermal to hwmon sysfs Date: Thu, 08 Mar 2007 12:13:51 +0100 Message-ID: <45EFEFEF.50802@hhs.nl> References: <20070224182024.GA23865@khazad-dum.debian.net> <20070226172716.b2e956b7.khali@linux-fr.org> <1172655111.11100.50.camel@localhost.localdomain> <20070228143433.GB30168@khazad-dum.debian.net> <1172797936.14827.33.camel@localhost.localdomain> <20070302121304.9db20131.khali@linux-fr.org> <1173346084.10227.136.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from frosty.hhs.nl ([145.52.2.15]:57195 "EHLO frosty.hhs.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353AbXCHLMn (ORCPT ); Thu, 8 Mar 2007 06:12:43 -0500 Received: from exim (helo=frosty) by frosty.hhs.nl with local-smtp (Exim 4.62) (envelope-from ) id 1HPGY3-0002hQ-Iv for linux-acpi@vger.kernel.org; Thu, 08 Mar 2007 12:12:39 +0100 In-Reply-To: <1173346084.10227.136.camel@localhost.localdomain> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Zhang Rui Cc: Jean Delvare , "linux-acpi@vger" , lenb@kernel.org, trenn@suse.de, Henrique de Moraes Holschuh , lm-sensors@lm-sensors.org Zhang Rui wrote: > On Fri, 2007-03-02 at 12:13 +0100, Jean Delvare wrote: >> My original idea was to simply add a read-only hwmon-like interface to >> the acpi fan and thermal modules. I didn't plan to replace the current >> interfaces offered by these modules, at least not directly. There must >> be many user-space tools and scripts relying on these at the moment, so >> we need a transition period anyway. >> > Agree. > I've already finished the patch to duplicate ACPI procfs function in > sysfs, i.e. export the similar information while in sysfs style. And I > think this can make it not so painful for use-space tools and scripts to > convert to sysfs interface. > Oh, a _read-only_ interface? Then, it will be much easier. > But what is it used for? > For libsensors using applications like sensors, gkrellm and ksensors to display temp and fan info? Regards, Hans From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.w.r.degoede@hhs.nl (Hans de Goede) Date: Thu, 08 Mar 2007 11:13:51 +0000 Subject: [lm-sensors] Conversion of ACPI fan+thermal to hwmon sysfs Message-Id: <45EFEFEF.50802@hhs.nl> List-Id: References: <20070224182024.GA23865@khazad-dum.debian.net> <20070226172716.b2e956b7.khali@linux-fr.org> <1172655111.11100.50.camel@localhost.localdomain> <20070228143433.GB30168@khazad-dum.debian.net> <1172797936.14827.33.camel@localhost.localdomain> <20070302121304.9db20131.khali@linux-fr.org> <1173346084.10227.136.camel@localhost.localdomain> In-Reply-To: <1173346084.10227.136.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Zhang Rui Cc: Jean Delvare , "linux-acpi@vger" , lenb@kernel.org, trenn@suse.de, Henrique de Moraes Holschuh , lm-sensors@lm-sensors.org Zhang Rui wrote: > On Fri, 2007-03-02 at 12:13 +0100, Jean Delvare wrote: >> My original idea was to simply add a read-only hwmon-like interface to >> the acpi fan and thermal modules. I didn't plan to replace the current >> interfaces offered by these modules, at least not directly. There must >> be many user-space tools and scripts relying on these at the moment, so >> we need a transition period anyway. >> > Agree. > I've already finished the patch to duplicate ACPI procfs function in > sysfs, i.e. export the similar information while in sysfs style. And I > think this can make it not so painful for use-space tools and scripts to > convert to sysfs interface. > Oh, a _read-only_ interface? Then, it will be much easier. > But what is it used for? > For libsensors using applications like sensors, gkrellm and ksensors to display temp and fan info? Regards, Hans