Subject: Re: How to report your azalia(4) problems
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: port-i386
Date: 03/23/2007 14:14:36
On 23/03/07, Blair Sadewitz <blair.sadewitz@gmail.com> wrote:
> What could I do to assist in creating a human-readable mixer table for
> my hardware?  A short tutorial and/or pointers to other references
> would be appreciated.

Just to mention that since my last -current upgrade (21/03), my laptop
(an HP NX6310) displays different mixerctl table, which is much more
understandable than before - here is the sdiff output:

outputs.spdif.source=os        | outputs.dac02.source=hdaudio
outputs.lineout.source=dac     | outputs.lineout.source=dac03
outputs.lineout.mute=off         outputs.lineout.mute=off
outputs.lineout=182,182        | outputs.lineout=175,175
record.lineout=85,85           | outputs.lineout=185,185
outputs.lineout.dir=output       outputs.lineout.dir=output
outputs.lineout.boost=on       | outputs.lineout.boost=off
outputs.lineout.eapd=on          outputs.lineout.eapd=on
outputs.headphones.src=dac     | outputs.hp.source=dac03
outputs.headphones.mute=off    | outputs.hp.mute=off
outputs.headphones=200,200     | outputs.hp=210,210
outputs.headphones.boost=on    | outputs.hp.boost=off
outputs.mono.mute=off            outputs.mono.mute=off
outputs.mono=121               | outputs.mono=125
record.mic=85,85               | outputs.mic=85,85
outputs.linein.source=dac      | outputs.linein.source=dac03
outputs.linein.mute=off          outputs.linein.mute=off
                               > outputs.linein=125,125
outputs.linein=85,85             outputs.linein=85,85
record.linein=85,85            <
outputs.linein.dir=output        outputs.linein.dir=output
outputs.mono.source=dac        | inputs.sel0b.source=dac03
inputs.beep.source=digitalbeep | inputs.beep.source=beep10
inputs.beep.mute=off           | outputs.beep.mute=off
inputs.beep=119                | outputs.beep=119
inputs.dac.mute=off            | outputs.sel11.mute=off
inputs.dac=123,123             | outputs.sel11=123,123
inputs.mic.mute=off            | outputs.sel12.mute=off
inputs.mic=123,123             | outputs.sel12=123,123
inputs.linein.mute=off         | outputs.sel13.mute=off
inputs.linein=123,123          | outputs.sel13=123,123
record.source=mixedmic         | outputs.pow14.source=beep
record.mute=off                | inputs.sel15.source=mix0c
record.master=119,119          | outputs.sel15.mute=off
outputs.mic2.source=dac        | outputs.sel15=119,119
                               > outputs.mic2.source=dac03
outputs.mic2.mute=off            outputs.mic2.mute=off
                               > outputs.mic2=125,125
outputs.mic2=85,85               outputs.mic2=85,85
record.mic2=85,85              <
outputs.mic2.dir=output          outputs.mic2.dir=output
inputs.lineout.mute=off        | outputs.sel1a.mute=off
inputs.lineout=123,123         | outputs.sel1a=123,123
inputs.aux.mute=off            | outputs.sel1b.mute=off
inputs.aux=123,123             | outputs.sel1b=123,123
inputs.mic2.mute=off           | outputs.sel1c.mute=off
inputs.mic2=123,123            | outputs.sel1c=123,123
inputs.cd.mute=off             | outputs.speaker.mute=off
inputs.cd=123,123              | outputs.speaker=123,123
record.mixedmic.mute1=off      | outputs.sel1e.mute=off
record.mixedmic.mute2=off      | outputs.sel1f.mute=off
playback.mode=analog           | playback.mode=03

I browsed but couldn't find quickly when the change was made; thanks
anyway to whoever did it; otherwise it works just fine, including
through the speakers.

There are a few niggles - I can't figure out how to change the volume
within moc - it apparently responds to the ,. command, but the volume
stays the same, whereas amarok and vlc seems to be able to do it.

>
> Often there are sources of information, such as linux "codec dumps"
> (from their procfs) which show  groups of pin configurations.  I can
> sometimes see how these are represented in the structures you use,
> other times I don't.
>
> ALSA often has some useful (?) information as well in their codec
> "patches".  IIRC,  FreeBSD's driver now uses a parser for most things,
> so it's not as helpful.
>
> Thanks for all your work on this,
>
> --Blair
>
> P.S. Insofar as mmap() is concerned, I would be satisfied with
> completely "hard-wired" parameters.
> I can teach applications about that.  It would just be very nice to be
> able to mmap() a buffer with my hardware, as I would like to start
> doing audio work and maybe porting some applications.
>
>
> --
> Support WFMU-FM: free-form radio for the masses!
> <http://www.wfmu.org/>
>
> "The frivolity and boredom which unsettle the established order, the
> vague foreboding of something unknown, these are the heralds of
> approaching change.  The gradual crumbling that left unaltered the
> face of the whole is cut short by a sunburst which, in one flash,
> illuminates the features of the new world."  --G.W.F. Hegel,
> _Phenomenology of Spirit_ 5:11
>

Chavdar Ivanov