ThinkPad X270
OpenBSD -current snapshot from April 17
mixer defaults to this for built-in microphone input:
record.adc-0:1_source=mic2 [ mic2 mix mic ]
Yet, this is what works:
record.adc-0:1_source=mic [ mic2 mix mic ]
mic2 is not functional/'real' hardware.
There are scattered reports in misc@ and elsewhere of ThinkPads from ca.
2015-2020 failing to accept built-in microphone input in OpenBSD,
including models from the same year as the X270 with matching internal
hardware (2017 = X1 Carbon 5th gen., T(4/5)70, etc.). Incorrect
defaulting might be the problem in such instances.
Output of `dmesg | grep azalia`:
azalia0 at pci0 dev 31 function 3 "Intel 200 Series HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC298, Intel/0x280b, using Realtek ALC298
audio0 at azalia0
azalia0 at pci0 dev 31 function 3 "Intel 200 Series HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC298, Intel/0x280b, using Realtek ALC298
audio0 at azalia0
azalia0 at pci0 dev 31 function 3 "Intel 200 Series HD Audio" rev 0x21: msi
azalia0: codecs: Realtek ALC298, Intel/0x280b, using Realtek ALC298
audio0 at azalia0
Output of `mixerctl -av` with `record.adc-0:1_source=mic` set manually
in mixerctl.conf(5):
inputs.dac-0:1=238,238
inputs.dac-2:3=238,238
record.adc-4:5_mute=off [ off on ]
record.adc-4:5=126,126
record.adc-0:1_mute=off [ off on ]
record.adc-0:1=126,126
inputs.mix_source=mic2 { mic2 }
inputs.mix_mic2=120,120
inputs.mix2_source=dac-0:1,mix { dac-0:1 mix }
inputs.mix3_source=dac-2:3 { dac-2:3 }
record.adc-2:3_mute=off [ off on ]
record.adc-2:3=126,126
inputs.mic=85,85
outputs.spkr_source=mix3 [ mix2 mix3 ]
outputs.spkr_mute=off [ off on ]
outputs.spkr_eapd=on [ off on ]
inputs.mic2=85,85
outputs.mic2_dir=input-vr80 [ none input input-vr0 input-vr50
input-vr80 input-vr100 ]
outputs.hp_source=mix2 [ mix2 mix3 ]
outputs.hp_mute=off [ off on ]
outputs.hp_boost=off [ off on ]
record.adc-0:1_source=mic [ mic2 mix mic ]
record.adc-4:5_source=mic2 [ mic2 mix ]
record.adc-2:3_source=mic [ mic ]
outputs.mic2_sense=unplugged [ unplugged plugged ]
outputs.hp_sense=unplugged [ unplugged plugged ]
outputs.spkr_muters=hp { hp }
outputs.master=238,238
outputs.master.mute=off [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp { dac-0:1 dac-2:3 spkr hp }
record.volume=126,126
record.volume.mute=off [ off on ]
record.volume.slaves=adc-4:5,adc-0:1,adc-2:3 { adc-4:5 adc-0:1 adc-2:3
mic mic2 }
record.enable=sysctl [ off on sysctl ]
-----
Thank you, folks.
Corey
Corey Stephan, Ph.D.
coreystephan.com