From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] lm-sensors chip support
Date: Tue, 26 May 2009 09:09:10 +0000 [thread overview]
Message-ID: <4A1BB1B6.4060905@hhs.nl> (raw)
In-Reply-To: <0331509C72A4CE4F925973DC8EC98E1B0165EC68@AMSACEX2.americas.ad.flextronics.com>
On 05/25/2009 05:17 PM, Rob Bloom wrote:
> Hi,
>
> I'm in a project which is looking at using lm-sensors to monitor the
> following chips on various circuit boards:
>
> - ADM1032ARMZ (temp sensor)
> - MAX6639 (temp sensor)
> - POWR1014A (power monitor)
> - SA56004EDP (temp sensor)
>
> I cross-checked these against the lm-sensors list of supported chips
> (http://www.lm-sensors.org/wiki/Devices) and find that only the 1st one
> is supported.
>
> Do you know if there are any plans to develop support for the latter 3
> in the list?
If it is not listed on the wiki then usually no drivers are being
developed for it.
> If there are no plans and no compatibilities, is there documentation you
> can point me to that describes a framework for adding a driver to be
> supported by lm-sensors. I'd like to consider this if this is not
> difficult.
>
Writing new hwmon drivers usually is pretty straight forward. I would start
with the 2 temp drivers which generally speaking are easy. What you can do
is get an i2c-tiny-usb:
http://www.harbaum.org/till/i2c_tiny_usb/
Which is a small pcb with a ųC on it which plugs into usb on one side and
talks i2c on the other, get a few samples and connect those to the i2c bus,
and then start writing your driver.
A good example of a simple temp only hwmon driver for an i2c temp monitor
IC is the new driver for TI tmp401 / tmp411 IC's which you can find here:
http://www.kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-hwmon/
> As I understand it, there is no chip-specific code in lm-sensors; to add
> support, one must add driver code into the kernel itself (ie. no code is
> added to the lm-sensors domain). Is this correct?
Correct.
> Is there an example
> of a driver that was supported recently that I can use as an
> example/framework?
>
See above. Don't hesitate to ask any more questions if you have any I'm
always happy to help get people up to speed with hwmon driver development.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2009-05-26 9:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-25 15:17 [lm-sensors] lm-sensors chip support Rob Bloom
2009-05-25 15:58 ` Jonathan Cameron
2009-05-25 16:09 ` Mark Brown
2009-05-26 9:09 ` Hans de Goede [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=4A1BB1B6.4060905@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--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.