Subject: Re: where are docs for using azalia audio?
To: reed@reedmedia.net <reed@reedmedia.net>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-help
Date: 12/01/2007 10:06:39
On 01/12/2007, reed@reedmedia.net <reed@reedmedia.net> wrote:
> My previous two NetBSD system's volume could be turned up with:
>
> mixerctl -w outputs.master=248,248
It used to be the same on mine some times ago as well...
>
> But my new system doesn't have that. I am not sure what is used to turn up
> the volume.
mixerctl -w outputs.lineout=whatever for my speakers;
mixerctl -w outputs.headphones=... for, well, the headphones; you
haven't got these in your azalia tree, obviously...
>
> Playing with ogg123 shows something playing (using default oss). But I
> hear no audio.
>
> I have:
>
> NetBSD/amd64 4.0_RC4
i386 -current (4.99.37 right now)
>
> azalia0 at pci0 dev 20 function 2: Generic High Definition Audio
> Controller
> azalia0: interrupting at ioapic0 pin 16 (irq 10)
> azalia0: host: 0x1002/0x4383 (rev. 0)
> azalia0: host: High Definition Audio rev. 1.0
>
> azalia0: codec[0]: 0x11c1/0x1040 (rev. 2.0)
> azalia0: codec[0]: High Definition Audio rev. 1.0
> azalia0: codec[0]: No support for modem function groups
> azalia0: codec[0] has no audio function groups
> azalia0: RIRB time out
> azalia0: codec[3]: Realtek ALC268 (rev. 0.3)
> azalia0: codec[3]: High Definition Audio rev. 1.0
> azalia0: playback: max channels=2, encodings=1<PCM>
> azalia0: playback: PCM
> formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: recording: max channels=2, encodings=1<PCM>
> azalia0: recording: PCM formats=60160<20bit,16bit,96kHz,48kHz,44.1kHz>
> audio0 at azalia0: full duplex, independent
>
> And:
>
> $ mixerctl -av
> inputs.dac02=123,123 delta=3
> inputs.dac03=123,123 delta=3
> inputs.mix0e.dac02.mut=off [ off on ]
> inputs.mix0f.dac02.mut=off [ off on ]
> inputs.mix0f.purple1d.=off [ off on ]
> inputs.mix10.dac03.mut=off [ off on ]
> inputs.mix10.purple1d.=off [ off on ]
> inputs.mix10.dac02.mut=off [ off on ]
> outputs.unknown14.mute=off [ off on ]
> outputs.unknown14.dir=output [ input output ]
> outputs.unknown14.boost=off [ off on ]
> outputs.unknown14.eapd=off [ off on ]
> outputs.black15.mute=off [ off on ]
> outputs.black15.dir=output [ input output ]
> outputs.black15.boost=off [ off on ]
> outputs.black15.eapd=off [ off on ]
> outputs.black16.mute=off [ off on ]
> outputs.black18.mute=off [ off on ]
> outputs.black18=0,0 delta=127
> outputs.black18.dir=output [ input output ]
> outputs.black19=0,0 delta=127
> outputs.black1a.mute=off [ off on ]
> outputs.black1a=0,0 delta=127
> outputs.black1a.dir=output [ input output ]
I would try outputs.black??.
> inputs.sel23.source=black15 [ black18 black19 black1a black1c unknown14
> black15 black12 ]
> outputs.sel23.mute=off [ off on ]
> outputs.sel23=123,123 delta=8
> inputs.sel24.source=unknown14 [ black18 black19 black1a black1c unknown14
> black15 black13 ]
> outputs.sel24.mute=off [ off on ]
> outputs.sel24=123,123 delta=8
> playback.mode=02 [ 02 03 06 ]
> record.mode=07 [ 07 08 ]
>
> $ audioctl -a
> name=HD-Audio
> version=1.0
> config=azalia0
> encodings=slinear_le:16,slinear_be:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*,slinear_le:32,slinear_be:32*,ulinear_le:32*,ulinear_be:32*
> properties=full_duplex,independent
> full_duplex=0
> fullduplex=0
> blocksize=16384
> hiwat=4
> lowat=1
> monitor_gain=0
> mode=
> play.rate=44100
> play.channels=2
> play.precision=16
> play.encoding=slinear_le
> play.gain=127
> play.balance=32
> play.port=0x0
> play.avail_ports=0x0
> play.seek=16384
> play.samples=1380352
> play.eof=0
> play.pause=0
> play.error=1
> play.waiting=0
> play.open=0
> play.active=0
> play.buffer_size=65536
> record.rate=44100
> record.channels=2
> record.precision=16
> record.encoding=slinear_le
> record.gain=127
> record.balance=32
> record.port=0x0
> record.avail_ports=0x0
> record.seek=0
> record.samples=0
> record.eof=0
> record.pause=0
> record.error=0
> record.waiting=0
> record.open=0
> record.active=0
> record.buffer_size=65536
> record.errors=0
>
> My laptop has a volume dial that spins forever.
I have no audio controls, not even a mute button.
When using the headphones, I have to manually turn off the speakers with
mixerctl -w outputs.lineout=0.
Earlier (maybe 6 months ago) the recognized tree was somewhat similar
to yours with generic names; later my configuration suddenly became
correctly recognizable. Input also works - I've used even earler
versions of Skype on it.
>
> Any ideas on simply getting this to make sound?
>
--
/dev/random says:
Did you expect mere proof to sway my opinion?
----------------------------------------------------------------
Chavdar Ivanov | Talbot Way, Small Heath Business Park
Delcam UK | Birmingham B10 0HJ, United Kingdom
Customer Support | (+44)121-6831014
----------------------------------------------------------------