From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: lm77 on national sc1100
Date: Thu, 19 May 2005 06:25:04 +0000 [thread overview]
Message-ID: <20040705192241.7ca6ad78.khali@linux-fr.org> (raw)
In-Reply-To: <1088690691.2862.25.camel@null>
> Well, I read 0 (that was 32 degrees), heated up the sensor with a
> lighter and then read 6, 7 and 0, one straightaway after the other. 6
> and 7 returned 32, 0 returned 40 (and after that, 6 and 7 returned
> 40). Of course this is by no means a scientific proof, but should be
> enough I assume.
Certainly, I'm myself completely convinced ;)
> Okay, I concede that consistency is more important than my nitpicking
> regarding definitions. But I cannot resist one more comment :-) Here
> you are saying that hysteresis should be an absolute value (regarding
> its content):
>
> > So, absolute limits for everyone, including hysteresis limits.
>
> Whereas here:
>
> > Setting the critical limit should preserve (from the user's absolute
> > point of view) the associated hysteresis limit (i.e. change the
> > hysteresis register value).
>
> you are saying that hysteresis should be relative (regarding its
> nature), since it's not the absolute value of it that should be
> preserved when a limit is modified, but its difference to them.
> I do not see how this makes more sense than storing the hysteresis as
> a relative value (since that is its nature), but I stop arguing here
> and accept the fact that this has already been decided, as I agree
> that consistency is the most important factor.
This simply proves that I misexpressed myself (though reading myself
again I find it clear ;)). When I say "setting the critical limit should
preserve the associated hysteresis limit", I mean that the user should
not see it change, which precisely means that the register value should
be updated. As a concrete example, let's consider that the critical
limit is set to 80 degree and the hysteresis register holds 5. From the
user's point of view, we have temp_crit€ and temp_crit_hystu. Now if
the user asks for temp_crit…, it should *not* seem to affect
temp_crit_hyst which should stay at 75, which means that the driver
would have to both write 85 to crit register and 10 to hyst register. Is
it clearer now?
Anyway I'm almost sure we agree and it was just a matter of expressing
the idea.
Thanks,
--
Jean Delvare
http://khali.linux-fr.org/
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 lm77 on national sc1100 Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare [this message]
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Andras BALI
2005-05-19 6:25 ` Jean Delvare
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=20040705192241.7ca6ad78.khali@linux-fr.org \
--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.