From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] THMC50 support in 2.6 kernel
Date: Thu, 22 Feb 2007 16:34:03 +0000 [thread overview]
Message-ID: <20070222173403.3f24c825.khali@linux-fr.org> (raw)
In-Reply-To: <45dd4ac33b0da@wp.pl>
Hi Krzysztof,
On Thu, 22 Feb 2007 08:48:19 +0100, Krzysztof Helt wrote:
> I tried to find the driver for old Compaq AP550 workstation
> (board name Compaq SW-400). According to the sensor-detect it was
> ADM1022 handled by the thmc50 driver.
>
> Unfortunately, there was no thmc50 driver in the 2.6.20 kernel tree.
Correct. I don't remember anyone being interested in porting this
driver to 2.6, or even using it there.
> I started porting the driver to the 2.6.20 kernel. Is it worth my
> time?
Sure, if you need it. This appears to be a very simple device, porting
the driver shouldn't be too hard. That being said, it appears that the
thmc50 driver isn't supported in sensors nor sensord. This suggests
that it wasn't widely used, so the original driver might not be
perfect. The libsensors support might also not be correct, if it was
never tested.
In fact, it might be quicker to start from a similar 2.6 driver (e.g.
adm1021 or lm90) and to just update the names and registers. But it's
up to you.
> Who is a receiver of the 2.6 kernel patches for ported sensors
> (this list or another list)?
This list is right for such patches. Make sure you read
Documentation/i2c/porting-clients and
Documentation/hwmon/sysfs-interface. Oh, and
Documentation/CodingStyle ;)
--
Jean Delvare
prev parent reply other threads:[~2007-02-22 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 7:48 [lm-sensors] THMC50 support in 2.6 kernel Krzysztof Helt
2007-02-22 16:34 ` Jean Delvare [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=20070222173403.3f24c825.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.