Subject: Re: What's the audio device on a beige G3?
To: Pierre Dubuc <pldubuc@yahoo.ca>
From: Michael <macallan1888@gmail.com>
List: port-macppc
Date: 09/11/2007 02:04:28
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Sep 9, 2007, at 07:51, Pierre Dubuc wrote:

> I've got a beige G3/333 (Open Firmware 2.4) on which I'd like to  
> use the "Line in" port for an NTP reference clock. My kernel is  
> pretty much GENERIC, I've only hardwired root on wd0a because I  
> netboot the kernel.
>
> I don't see anything about audio in this report, but looking at the  
> kernel configuration file for GENERIC, I'd be inclined to say it's  
> the awacs device, which is commented out. I'm not sure, though.

This is the audio device:
> davbus at obio0 offset 0x14000 not configured
... and it is indeed an awacs. There's a problem though - on the  
beige G3 the sound chip doesn't drive the audio outputs directly,  
instead it uses an external mixer which gives finer volume and bass/ 
treble control. Support for it is available in -current but since it  
is rather new and requires quite a bit of additional code ( the mixer  
is an i2c device hooked up to cuda which is unsupported in 3.x and  
4.x, I wrote a new ADB subsystem which among other things does  
support cuda's i2c bus so we can actually talk to the mixer ) it's  
not likely to be pulled into any existing branch.

> Could it be the swim3 device? It's not configured, and I don't know  
> what it's about.

No, swim3 is the floppy controller.

> I see warnings in the kernel configuration file about lock-ups when  
> awacs is configured and the system is under heavy load. Is this  
> still true?

I've never seen it, supposedly it happens on some G4s which shouldn't  
use awacs anyway.
Awacs will attach on your machine but it won't produce any audible  
output. I'm not sure if awacs in 3.x supports audio input at all,  
probably not. Shouldn't be hard to add though, as far as I know the  
inputs are wired like on other macs, directly to the audio chip.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBRuYv7MpnzkX8Yg2nAQI6UQf/bRuoWF04ISxRbGTTyEjCLKy0A95wWhba
wIEAcVXMsAkYPzc/2SW+nxWq037kWsDdWF0/VzK2P+HztA4F6EpM9CAwGqGpRYMU
7kYmvkFgQQ9JfSC3QWKp8KIuE5yruhY7EROn0Lu28Go06ym6Lk6eJZPw/wfRH2Nd
WHz7AHKx27W4mOzouseAAkRa2SXIXRIsibHvVJCwXvsetHVELyURhU6Dpd7ULO1l
DWPjK/z2JkGvo5ZPWrlVsXmALkFHAOfa4rhi66Hkoxh/sGniKVUoPvjuVG+X026r
BA+HxAUJhJD+vCfnQGzTE6xxgdlkWgG3WmICBgrQFF+lJ8UEK+3jug==
=BBxP
-----END PGP SIGNATURE-----