aoa driver

Andreas Tobler andreast-list at fgznet.ch
Sun Nov 16 11:06:11 PST 2008


Hi Marco,

Marco Trillo wrote:

> I've uploaded a tarball with the new version of the 'aoa' (apple
> onboard audio) driver. This version makes use of the new "aoagpio"
> device available in -current, replacing the ad-hoc GPIO routines of
> the previous version. Also the debug printfs are disabled. Otherwise
> it is the same as the previous version.
> 
> The tarball: <http://www.telefonica.net/web2/marco2z/fbsd/aoa2.tar.gz>
> An additional patch for some PowerBooks:
> <http://lists.freebsd.org/pipermail/freebsd-ppc/2008-November/003345.html>
> 
> The supported devices are Burgundy, Screamer, Tumbler, and Snapper.
> Thanks to everyone who tested the previous versions!
> 
> Some missing stuff (hardware which I don't have, or features I'm not
> interested in adding at the moment):
> 
> - Recording is not supported.
> - The 'Onyx' codec (found mainly on G5 machines and some PowerBooks)
> is not supported. It should be easy to add, as it is just another I2S
> codec.
> - The 'Daca' found on the clamshell iBooks is not supported.
> - The Mac Mini should be supported but without volume control (always
> full-scale output). The Mac Mini does not have hardware with analog
> volume support. The FreeBSD sound framework supports digital volume
> control, but the current driver does not enable it if no hardware
> support is available.


Same AluBook:
aoagpio0: <headphone-mute> gpio 5 on macgpio0
aoagpio1: <amp-mute> gpio 6 on macgpio0
aoagpio2: <audio-hw-reset> gpio 11 on macgpio0
aoagpio3: <headphone-detect> extint-gpio 15 irq 61 on macgpio0
aoagpio3: [ITHREAD]
....
pcm0: codec: <snapper> at address 6Ah on kiic0
0a:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0b:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0c:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0d:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0e:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0f:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
13:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
14:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
14:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
15:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
16:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
17:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
18:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
19:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01:  60
43:  02
02:  01 00 00 00 00 00
04:  00 00 00 00 00 00
05:  72
06:  72
07:  10 00 00 00 00 00 00 00 00
08:  10 00 00 00 00 00 00 00 00
21:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
22:  10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
23:  00 00 00
24:  00 00 00
40:  c2

Is the above still debug or do you always intend to dump these addresses?

Working fine here, with the patch you mentioned above.

Thanks,
Andreas


More information about the freebsd-ppc mailing list