Subject: Re: Driver for hardware sensors in G4 iBooks and probably other
To: netbsd-macppc <port-macppc@NetBSD.ORG>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 12/13/2004 17:59:21
Hello,

> argh, reading the source for the snapper audio driver - it talks to its mixer/equalizer using ki2c, which fails horribly if there's
>  more than one ki2c. So it's hardware monitoring or snapper audio until that's fixed.
> Anyway, now we know the purpose of the deq device - so I'll write another nearly empty driver which attaches to the right ki2c and
> have snapper look for that instead of ki2c.

Ok, it's not quite as bad - snapper_attach() checks if the ki2c it found had obio as parent so it should grab the right one and my snapper problem is apparently unrelated. ( it complains about a misaligned dbdma address but that's long before it even tries to play with ki2c )

Anyway, using a deq driver to find the right ki2c seems to be the cleanest way.

have fun
Michael