On Fri, May 28, 2021 at 3:24 PM Morgan Aldridge <[email protected]> wrote: > > >Synopsis: Audio output & plug sense issues on 2013 Mac Pro > >Category: system > >Environment: > System : OpenBSD 6.9 > Details : OpenBSD 6.9-current (GENERIC.MP) #35: Thu May 27 > 06:31:58 MDT 2021 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > The 2013 Mac Pro has no audio inputs and three audio outputs (one > analog > -only 3.5mm headphone jack, one optical/analog 3.5mm speaker jack, > and a built-in speaker). I am unable to get any analog audio out of the two > 3.5mm speaker outputs. The plugged sensing doesn't appear to work on > outputs.hp (presumably the 3.5mm headphone jack), and works on outputs.SPDIF > (presumably the optical/analog 3.5mm speaker jack), but is reversed on the > latter. > > Since the sense is reversed on outputs.SPDIF, one has to remove SPDIF > from outputs.spkr_muters (it defaults to "hp,SPDIF") in order to get output > from the build-in speaker. > >How-To-Repeat: > Don't plug 3.5mm speakers/headphones into either of the output ports, > run 'mixerctl -va' and you will get the following output (note that > outputs.SPDIF_sense=plugged): > > inputs.dac-0:1_mute=off [ off on ] > inputs.dac-0:1=126,126 > inputs.dac-4:5_mute=on [ off on ] > inputs.dac-4:5=126,126 > inputs.dac-2:3_mute=off [ off on ] > inputs.dac-2:3=126,126 > record.adc-0:1_source=mic [ mic ] > record.adc-0:1_mute=off [ off on ] > record.adc-0:1=124,124 > outputs.hp_source=dac-0:1 [ dac-0:1 ] > outputs.hp_mute=off [ off on ] > outputs.hp=126,126 > outputs.hp_boost=off [ off on ] > outputs.spkr_source=dac-4:5 [ dac-4:5 ] > outputs.line_source=dac-2:3 [ dac-2:3 ] > inputs.mic=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.mic_sense=unplugged [ unplugged plugged ] > outputs.SPDIF_sense=plugged [ unplugged plugged ] > outputs.spkr_muters=hp,SPDIF { hp SPDIF } > outputs.master=126,126 > outputs.master.mute=off [ off on ] > outputs.master.slaves=dac-0:1,dac-4:5,hp { dac-0:1 dac-4:5 dac-2:3 > hp } > record.volume=124,124 > record.volume.mute=off [ off on ] > record.volume.slaves=adc-0:1 { adc-0:1 mic } > outputs.mode=analog [ analog digital ] > record.enable=sysctl [ off on sysctl ] > > No audio will play through the internal speaker. > > Plug any 3.5mm speakers/headphones into the optical/analog speaker > output port, run 'mixerctl -va' and you will get the following output > (note that outpus.SPDIF_sense=unplugged): > > inputs.dac-0:1_mute=off [ off on ] > inputs.dac-0:1=126,126 > inputs.dac-4:5_mute=off [ off on ] > inputs.dac-4:5=126,126 > inputs.dac-2:3_mute=off [ off on ] > inputs.dac-2:3=126,126 > record.adc-0:1_source=mic [ mic ] > record.adc-0:1_mute=off [ off on ] > record.adc-0:1=124,124 > outputs.hp_source=dac-0:1 [ dac-0:1 ] > outputs.hp_mute=off [ off on ] > outputs.hp=126,126 > outputs.hp_boost=off [ off on ] > outputs.spkr_source=dac-4:5 [ dac-4:5 ] > outputs.line_source=dac-2:3 [ dac-2:3 ] > inputs.mic=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.mic_sense=unplugged [ unplugged plugged ] > outputs.SPDIF_sense=unplugged [ unplugged plugged ] > outputs.spkr_muters=hp,SPDIF { hp SPDIF } > outputs.master=126,126 > outputs.master.mute=off [ off on ] > outputs.master.slaves=dac-0:1,dac-4:5,hp { dac-0:1 dac-4:5 dac-2:3 > hp } > record.volume=124,124 > record.volume.mute=off [ off on ] > record.volume.slaves=adc-0:1 { adc-0:1 mic } > outputs.mode=analog [ analog digital ] > record.enable=sysctl [ off on sysctl ] > > No audio will play through the analog 3.5mm speaker output port, but > audio will play through the internal speaker.
Correction: I can get audio out via the analog-only 3.5mm headphone jack, but it still reports outputs.hp_sense=unplugged. The rest of the report is still accurate. Morgan
