All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Need some guidance on adhering to the sysfs
Date: Tue, 24 Apr 2007 18:26:58 +0000	[thread overview]
Message-ID: <20070424202658.16587ae6@hyperion.delvare> (raw)
In-Reply-To: <22E26940476D1E48AA6F292B5316C9C33804@bes1.peakin.com>

Hi Juerg,

On Sun, 22 Apr 2007 13:58:56 -0700, Juerg Haefliger wrote:
> On 4/22/07, Juerg Haefliger <juergh@gmail.com> wrote:
> > On 4/22/07, Hans de Goede <j.w.r.degoede@hhs.nl> wrote:
> > > Juerg Haefliger wrote:
> > > > That's not going to work. I can't use temp[1-*]_auto_point[1-*]_temp
> > > > because there are multiple sets of thresholds for a single temp input
> > > > and I can't use pwm[1-*]_auto_point[1-*]_temp either because then the
> > > > "hottest of x,y,z" doesn't work.
> > >
> > > Can't you use pwm[1-*]_auto_channels_temp for that?
> >
> > Yes, I do. OK, I wasn't clear enough in my previous post. The problem
> > is the thermal thresholds. How would you implement the following
> > example with the current sysfs standard?
> >
> > temp3 maps to zone2
> > temp3 maps to zone3
> > zone2 has min and max temp thresholds
> > zone3 has min and max temp thresholds
> > pwm2 is controlled by zone2
> > pwm3 is controlled by hottest of zone2 or zone3
> >
> > See what the problem is? There are 2 sets of thermal thresholds for
> > pwm3 and 2 sets for temp3.
> 
> OK just realized that this is a silly example :-) Let's try again:
> 
> temp1 maps to zone1
> temp3 maps to zone2
> temp3 maps to zone3
> zone1 has min and max temp thresholds
> zone2 has min and max temp thresholds
> zone3 has min and max temp thresholds
> pwm1 is controlled by zone1
> pwm2 is controlled by zone2
> pwm3 is controlled by hottest of zone1 or zone3
> 
> Not sure if that makes more sense but the DME1737 can certainly be
> programmed that way...

If the limits are zone attributes and all sorts of mapping are
possible, then indeed our current interface doesn't support that.

-- 
Jean Delvare

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

  parent reply	other threads:[~2007-04-24 18:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 16:50 [lm-sensors] Need some guidance on adhering to the sysfs standards George T. Joseph (development)
2007-04-19 14:47 ` [lm-sensors] Need some guidance on adhering to the sysfs Jean Delvare
2007-04-19 17:13 ` George T. Joseph (development)
2007-04-19 19:04 ` Juerg Haefliger
2007-04-19 23:30 ` George T. Joseph (development)
2007-04-22 15:29 ` Jean Delvare
2007-04-22 17:12 ` Mark M. Hoffman
2007-04-22 19:07 ` Jean Delvare
2007-04-22 19:21 ` Juerg Haefliger
2007-04-22 20:41 ` Juerg Haefliger
2007-04-22 20:54 ` Juerg Haefliger
2007-04-22 20:58 ` Juerg Haefliger
2007-04-23  7:47 ` Hans de Goede
2007-04-24 18:26 ` Jean Delvare [this message]
2007-04-24 19:14 ` Jean Delvare
2007-04-24 19:31 ` Juerg Haefliger

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=20070424202658.16587ae6@hyperion.delvare \
    --to=khali@linux-fr.org \
    --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.