Subject: Re: azalia(4) and volume control
To: None <port-i386@NetBSD.org>
From: Stuart Brooks <stuartb@cat.co.za>
List: port-i386
Date: 02/23/2006 12:10:14
> I've got a motherboard with onboard RealTek HD audio which is
recognized
> by NetBSD (3.99.15) like this:
>
> azalia0 at pci0 dev 27 function 0: Generic High Definition Audio
Controller
> azalia0: interrupting at ioapic0 pin 19 (irq 5)
> azalia0: host: 82801GB/GR High Definition Audio Controller (rev. 1)
> azalia0: host: High Definition Audio rev. 1.0
> azalia0: codec: Realtek ALC882 (rev. 1.1)
> azalia0: codec: High Definition Audio rev. 1.0
>
> Audio playback works fine but the volume is very low. All my attempts
> to turn boosts or change the mixer volume have not worked. And the
> driver doesn't provide a "outputs.master" property.

I have seen a similar thing. The play.gain (audioctl) seems frozen at
127 on the azalia audio controller and the volume is very low. My dmesg
is as follows:

NetBSD 3.0_STABLE (GENERIC) #2: Tue Feb 14 12:42:15 SAST 2006
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio
Controller
azalia0: interrupting at irq 9
azalia0: host: 82801GB/GR High Definition Audio Controller (rev. 1)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x8384/0x7683 (rev. 50.1)
azalia0: codec: High Definition Audio rev. 1.0
azalia0: playback: encodings=1<PCM>
azalia0: playback: PCM
formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1
kHz>
azalia0: playback: max channels=2
azalia0: recording: encodings=1<PCM>
azalia0: recording: PCM
formats=e07e0<24bit,20bit,16bit,192kHz,176.4kHz,96kHz,88.2kHz,48kHz,44.1
kHz>
azalia0: recording: max channels=2
audio0 at azalia0: full duplex, independent

I am also running Netbsd 3 on an old Celeron 1200 (CS62 motherboard)
which has auich0 (ac97) onboard sound and, while the volume is
acceptable, I am unable to change it.
Calling "audioctl -w play.gain=???" appears to work initially
("audioctl -a" prints the new value) but it doesn't seem to make any
difference to the actual volume coming out.

Maybe there is a general problem with changing the output volume in
Netbsd 3. Is there anything else I could try?

Regards
 Stuart