Skip to contentSkip to conversation

Sound on an iBook?

DISCUSSION Iain Sandoe 2 participants 2 messages Dec 8, 2000 – Dec 12, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · D.J. Barrow

No I2C is as old as the hills, I2C is a philips serial bus standard for talking to upto 256 devices on the one two wire bus. It is pretty crappy simple & slow & philips generally used it to talk to digital tuners on radios.

well, there are other versions faster and with bigger address ranges... but that wasn't my point.

we are all quite familiar with i2c.

the new thing here is the particular Apple hardware, registers etc. used to implement the bus interface... another set of stuff we may have to deduce the hard way.

it's not the cuda - the iBook doesn't have a cuda - AFAIK. (PMU, I expect).

and... actually, I think the asics are more there to keep costs down... but each to his own ;-)

Iain.

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

#1 lore raw

Hi all,

On 8 Dec, this message from Iain Sandoe echoed through cyberspace:

Quoted 7 lines

we are all quite familiar with i2c.

the new thing here is the particular Apple hardware, registers etc. used to implement the bus interface... another set of stuff we may have to deduce the hard way.

it's not the cuda - the iBook doesn't have a cuda - AFAIK. (PMU, I expect).

You might want to look for the aproach Apple used when implementing I2C in the planb ASIC (that was in the 7500/8500 machines, back around '94-'95). This I2C interface talks to a single chip on the bus (the SAA7196 video decoder), and it goes like this: write the target device register subaddress into some register, wait a bit, write the data into another register, and off it goes into the target device.

There is a third register that monitors the SAA7196's only readable register, a status register.

FWIW, register address is at 0x200, data is at 0x204, and status at 0x208 into planb's address space.

Of course, KeyLargo might work in an entirely different way...

Michel

-------------------------------------------------------------------------

Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   [email protected]            |
http://www.cpu.lu/~mlan        |                     Learn Always. "

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