linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Steven Bytnar <sbytnar@kagi.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: iMac/PowerBook & IIC bus
Date: Tue, 30 Jul 2002 18:03:46 -0500	[thread overview]
Message-ID: <20020730230346.GN26374@openprojects.rarcoa.com> (raw)


Does anyone know anything about the IIC bus in the original iMac?
It looks like there's a 74FST3125 4-bit bus switch that allows
access to different IIC buses. One bus, the default bus(?), leads
to the J3/BOTTOM slot. The other bus leads to the J1/TOP. How do
you tell the Cuda/PMU/mem controller chip to switch between the
IIC buses? It seems like there's two to four different
packet/command mechanisms of reading from IIC devices on older
machines using the Cuda chip:
{
char type; /* 1 = ADB_PACKET_PSEUDO, 5 = ADB_PACKET_MACIIC */
char command; /* 0x22 = ADB_PSEUDOCMD_GET_SET_IIC,
                 0x25 = PSEUDOCMD_COMBINED_FORMAT_IIC */
char i2caddress;
...
}

I understand the {ADB_PACKET_PSEUDO, ADB_PSEUDOCMD_GET_SET_IIC, ...}
packet format, but I haven't figured out any of the other combinations.

I think this IIC bus switching mechanism is used on PowerBooks also.

Any help greatly appreciated.

Thanks,
--Steve


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2002-07-30 23:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020730230346.GN26374@openprojects.rarcoa.com \
    --to=sbytnar@kagi.com \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).