From: ppokorny@penguincomputing.com (Philip Pokorny)
To: lm-sensors@vger.kernel.org
Subject: LM75 detection reworked
Date: Thu, 19 May 2005 06:25:03 +0000 [thread overview]
Message-ID: <40E89F6E.3090303@penguincomputing.com> (raw)
In-Reply-To: <20040703105636.6ba726d6.khali@linux-fr.org>
Will the LM75 driver still work with the LM77? Is the only difference
the encoding of the temperature values?
If so, then it looked like a simple chip specific shift could be added
to the FROM_REG and TO_REG macros to make the same driver work for both
chips.
But I haven't looked into the code in detail or the datasheet for the
chips...
:v)
Jean Delvare wrote:
>Hi all,
>
>As a consequence of the discovery that the LM77 is not compatible with
>the LM75, I have been reworking the LM75 detection process in both
>sensors-detect (yesterday) and the lm75 driver (today). The main idea is
>to take benefits of the no register addresse which always return the
>last read value. Additionally, the driver now checks the unused bits (I
>was surprises that it wasn't done yet, since it's a common technique).
>Anyone with a good old LM75 chip, or supposedly compatible chip, or
>reputedly not compatible and possibly misdetected chip, is welcome to
>give it a try and report.
>
>If it works OK, I'll send a similar change to Greg for 2.6.
>
>
>
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 LM75 detection reworked Jean Delvare
2005-05-19 6:25 ` Philip Pokorny [this message]
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 ` Mark M. Hoffman
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=40E89F6E.3090303@penguincomputing.com \
--to=ppokorny@penguincomputing.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.