On Wed, Sep 03, 2008 at 09:12:54PM -0401, jared r r spiegel wrote:
> On Wed, Sep 03, 2008 at 10:32:42AM +0200, Tim Saueressig, thepixelz.com wrote:
> > jared r r spiegel schrieb:
> >>   i cannot get sound output to happen on this thing; i see
> >>   indication that others with macbooks (pro and regular) have
> >>   had sound since sometime in 4.2-current land.
> >>
> >>   azalia(4) says 'Known supported devices are Intel 82801FB/GB/HB/IB',
> >>   and per my dmesg i have an '82801H', so maybe this is the problem?
> >>   dmesg doesn't say 'not supported' or similar tho.
> >>   
> > it is somewhat working for me with headphones in mic input.
> 
>   so i tried that today and i am actually able to hear audio out of it.
> 
>   from spending some time on it, it really really appears that what mixerctl
>   calls 'line3' corresponds to the reality of a headphones being plugged into
>   the line-input jack.
> 
>   i have spent some more time trying to map out the permutations of the
>   azalia 'widgets'; have done some looking thru the intel pdf; have recompiled
>   with AZALIA_DEBUG; have even tried to arrow/box everything out with dia(1).
> 
>   but unfortunately i cannot make sound happen in any way other than the 
> default
>   of it appearing to come out of the 'line3' widget which corresponds afaict
>   to headphones in the line-in jack.

curious, what makes you think it's line3?

if you do:

$ mixerctl outputs.mix2=200
$ mixerctl outputs.headphones.source=mix2
$ mixerctl outputs.line.source=mix2

then can you hear audio on the line-out or headphones jack?

I suggest this because your mixerctl is showing outputs.line3.source=mix2,
and you say line3 is giving you output.  this says to me that mix2 is
giving output.  sorta corresponds to my realtek 882 as well.

>   i guess my midiplay test is bunk because actually i have no midi(4) attached
>   to azalia in any way i can find;

yes, azalia(4) doesn't attach any midi(4).

 and also the cat/aucat is also bunk because
