From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752122AbZHHPZh (ORCPT ); Sat, 8 Aug 2009 11:25:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752054AbZHHPZg (ORCPT ); Sat, 8 Aug 2009 11:25:36 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:42798 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbZHHPZg (ORCPT ); Sat, 8 Aug 2009 11:25:36 -0400 Date: Fri, 7 Aug 2009 20:09:06 +0200 From: Pavel Machek To: "Darrick J. Wong" Cc: Len Brown , Andrew Morton , linux-kernel , lm-sensors , linux-acpi , Zhang Rui Subject: Re: [PATCH 1/2] hwmon: Enhance the sysfs API for power meters. Message-ID: <20090807180906.GD1728@ucw.cz> References: <20090725004322.20709.96804.stgit@elm3a70.beaverton.ibm.com> <20090725004328.20709.57712.stgit@elm3a70.beaverton.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090725004328.20709.57712.stgit@elm3a70.beaverton.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > @@ -365,6 +373,16 @@ power[1-*]_average_lowest Historical average minimum power use > Unit: microWatt > RO > > +power[1-*]_average_max A notification is sent when power use > + rises above this value. > + Unit: microWatt > + RW > + How is the notification sent? > +power[1-*]_average_min A notification is sent when power use > + sinks below this value. > + Unit: microWatt > + RW And what is this good for? Will it wake from sleep? Will it wake from C3? ...seems like good way to prevent deep sleep states. > +power[1-*]_cap If power use rises above this limit, the > + system should take action to reduce > power use. System as in 'hw'? Or who? And how? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html