where are docs for using azalia audio?

View: New views
8 Messages — Rating Filter:   Alert me  

where are docs for using azalia audio?

by Jeremy C. Reed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My previous two NetBSD system's volume could be turned up with:

        mixerctl -w outputs.master=248,248

But my new system doesn't have that. I am not sure what is used to turn up
the volume.

Playing with ogg123 shows something playing (using default oss). But I
hear no audio.

I have:

NetBSD/amd64 4.0_RC4

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 ]
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.

Any ideas on simply getting this to make sound?

Re: where are docs for using azalia audio?

by Chavdar Ivanov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 01/12/2007, reed@... <reed@...> 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
----------------------------------------------------------------

Re: where are docs for using azalia audio?

by Jeremy C. Reed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 1 Dec 2007, Chavdar Ivanov wrote:

> > 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??.

I don't even know what this is. I tried earlier and did nothing:

$ sudo mixerctl -w outputs.black18=50,50
outputs.black18: 0,0 -> 0,0
$ sudo mixerctl -w outputs.black19=50,50
outputs.black19: 0,0 -> 0,0
$ sudo mixerctl -w outputs.black1a=50,50
outputs.black1a: 0,0 -> 0,0

> > 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?



Re: where are docs for using azalia audio?

by Cem Kayali :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jeremy C. Reed wrote:

$ 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 ]
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 ]

My laptop has a volume dial that spins forever.

Any ideas on simply getting this to make sound?

I have azalia headphones working by running this comand.

mixerctl -w outputs.black14.eapd=on
mixerctl -w inputs.dac03=100


PS: You have black15, so try below ones_ maybe it helps:

mixerctl -w outputs.black15.eapd=on
mixerctl -w inputs.dac03=100

Regards,
 
 
 
----------------

Cem Kayalı

Re: where are docs for using azalia audio?

by Jeremy C. Reed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 1 Dec 2007, Cem Kayali wrote:

> I have azalia headphones working by running this comand.
>
> mixerctl -w outputs.black14.eapd=on
> mixerctl -w inputs.dac03=100
>
>
> PS: You have black15, so try below ones_ maybe it helps:
>
> mixerctl -w outputs.black15.eapd=on

That worked. Listening to music immediately.

How did you know what that was?

Where should this be documented for NetBSD?


> mixerctl -w inputs.dac03=100

I didn't do that. What is that for?

I still can't figure out which one to use for changing the output volume.


Thanks for the help.

  Jeremy C. Reed

Re: where are docs for using azalia audio?

by Cem Kayali :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeremy C. Reed wrote:
On Sat, 1 Dec 2007, Cem Kayali wrote:

> I have azalia headphones working by running this comand.
>
> mixerctl -w outputs.black14.eapd=on
> mixerctl -w inputs.dac03=100
>
>
> PS: You have black15, so try below ones_ maybe it helps:
>
> mixerctl -w outputs.black15.eapd=on

That worked. Listening to music immediately.

How did you know what that was?

Where should this be documented for NetBSD?


> mixerctl -w inputs.dac03=100

I didn't do that. What is that for?

I still can't figure out which one to use for changing the output volume.


Thanks for the help.

  Jeremy C. Reed


Great to hear it worked...


>How did you know what that was?
>Where should this be documented for NetBSD?

I found it while playing mixerctl settings about 2-3 months ago on my new notebook. I was thinking that azalia driver was not working, but luckily somebody advised me to play mixerctl settings.

I'm not sure where it should be documented. It is not an azalia problem i think...


>mixerctl -w inputs.dac03=100

Play with *inputs.dac* values and you will see that it adjusts volume. I think 250 or 255 is max, while 0 means no sound.


Regards,















 
 
 
----------------

Cem Kayalı

Re: where are docs for using azalia audio?

by Jeremy C. Reed :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 1 Dec 2007, Cem Kayali wrote:

> >How did you know what that was?
> >Where should this be documented for NetBSD?
>
> I've found it while playing mixerctl settings about 2-3 months ago for my
> new notebook. I was thinking that azalia driver is not working, but luckily
> somebody advised me to play mixerctl settings.
>
> I'm not sure where it should be documented. It is not an azalia problem i
> think...


A documentation problem :)

I will update docs if someone tells me what to commit.


> >mixerctl -w inputs.dac03=100
>
> Play with *inputs.dac* values and you will see that it adjusts volume. I
> think 250 or 255 is max, while 0 means no sound.

"inputs" sounds confusing. I had tried inputs.dac03 earlier, but no
change. But I have success now with inputs.dac02:


$ mixerctl -w inputs.dac03=0,0                        
inputs.dac03: 99,99 -> 0,0
$ mixerctl -w inputs.dac03=200,200
inputs.dac03: 0,0 -> 199,199

No change above.

$ mixerctl -w inputs.dac02=200,200                    
inputs.dac02: 123,123 -> 199,199

That made is loud! Louder than my previous laptop.

$ mixerctl -w inputs.dac02=0,0
inputs.dac02: 199,199 -> 0,0

And 0,0 is very quiet (but still some sound).

$ mixerctl -w inputs.dac02=200,200
inputs.dac02: 0,0 -> 199,199

Back to listening again.

Thanks. I appreciate your time.

If anyone has some suggestions on what and where to document, please let
me know.


  Jeremy C. Reed

Re: where are docs for using azalia audio?

by Hernani Marques Madeira :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Dec 01, 2007 at 09:01:21PM -0600, reed@... wrote:

> "inputs" sounds confusing. I had tried inputs.dac03 earlier, but no
> change. But I have success now with inputs.dac02:

[...]

What to do about third-party mixer tools which doesn't can handle these
weird mixer settings?

There's also third-party multimedia software like mplayer only able to reduce,
but not to increase sound when dealing with an azalia configuration not
providing outputs.master.

--
hernani


attachment0 (193 bytes) Download Attachment