From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] powerX_alarm sysfs attribute
Date: Fri, 10 Dec 2010 16:56:25 +0000 [thread overview]
Message-ID: <20101210165625.GA12316@ericsson.com> (raw)
In-Reply-To: <20101209165858.GA521@ericsson.com>
On Fri, Dec 10, 2010 at 11:30:25AM -0500, Jean Delvare wrote:
> On Fri, 10 Dec 2010 08:18:30 -0800, Guenter Roeck wrote:
> > On Fri, Dec 10, 2010 at 11:00:23AM -0500, Jean Delvare wrote:
> > > Thanks for clarifying. I didn't read the datasheet, and what Ira wrote
> > > confused me. If the alarm is related to the value of in2_input, then of
> > > course in2_alarm, in2_min_alarm (assuming in2_min is present) or
> > > in2_max_alarm (assuming in2_max is present) makes sense.
> >
> > Is that an implied requirement for supporting min_alarm ? Reason for asking is that many chips
> > have limit alarms but no matching (readable/settable) limit values. ltc4215, ltc4245, and ltc4261
> > are examples. Alarm status is determined by a voltage on a pin exceeding a hardcoded limit,
> > and the actual voltage on a pin is determined by external resistor arrays.
> > The ltc4245 and ltc4261 drivers already provide min_alarm and/or max_alarm but not min and max.
>
> I had our recent discussion about the "sensors" code in mind. I seem to
> recall that the code currently ignores limit-specific alarms if there
> is no matching limit.
>
> That being said, if some chip drivers really have to do that, then
> probably we'll have to adjust the "sensors" code, rather than the other
> way around.
>
Makes sense. I'll look into it.
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2010-12-10 16:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 16:58 [lm-sensors] powerX_alarm sysfs attribute Guenter Roeck
2010-12-09 21:26 ` Ira W. Snyder
2010-12-09 21:48 ` Guenter Roeck
2010-12-10 0:07 ` Ira W. Snyder
2010-12-10 14:36 ` Jean Delvare
2010-12-10 14:37 ` Jean Delvare
2010-12-10 15:12 ` Guenter Roeck
2010-12-10 15:15 ` Guenter Roeck
2010-12-10 16:00 ` Jean Delvare
2010-12-10 16:18 ` Guenter Roeck
2010-12-10 16:30 ` Jean Delvare
2010-12-10 16:56 ` Guenter Roeck [this message]
2010-12-10 19:07 ` Guenter Roeck
2010-12-12 17:10 ` Jean Delvare
2010-12-12 19:49 ` Guenter Roeck
2010-12-12 20:17 ` Jean Delvare
2010-12-12 21:04 ` Guenter Roeck
2010-12-12 21:20 ` Jean Delvare
2010-12-12 23:11 ` Guenter Roeck
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=20101210165625.GA12316@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.