Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

azalia mixer support in a samsung nc10?



Hi,

the mixerctl settings for the azalia deivce in a samsung nc10 are not
the best, it is missing some recorder settings too and inserting a
headphone doesn't turn off the speaker.

I would appreciate if someone has an idea how to make it behave correctly.

See the attached dmesg part from a kernel compiled with AZALIA_DEBUG
and AZALIA_DEBUG_DOT

Bernd

azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 22
azalia0: host: Intel 82801GB/GR High Definition Audio Controller (rev. 2), HDA 
rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 5000
azalia_attach: reset counter = 4985
azalia0: found a codec at #0
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: information of codec[0] follows:
azalia_codec_init_vtbl: vid=10ec0272 subid=ca00144d
azalia0: codec[0]: 0x10ec/0x0272 (rev. 0.1), HDA rev. 1.0
azalia_codec_init: nidstart=1 #functions=1
azalia_codec_init: FTYPE result = 0x00000101
azalia_codec_init: There are 34 widgets in the audio function.
azalia0:    encodings=0x1<PCM>
azalia0:    PCM formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    inamp: mute=0 size=0 steps=0 offset=0
azalia0:    outamp: mute=0 size=0 steps=0 offset=0
azalia0: dac02 wcap=0x41d<POWER,FORMATOV,AMPOV,OUTAMP,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    outamp: mute=0 size=3 steps=64 offset=64
azalia0: dac03 wcap=0x41d<POWER,FORMATOV,AMPOV,OUTAMP,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    outamp: mute=0 size=3 steps=64 offset=64
azalia0: dac04 wcap=0x41d<POWER,FORMATOV,AMPOV,OUTAMP,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    outamp: mute=0 size=3 steps=64 offset=64
azalia0: widget05 wcap=0xf00000
azalia0: dac06 wcap=0x611<POWER,DIGITAL,FORMATOV,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM 
formats=0xe05e0<24bit,20bit,16bit,192kHz,96kHz,88.2kHz,48kHz,44.1kHz>
azalia0: widget07 wcap=0xf00000
azalia0: adc08 wcap=0x10051b<POWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    connections=0x23; selected=0x23
azalia0:    inamp: mute=1 size=5 steps=31 offset=11
azalia0: adc09 wcap=0x10051b<POWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0:    connections=0x22; selected=0x22
azalia0:    inamp: mute=1 size=5 steps=31 offset=11
azalia0: widget0a wcap=0xf00000
azalia0: mix0b wcap=0x20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x18,0x19,0x1a,0x1b,0x1d,0x14,0x15,0x16; selected=0x18
azalia0:    inamp: mute=1 size=5 steps=31 offset=23
azalia0: mix0c wcap=0x20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x2,0xb; selected=0x2
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: mix0d wcap=0x20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x3,0xb; selected=0x3
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: mix0e wcap=0x20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x4,0xb; selected=0x4
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: mix0f wcap=0x20010a<CONNLIST,AMPOV,INAMP>
azalia0:    connections=0x2,0xb; selected=0x2
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: dac10 wcap=0x611<POWER,DIGITAL,FORMATOV,STEREO>
azalia0:    encodings=0x1<PCM>
azalia0:    PCM 
formats=0xe05e0<24bit,20bit,16bit,192kHz,96kHz,88.2kHz,48kHz,44.1kHz>
azalia0: black11 wcap=0x400700<POWER,DIGITAL,CONNLIST>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x10<OUTPUT>
azalia0:    connections=0x10; selected=0x10
azalia0: black12 wcap=0x400401<POWER,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x20<INPUT>
azalia0: black13 wcap=0x400401<POWER,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x20<INPUT>
azalia0: unknown14 wcap=0x40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=speaker color=unknown assoc=1 seq=0 
cap=0x1003c<EAPD,INPUT,OUTPUT,HEADPHONE,PRESENCE>
azalia0:    connections=0xc,0xd; selected=0xc
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black15 wcap=0x40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x1003c<EAPD,INPUT,OUTPUT,HEADPHONE,PRESENCE>
azalia0:    connections=0xc,0xd; selected=0xc
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black16 wcap=0x40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x34<INPUT,OUTPUT,PRESENCE>
azalia0:    connections=0xe; selected=0xe
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black17 wcap=0x40050c<POWER,CONNLIST,AMPOV,OUTAMP>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x10<OUTPUT>
azalia0:    connections=0xf; selected=0xf
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: pink18 wcap=0x40058f<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=mic color=pink assoc=2 seq=0 
cap=0x1734<INPUT,OUTPUT,PRESENCE>
azalia0:    connections=0xe; selected=0xe
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: unknown19 wcap=0x40058f<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=mic color=unknown assoc=2 seq=15 
cap=0x173c<INPUT,OUTPUT,HEADPHONE,PRESENCE>
azalia0:    connections=0xc,0xd,0xe; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black1a wcap=0x40058f<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x1734<INPUT,OUTPUT,PRESENCE>
azalia0:    connections=0xd; selected=0xd
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: black1b wcap=0x40058f<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x173c<INPUT,OUTPUT,HEADPHONE,PRESENCE>
azalia0:    connections=0xc,0xd,0xe; selected=0xc
azalia0:    inamp: mute=0 size=39 steps=3 offset=0
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: widget1c wcap=0xf00000
azalia0: purple1d wcap=0x400400<POWER>
azalia0:    pin config; device=speaker color=purple assoc=0 seq=13 
cap=0x20<INPUT>
azalia0: black1e wcap=0x400780<POWER,DIGITAL,CONNLIST,UNSOL>
azalia0:    pin config; device=speaker color=black assoc=15 seq=0 
cap=0x14<OUTPUT,PRESENCE>
azalia0:    connections=0x6; selected=0x6
azalia0: widget1f wcap=0xf00000
azalia0: widget20 wcap=0xf00040<PROC>
azalia0: green21 wcap=0x40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
azalia0:    pin config; device=headphones color=green assoc=1 seq=15 
cap=0x1c<OUTPUT,HEADPHONE,PRESENCE>
azalia0:    connections=0xc,0xd,0xe; selected=0xc
azalia0:    outamp: mute=1 size=0 steps=0 offset=0
azalia0: mix22 wcap=0x20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x18,0x19,0x1a,0x1b,0x1d,0x14,0x15,0x16,0xb,0x12; 
selected=0x18
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
azalia0: mix23 wcap=0x20010b<CONNLIST,AMPOV,INAMP,STEREO>
azalia0:    connections=0x18,0x19,0x1a,0x1b,0x1d,0x14,0x15,0x16,0xb,0x13; 
selected=0x18
azalia0:    inamp: mute=1 size=0 steps=0 offset=0
-------- Graphviz DOT starts
digraph "0x10ec/0x0272 (rev. 0.1)" {
 dac02 [shape=box,style=filled,fillcolor="#88ff88"];
 dac03 [shape=box,style=filled,fillcolor="#88ff88"];
 dac04 [shape=box,style=filled,fillcolor="#88ff88"];
 dac06 [shape=box,style=filled,fillcolor="#88ff88"];
 adc08 [shape=box,style=filled,fillcolor="#ff8888"];
 mix23 -> adc08 [sametail=mix23];
 adc09 [shape=box,style=filled,fillcolor="#ff8888"];
 mix22 -> adc09 [sametail=mix22];
 mix0b [shape=invhouse];
 pink18 -> mix0b [sametail=pink18];
 unknown19 -> mix0b [sametail=unknown19];
 black1a -> mix0b [sametail=black1a];
 black1b -> mix0b [sametail=black1b];
 purple1d -> mix0b [sametail=purple1d];
 unknown14 -> mix0b [sametail=unknown14];
 black15 -> mix0b [sametail=black15];
 black16 -> mix0b [sametail=black16];
 mix0c [shape=invhouse];
 dac02 -> mix0c [sametail=dac02];
 mix0b -> mix0c [sametail=mix0b];
 mix0d [shape=invhouse];
 dac03 -> mix0d [sametail=dac03];
 mix0b -> mix0d [sametail=mix0b];
 mix0e [shape=invhouse];
 dac04 -> mix0e [sametail=dac04];
 mix0b -> mix0e [sametail=mix0b];
 mix0f [shape=invhouse];
 dac02 -> mix0f [sametail=dac02];
 mix0b -> mix0f [sametail=mix0b];
 dac10 [shape=box,style=filled,fillcolor="#88ff88"];
 black11 
[label="black11\ndevice=speaker",style=filled,shape=circle,fillcolor="#88ff88"];
 dac10 -> black11 [sametail=dac10];
 black12 
[label="black12\ndevice=speaker",style=filled,shape=circle,fillcolor="#ff8888"];
 black13 
[label="black13\ndevice=speaker",style=filled,shape=circle,fillcolor="#ff8888"];
 unknown14 
[label="unknown14\ndevice=speaker",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0c -> unknown14 [sametail=mix0c];
 mix0d -> unknown14 [sametail=mix0d];
 black15 
[label="black15\ndevice=speaker",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0c -> black15 [sametail=mix0c];
 mix0d -> black15 [sametail=mix0d];
 black16 
[label="black16\ndevice=speaker",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0e -> black16 [sametail=mix0e];
 black17 
[label="black17\ndevice=speaker",style=filled,shape=circle,fillcolor="#88ff88"];
 mix0f -> black17 [sametail=mix0f];
 pink18 
[label="pink18\ndevice=mic",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0e -> pink18 [sametail=mix0e];
 unknown19 
[label="unknown19\ndevice=mic",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0c -> unknown19 [sametail=mix0c];
 mix0d -> unknown19 [sametail=mix0d];
 mix0e -> unknown19 [sametail=mix0e];
 black1a 
[label="black1a\ndevice=speaker",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0d -> black1a [sametail=mix0d];
 black1b 
[label="black1b\ndevice=speaker",style=filled,shape=doublecircle,fillcolor="#ffff88"];
 mix0c -> black1b [sametail=mix0c];
 mix0d -> black1b [sametail=mix0d];
 mix0e -> black1b [sametail=mix0e];
 purple1d 
[label="purple1d\ndevice=speaker",style=filled,shape=circle,fillcolor="#ff8888"];
 black1e 
[label="black1e\ndevice=speaker",style=filled,shape=circle,fillcolor="#88ff88"];
 dac06 -> black1e [sametail=dac06];
 green21 
[label="green21\ndevice=headphones",style=filled,shape=circle,fillcolor="#88ff88"];
 mix0c -> green21 [sametail=mix0c];
 mix0d -> green21 [sametail=mix0d];
 mix0e -> green21 [sametail=mix0e];
 mix22 [shape=invhouse];
 pink18 -> mix22 [sametail=pink18];
 unknown19 -> mix22 [sametail=unknown19];
 black1a -> mix22 [sametail=black1a];
 black1b -> mix22 [sametail=black1b];
 purple1d -> mix22 [sametail=purple1d];
 unknown14 -> mix22 [sametail=unknown14];
 black15 -> mix22 [sametail=black15];
 black16 -> mix22 [sametail=black16];
 mix0b -> mix22 [sametail=mix0b];
 black12 -> mix22 [sametail=black12];
 mix23 [shape=invhouse];
 pink18 -> mix23 [sametail=pink18];
 unknown19 -> mix23 [sametail=unknown19];
 black1a -> mix23 [sametail=black1a];
 black1b -> mix23 [sametail=black1b];
 purple1d -> mix23 [sametail=purple1d];
 unknown14 -> mix23 [sametail=unknown14];
 black15 -> mix23 [sametail=black15];
 black16 -> mix23 [sametail=black16];
 mix0b -> mix23 [sametail=mix0b];
 black13 -> mix23 [sametail=black13];
 {rank=min; dac02; dac03; dac04; dac06; adc08; adc09; dac10;}
 {rank=max; black11; black12; black13; unknown14; black15; black16; black17; 
pink18; unknown19; black1a; black1b; purple1d; black1e; green21;}
}
-------- Graphviz DOT ends
generic_codec_find_dac: DAC: nid=0x2 index=2
generic_codec_find_dac: DAC path: nid=0xc index=12
generic_codec_find_dac: DAC path: nid=0x14 index=20
generic_codec_add_dacgroup: assoc=1 seq=0 ==> g=0 n=0
generic_codec_find_dac: DAC: nid=0x4 index=4
generic_codec_find_dac: DAC path: nid=0xe index=14
generic_codec_find_dac: DAC path: nid=0x18 index=24
generic_codec_add_dacgroup: assoc=2 seq=0 ==> g=1 n=0
generic_codec_init_dacgroup: find non-connected DACs
azalia_codec_init: dacgroup[0]: 02
azalia_codec_init: dacgroup[1]: 04
azalia_codec_init: dacgroup[2]: 03
azalia_codec_init: dacgroup[3]: 06
azalia_codec_init: dacgroup[4]: 10
azalia0: playback: max channels=2, encodings=0x1<PCM>
azalia0: playback: PCM 
formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
azalia0: recording: max channels=2, encodings=0x1<PCM>
azalia0: recording: PCM 
formats=0xe0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
generic_mixer_init: register classes
generic_mixer_default: unmute
generic_mixer_default: process bidirectional pins
generic_mixer_default: set volume
azalia0: using the #0 codec
audio0 at azalia0: full duplex, independent
azalia_round_blocksize: resultant block size = 9600
azalia_round_blocksize: resultant block size = 9600
inputs.dac02=126,126
inputs.dac03=126,126
inputs.dac04=126,126
record.adc08.mute=off
record.adc08=120,120
record.adc09.mute=off
record.adc09=120,120
mix.mix0b.pink18.mu=off
mix.mix0b.un19.mute=off
mix.mix0b.un14.mute=off
mix.mix0b.pink18=120,120
mix.mix0b.unknown19=120,120
mix.mix0b.unknown14=120,120
mix.mix0c.dac02.mut=off
mix.mix0c.mix0b.mut=off
mix.mix0d.dac03.mut=off
mix.mix0d.mix0b.mut=off
mix.mix0e.dac04.mut=off
mix.mix0e.mix0b.mut=off
mix.mix0f.dac02.mut=off
mix.mix0f.mix0b.mut=off
outputs.unknown14.sourc=mix0c
outputs.unknown14.mute=off
outputs.unknown14.dir=output
outputs.unknown14.boost=off
outputs.unknown14.eapd=off
outputs.pink18.mute=off
outputs.pink18=85,85
outputs.pink18.dir=output
outputs.unknown19.sourc=mix0c
outputs.unknown19.mute=off
outputs.unknown19=85,85
outputs.unknown19.dir=output
outputs.unknown19.boost=off
outputs.green21.source=mix0c
outputs.green21.mute=off
outputs.green21.boost=off
mix.mix22.pink18.mu=off
mix.mix22.un19.mute=off
mix.mix22.un14.mute=off
mix.mix22.mix0b.mut=off
mix.mix23.pink18.mu=off
mix.mix23.un19.mute=off
mix.mix23.un14.mute=off
mix.mix23.mix0b.mut=off
playback.mode=02
record.mode=08


Home | Main Index | Thread Index | Old Index