public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: Phillip Susi <psusi-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Identifying i2c devices on Asus P8P67 sandybridge motherboard
Date: Wed, 26 Jan 2011 22:34:30 +0100	[thread overview]
Message-ID: <20110126223430.5d68a74d@endymion.delvare> (raw)
In-Reply-To: <4D40866F.4080102-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>

Hi Phillip,

On Wed, 26 Jan 2011 15:39:11 -0500, Phillip Susi wrote:
> I have gotten ahold of the data sheet for the chip so hopefully will be
> able to write a driver for it, but maybe we should move this
> conversation to the lm-sensors mailing list?

Yes, definitely.

> Before we do though, I sill have one more question about the i2c bus.
> My understanding is that simple i2c devices use fixed addresses, like
> the SPD EEPROMs, but SMBus devices initially respond to a broadcast
> address where they can be detected and dynamically assigned an address.

Things aren't that simple. SMBus devices _can_, optionally, reply to
the SMBus ARP address (0x61) for identification and/or dynamic address
allocation. They don't have to, and I've never seen any hardware
monitoring ASIC requiring this (all I've seen start with a suitable
static address.)

>  Is there a tool that can perform such a reset and enumeration that
> could give better identification of those two unknown devices, should

No, there is no such tool. Proper SMBus ARP support would be done by
the kernel, but it is not yet implemented on Linux.

> they be smbus compatible and not just i2c?  When I tried reading them
> with i2c-dump I just got a bunch of XXs.

Even for the EEPROMs? This would be strange. OTOH this would explain
why decode-dimms did not work. But OTOH it would be strange that
i2cdetect would have worked if the SMBus isn't properly supported...

Could you please try i2cdetect again? It is possible that the detection
somehow confused your SMBus (at an address >= 0x6e), in which case
i2cdetect will no longer work. This is usually fixed by a cold boot of
the system. You can also look for i2c-i801 related error messages in
your kernel logs.

-- 
Jean Delvare

  parent reply	other threads:[~2011-01-26 21:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 16:05 Identifying i2c devices on Asus P8P67 sandybridge motherboard Phillip Susi
     [not found] ` <4D3EF4C0.1090008-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-01-25 16:42   ` Jean Delvare
     [not found]     ` <20110125174246.5061f881-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-01-25 23:52       ` Phillip Susi
     [not found]         ` <4D3F622B.9060003-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-01-26  8:22           ` Jean Delvare
     [not found]             ` <20110126092257.7b1243dd-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-01-26 14:42               ` Phillip Susi
     [not found]                 ` <4D4032CC.5010008-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-01-26 20:39                   ` Phillip Susi
     [not found]                     ` <4D40866F.4080102-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2011-01-26 21:34                       ` Jean Delvare [this message]
2011-01-26 21:37                   ` 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=20110126223430.5d68a74d@endymion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=psusi-3tLf1voIkJTQT0dZR+AlfA@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox