Sound on G5

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Oct 5 11:25:03 EST 2004


On Tue, 2004-10-05 at 06:51, Andreas Schwab wrote:
> Is anyone already working on sound support for the PowerMac G5, by chance?
> That's actually the only thing still missing.

Nobody really seriously ATM. One of the main issue is that the darwin
driver abuses apple "do-platform-*" shit. It's a mecanism they invented
to put sort-of "scripts" (in binary form) in the device-tree that can
contains elementary ops such as write GPIOs, I2C, etc...

This is extremely messy and difficult to parse. I have written the
basis for parsing them, but interpreting them is even more shitty as
the actual implementation of each ops sort-of depends on the target
object.

It's really a piece-of-shit imho.

So we could go that way and complete my "interpreter" or just hard code
all of the GPIOs we need in the driver hoping apple don't shuffle them
too much in upcoming models...

Ben.





More information about the Linuxppc64-dev mailing list