Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754474AbXICCCz (ORCPT ); Sun, 2 Sep 2007 22:02:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756085AbXICCCK (ORCPT ); Sun, 2 Sep 2007 22:02:10 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:42301 "EHLO out2.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755198AbXICCCH (ORCPT ); Sun, 2 Sep 2007 22:02:07 -0400 X-Sasl-enc: fuq6tU5e4RfOmmLp8om9Zb7crPh0R/rv644cw/tOTLth 1188784925 Date: Sun, 2 Sep 2007 23:02:01 -0300 From: Henrique de Moraes Holschuh To: Jean Delvare Cc: "Mark M. Hoffman" , "Darrick J. Wong" , linux-kernel@vger.kernel.org, Pavel Machek , lm-sensors@lm-sensors.org Subject: Re: [lm-sensors] [PATCH] hwmon: Add power meters to Documentation/hwmon/sysfs-interface Message-ID: <20070903020200.GA8948@khazad-dum.debian.net> References: <20070827211446.GG32667@tree.beaverton.ibm.com> <20070828015029.GA10107@khazad-dum.debian.net> <20070828131942.18449886@hyperion.delvare> <20070828164440.GL32667@tree.beaverton.ibm.com> <20070901171048.GA3883@ucw.cz> <41840b750709011105s6c434217t50d965a0b17df643@mail.gmail.com> <20070901194417.GA24897@khazad-dum.debian.net> <20070902213837.7293d6fa@hyperion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070902213837.7293d6fa@hyperion.delvare> X-GPG-Fingerprint: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1251 Lines: 31 On Sun, 02 Sep 2007, Jean Delvare wrote: > On Sat, 1 Sep 2007 16:44:17 -0300, Henrique de Moraes Holschuh wrote: > > On Sat, 01 Sep 2007, Shem Multinymous wrote: > > > > Should we add power?_10sec_avg_input? IIRC thinkpads export that, > > > > too. > > > > I'd say it is enough to know it is an average, you don't need to specify HOW > > it is averaged. > > Agreed. > > > But there is a real need to export both instantaneous and averaged values in > > power supplies/power sources, so we should have a standard way to do so in > > hwmon, and power_supply class should use it (or the opposite, it doesn't > > matter, as long as everyone does it the same way). > > I guess power[1-*]_average would be OK? AFAIK, yes. It is probably not 100% in sync with the power supply class, though. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/