>   the codec itself supports sample rates only "down to" (*cough cough cough*)
>   44100 (that's bullshit; thanks realtek or apple or whoever).

aucat(1) can resample.  check the manual on -current.

>   it would still be nice to know if the reason i can't get sound in any case
>   other than headphones in the linein jack is because i suck at mixerctl, or
>   because of something a bit more extenuating than that.

azalia devices such as yours are more complex than what you may be
used to.  in particular, it supports i/o routing and jack sensing.

I suppose there could also be a bug or quirk somewhere.  maybe also try
twiddling outputs.[line|headphones].[boost|mute] in mixerctl???

>   here's the azalia stuff from dmesg after AZALIA_DEBUG -- the device names
>   as enumerated seem to usually correspond to mixerctl variables, but don't
>   quite always correspond super well (which of course may be the nature of the
>   beast and not the fault of the driver or mixerctl); so i am only guessing
>   at what corresponds to 'line3' or also trying to figure out what "line in
>   jack without headphones plugged in", "regular internal speaker", "output
>   jack with headphones plugged on" and "output jack without headphones plugged
>   in" would likely be called:
> 
> ----
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1 
> int 20 (irq 10)
> azalia0: host: High Definition Audio rev. 1.0
> azalia0: host: 4 output, 4 input, and 0 bidi streams
> azalia_attach: resetting
> azalia_attach: reset counter = 4999
> 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: codec[0] vid 0x10ec0885, subid 0x00a1106b, rev. 1.3, HDA version 1.0
> azalia_codec_init: nidstart=1 #functions=1
> azalia_codec_init: FTYPE result = 0x00000101
> azalia_codec_init: There are 37 widgets in the audio function.
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
>         inamp: mute=0 size=0 steps=0 offset=0
>         outamp: mute=0 size=0 steps=0 offset=0
>         gpio: wake=0 unsol=1 gpis=0 gpos=0 gpios=2
> azalia0: dac02 wcap=11<FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: dac03 wcap=11<FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: dac04 wcap=11<FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: dac05 wcap=11<FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: dac06 wcap=211<DIGITAL,FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM 
> formats=1e05e0<32bit,24bit,20bit,16bit,192kHz,96kHz,88.2kHz,48kHz,44.1kHz>
> azalia0: adc07 wcap=10011b<CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
>         inamp: mute=1 size=3 steps=46 offset=16
>         connections=0x24; selected=0x24
> azalia0: adc08 wcap=10011b<CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
>         inamp: mute=1 size=3 steps=46 offset=16
>         connections=0x23; selected=0x23
> azalia0: adc09 wcap=10011b<CONNLIST,FORMATOV,AMPOV,INAMP,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
>         inamp: mute=1 size=3 steps=46 offset=16
>         connections=0x22; selected=0x22
> azalia0: adc0a wcap=100391<DIGITAL,CONNLIST,UNSOL,FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM formats=1e0560<32bit,24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
>         connections=0x1f; selected=0x1f
> azalia0: mix0b wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
>         inamp: mute=1 size=5 steps=31 offset=23
>         connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17; 
> selected=0x18
> azalia0: mix0c wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         outamp: mute=0 size=3 steps=64 offset=64
>         connections=0x2,0xb; selected=0x2
> azalia0: mix0d wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         outamp: mute=0 size=3 steps=64 offset=64
>         connections=0x3,0xb; selected=0x3
> azalia0: mix0e wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         outamp: mute=0 size=3 steps=64 offset=64
>         connections=0x4,0xb; selected=0x4
> azalia0: mix0f wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         outamp: mute=0 size=3 steps=64 offset=64
>         connections=0x5,0xb; selected=0x5
> azalia0: vendor10 wcap=f00000
> azalia0: vendor11 wcap=f00000
> azalia0: vendor12 wcap=f00000
> azalia0: vendor13 wcap=f00000
> azalia0: unknown14 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         
> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [04/00] color=unknown device=speaker conn=fixed conntype=unknown
>         location=n/a chassis=internal special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
> azalia0: green15 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         
> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [05/00] color=green device=headphones conn=jack conntype=combination
>         location=rear chassis=external special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xd
> azalia0: unknown16 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         cap=3c<INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [04/01] color=unknown device=speaker conn=fixed conntype=unknown
>         location=n/a chassis=internal special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xe
> azalia0: unknown17 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         cap=3c<INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [15/00] color=unknown device=line conn=none conntype=unknown
>         location=n/a chassis=external special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xf
> azalia0: unknown18 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         
> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [01/00] color=unknown device=mic conn=fixed conntype=unknown
>         location=n/a chassis=internal special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
> azalia0: unknown19 wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         
> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [15/00] color=unknown device=line conn=none conntype=unknown
>         location=n/a chassis=external special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
> azalia0: blue1a wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         
> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [02/00] color=blue device=line conn=jack conntype=combination
>         location=rear chassis=external special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
> azalia0: unknown1b wcap=40018f<CONNLIST,UNSOL,AMPOV,OUTAMP,INAMP,STEREO>
>         
> cap=373c<VREF100,VREF80,VREFGND,VREF50,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
>         [15/00] color=unknown device=line conn=none conntype=unknown
>         location=n/a chassis=external special=none
>         inamp: mute=0 size=39 steps=3 offset=0
>         outamp: mute=1 size=0 steps=0 offset=0
>         connections=0xc,0xd,0xe,0xf,0x26; selected=0xc
> azalia0: unknown1c wcap=400001<STEREO>
>         cap=20<INPUT>
>         [15/00] color=unknown device=line conn=none conntype=unknown
>         location=n/a chassis=external special=none
> azalia0: unknown1d wcap=400000
>         cap=20<INPUT>
>         [15/00] color=unknown device=line conn=none conntype=unknown
>         location=n/a chassis=external special=none
> azalia0: white1e wcap=400300<DIGITAL,CONNLIST>
>         cap=10<OUTPUT>
>         [06/00] color=white device=SPDIF-out conn=jack conntype=combination
>         location=rear chassis=external special=none
>         connections=0x6; selected=0x6
> azalia0: white1f wcap=400200<DIGITAL>
>         cap=20<INPUT>
>         [03/00] color=white device=SPDIF-in conn=jack conntype=combination
>         location=rear chassis=external special=none
> azalia0: vendor20 wcap=f00040<PROC>
> azalia0: volume21 wcap=600080<UNSOL>
>         delta=0 steps=32
> azalia0: mix22 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17,0xb; 
> selected=0x18
> azalia0: mix23 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17,0xb; 
> selected=0x18
> azalia0: mix24 wcap=20010b<CONNLIST,AMPOV,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         connections=0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x14,0x15,0x16,0x17,0xb; 
> selected=0x18
> azalia0: dac25 wcap=11<FORMATOV,STEREO>
>         encodings=1<PCM>
>         PCM formats=e0560<24bit,20bit,16bit,192kHz,96kHz,48kHz,44.1kHz>
> azalia0: mix26 wcap=20010f<CONNLIST,AMPOV,OUTAMP,INAMP,STEREO>
>         inamp: mute=1 size=0 steps=0 offset=0
>         outamp: mute=0 size=3 steps=64 offset=64
>         connections=0x25,0xb; selected=0x25
> azalia_codec_init: dacgroup[0]: 02
> azalia_codec_init: dacgroup[1]: 02 04
> azalia_codec_init: dacgroup[2]: 03
> azalia_codec_init: dacgroup[3]: 06
> azalia_codec_init: dacgroup[4]: 05
> azalia_codec_init: dacgroup[5]: 25
> azalia0: codec[s]: Realtek/0x0885
> audio0 at azalia0
> azalia_round_blocksize: resultant block size = 9600
> azalia_round_blocksize: resultant block size = 9600
> ----
> 

-- 
[EMAIL PROTECTED]
SDF Public Access UNIX System - http://sdf.lonestar.org

Reply via email to