On Wed, Mar 24, 2010 at 10:26:59PM -0400, Jean-Philippe Ouellet wrote:
> On 3/24/10 8:10 PM, Jacob Meuser wrote:
> >On Wed, Mar 24, 2010 at 07:12:13PM -0400, Jean-Philippe Ouellet wrote:
> >>On 3/24/10 6:49 PM, Jacob Meuser wrote:
> >>>On Wed, Mar 24, 2010 at 06:19:31PM -0400, Jean-Philippe Ouellet wrote:
> >>>>I run OpenBSD amd64 current (as of 2 weeks ago) on my MacBookPro5,3
> >>>>(the latest 15 inch).
> >>>
> >>>>Sound seems to not work, despite azalia showing up in the dmesg, but
> >>>>I can't say that I've thoroughly tested it either.
> >>>
> >>>yeah, more stupid GPIO quirks needed. way to go, Apple.
> >>>
> >>>send me a `mixerctl -v` please.
> >>
> >>inputs.dac-2:3_mute=off [ off on ]
> >>inputs.dac-2:3=126,126
> >>inputs.dac-4:5_mute=off [ off on ]
> >>inputs.dac-4:5=126,126
> >>inputs.dac-0:1_mute=off [ off on ]
> >>inputs.dac-0:1=126,126
> >>record.adc-2:3_source=line-in [ line-in ]
> >>record.adc-2:3_mute=off [ off on ]
> >>record.adc-2:3=124,124
> >>record.adc-0:1_source=mic [ mic ]
> >>record.adc-0:1_mute=off [ off on ]
> >>record.adc-0:1=124,124
> >>record.dig-adc-0:1_sou=SPDIF-in [ SPDIF-in ]
> >>outputs.hp_source=dac-2:3 [ dac-2:3 ]
> >>outputs.hp_boost=off [ off on ]
> >>outputs.spkr_source=dac-4:5 [ dac-4:5 ]
> >>outputs.spkr2_source=dac-0:1 [ dac-0:1 ]
> >
> >hmm. I committed patches to deal with 2 speaker sets a few
> >days ago (3/21). is the kernel newer than that? please make sure
> >it is an see if you get sound on either headphones or built-in
> >speakers.
> >
> >>inputs.line-in=85,85
> >>inputs.mic=85,85
> >>outputs.mic_dir=input-vr80 [ none input input-vr0 input-vr50 input-vr80 ]
> >>outputs.SPDIF_source=dig-dac-0:1 [ dig-dac-0:1 ]
> >>outputs.hp_sense=unplugged [ unplugged plugged ]
> >>outputs.line-in_sense=unplugged [ unplugged plugged ]
> >>outputs.SPDIF-in_sense=unplugged [ unplugged plugged ]
> >>outputs.spkr_muters=hp,line-in,SPDIF-in { hp line-in SPDIF-in }
> >>outputs.master=126,126
> >>outputs.master.mute=off [ off on ]
> >>outputs.master.slaves=dac-4:5,dac-0:1 { dac-2:3 dac-4:5 dac-0:1 }
> >>record.volume=124,124
> >>record.volume.mute=off [ off on ]
> >>record.volume.slaves=adc-2:3,adc-0:1 { adc-2:3 adc-0:1 line-in mic }
> >>outputs.mode=analog [ analog digital ]
> >>record.mode=analog [ analog digital ]
>
> Thanks for looking into this, and sorry for replying to you
> directly, I meant to send it to the list as it could be useful to
> somebody in the future.
>
> In the 3/9 kernel, there is no sound output anywhere.
>
> In the 3/23 kernel, I get output in headphones.
I see now how ugly this codec/configuration really is. separate
DACS for each output, all of which should get channels 0:1. I'll
have to think about this ...
> Here is a new mixerctl -v:
> inputs.dac-2:3_mute=off [ off on ]
> inputs.dac-2:3=126,126
> inputs.dac-4:5_mute=off [ off on ]
> inputs.dac-4:5=126,126
> inputs.dac-0:1_mute=off [ off on ]
> inputs.dac-0:1=126,126
do any of the inputs.dac-?:?_mute change to 'on' when you
plug in the headphones?
--
[email protected]
SDF Public Access UNIX System - http://sdf.lonestar.org