All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Support for SMBus based GMT G781 and G7811 temperature sensors.
Date: Mon, 23 Jan 2012 09:11:07 +0000	[thread overview]
Message-ID: <20120123101107.4ba687eb@endymion.delvare> (raw)
In-Reply-To: <EC359208AB4F4249B8EA5A0018A7B178@ISLA>

On Mon, 23 Jan 2012 09:59:43 +0200, Mike Gorchak wrote:
> Hello, Jean!
> 
>  GR>>> never mind; no idea if G7811 ever really existed. I found version 1.3
>  GR>>> of the datasheet which describes both G781 and G781-1. Can you test
>  GR>>> the driver and sensors-detect if I send you a pointer to the code ?
>  ??>> It seems that this patch is ok, except for one thing.
>  ??>> Let me explain what I did. I added support for ACPI SMBus connected to
>  ??>> Embedded Controller to the lm-sensors (for a netbook without proper
>  ??>> ACPI support). There are two G781 sensors connected to this bus, one
>  ??>> to the address 0x4C and one to the 0x4D. Both sensors have 0x01 as
>  ??>> device id. But patch assumes that only G781-1 can be connected to the
>  ??>> 0x4D address.
>  JD> If they followed a naming logic similar to National Semiconductor, G781
>  JD> will have address 0x4C and G781-1 will have address 0x4D. They are
>  JD> basically the exact same chip except for the address, so the driver
>  JD> doesn't even need to know, other than the fact that both addresses 0x4C
>  JD> and 0x4D are possible.
> 
> Now driver checks only for 0x03 device id at address 0x4D, which is not 
> correct. 0x01 device id can be present at 0x4D address too. That's all I'd 
> like to say :)

Yes, yes, I agree and I'm sure Guenter does as well. Just give me a
moment to review his two patches, and then wait for him to wake up, get
dressed, have coffee or whatever, and resubmit ;)

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

      parent reply	other threads:[~2012-01-23  9:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-22 18:43 [lm-sensors] Support for SMBus based GMT G781 and G7811 temperature sensors Mike Gorchak
2012-01-22 21:11 ` Guenter Roeck
2012-01-22 23:02 ` Guenter Roeck
2012-01-23  6:02 ` Mike Gorchak
2012-01-23  7:06 ` Guenter Roeck
2012-01-23  7:13 ` Mike Gorchak
2012-01-23  7:16 ` Mike Gorchak
2012-01-23  7:55 ` Jean Delvare
2012-01-23  7:59 ` Mike Gorchak
2012-01-23  8:36 ` Jean Delvare
2012-01-23  9:11 ` 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=20120123101107.4ba687eb@endymion.delvare \
    --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.