linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* iMac/PowerBook & IIC bus
@ 2002-07-30 23:03 Steven Bytnar
  0 siblings, 0 replies; only message in thread
From: Steven Bytnar @ 2002-07-30 23:03 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-30 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-30 23:03 iMac/PowerBook & IIC bus Steven Bytnar

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).