All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Suggested additions to hwmon sysfs ABI
Date: Mon, 11 Jul 2011 14:32:54 +0000	[thread overview]
Message-ID: <20110711143254.GA18739@ericsson.com> (raw)
In-Reply-To: <20110709170759.GA5750@ericsson.com>

On Mon, Jul 11, 2011 at 08:42:45AM -0400, Guenter Roeck wrote:
> On Mon, Jul 11, 2011 at 04:53:09AM -0400, Jonathan Cameron wrote:
> [ ... ]
> > > 
> > > Based on this list, I suggest adding the following attributes to the ABI.
> > > 
> > > in[0-*]_input_lowest
> > > in[0-*]_input_highest
> > > in[0-*]_average
> > > in[0-*]_reset_history
> > > 
> > > curr[1-*]_input_lowest
> > > curr[1-*]_input_highest
> > > curr[1-*]_average
> > > curr[1-*]_reset_history
> > > 
> > > temp[1-*]_input_lowest
> > > temp[1-*]_input_highest
> > > temp[1-*]_average
> > > temp[1-*]_reset_history
> > > 
> > > It might also be necessary to modify the sensors command to support both instantaneous
> > > and average/peak power readings at the same time.
> > How are you going to do peak power?
> > 
> power already has 
> 
> power[1-*]_average
> power[1-*]_input_highest
> power[1-*]_input_lowest
> power[1-*]_reset_history
> 
> Also, turns out that the following attributes for current sensors already exist.
> 
> curr[1-*]_average
> curr[1-*]_lowest
> curr[1-*]_highest
> curr[1-*]_reset_history
> curr_reset_history
> 
Correction, the above existed for temperature sensors, and I added new attributes
for voltage and current.

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

      parent reply	other threads:[~2011-07-11 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-09 17:07 [lm-sensors] Suggested additions to hwmon sysfs ABI Guenter Roeck
2011-07-11  8:53 ` Jonathan Cameron
2011-07-11 12:42 ` Guenter Roeck
2011-07-11 14:32 ` Guenter Roeck [this message]

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=20110711143254.GA18739@ericsson.com \
    --to=guenter.roeck@ericsson.com \
    --cc=lm-sensors@vger.kernel.org \
    /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.