Hello,

Any luck with this? I am also struggling to get the internal
mic to work on the X1 Carbon 7th Gen. Have gone through
everything discussed here, but still no luck.

My dmesg and mixerctl match those already shared in thread.
Happy to share anything else that might be helpful, but after
reading through the multimedia FAQ and this thread I am
not quite sure where to go next.

Best,
Zachary
Stefan Hagen writes:

> Hello,
>
> I'm struggling to get the internal microphone working on my Thinkpad
> X1 Carbon 7th Gen.
>
> I can record from an external USB microphone on OpenBSD. It is only the
> internal microphone I'm struggling with.
>
> To rule out a hardware fault, I booted windows from a USB drive and the
> microphone works fine in this OS. While being there, I also updated the 
> bios and thunderbolt firmware to the latest version.
>
> Is anyone here that got it working on this machine?
>
> dmesg:
> azalia0 at pci0 dev 31 function 3 "Intel 300 Series HD Audio" rev 0x11: msi
> azalia0: codecs: Realtek ALC285, Intel/0x280b, using Realtek ALC285
> audio0 at azalia0
>
> $ sysctl kern.audio.record
> kern.audio.record=1
>
> $ mixerctl -v
> inputs.dac-2:3=174,174
> inputs.dac-0:1=174,174
> record.adc-0:1_mute=off  [ off on ]
> record.adc-0:1=124,124
> record.adc-2:3_mute=off  [ off on ]
> record.adc-2:3=124,124
> outputs.spkr_source=dac-2:3  [ dac-2:3 ]
> outputs.spkr_mute=off  [ off on ]
> outputs.spkr_eapd=on  [ off on ]
> outputs.spkr2_source=dac-0:1  [ dac-2:3 dac-0:1 ]
> outputs.spkr2_mute=off  [ off on ]
> outputs.spkr2_boost=off  [ off on ]
> inputs.mic=85,85
> outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 
> input-vr100 ]
> outputs.hp_source=dac-0:1  [ dac-2:3 dac-0:1 ]
> outputs.hp_mute=off  [ off on ]
> outputs.hp_boost=off  [ off on ]
> outputs.hp_eapd=on  [ off on ]
> record.adc-2:3_source=mic  { mic }
> record.adc-0:1_source=mic  { mic }
> outputs.mic_sense=unplugged  [ unplugged plugged ]
> outputs.hp_sense=unplugged  [ unplugged plugged ]
> outputs.spkr_muters=hp  { hp }
> outputs.master=255,255
> outputs.master.mute=off  [ off on ]
> outputs.master.slaves=dac-2:3,dac-0:1,spkr,spkr2,hp  { dac-2:3 dac-0:1 spkr 
> spkr2 hp }
> record.volume=124,124
> record.volume.mute=off  [ off on ]
> record.volume.slaves=adc-0:1,adc-2:3  { adc-0:1 adc-2:3 mic }
> record.enable=sysctl  [ off on sysctl ]
>
> I also cranked inputs.mic and record.volume up to 255,255 - no 
> difference.
>
> $ sndiod -ddd -f rsnd/0 -m play,rec # while aucat -o test.wav
> snd0 pst=cfg.default: rec=0:1 play=0:1 vol=23170 dup
> helper(helper|ini): created
> worker(worker|ini): created
> listen(/tmp/sndio/sock0|ini): created
> sock(sock|ini): created
> helper: recv: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1
> helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3
> helper: recv: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1
> helper: send: cmd = 3, num = 0, idx = 0, mode = 0, fd = 3
> sock,rmsg,widl: AUTH message
> sock,rmsg,widl: HELLO message
> sock,rmsg,widl: hello from <aucat>, mode = 2, ver 7
> snd0 pst=cfg: device requested
> worker: send: cmd = 0, num = 0, idx = 0, mode = 3, fd = -1
> worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 6
> snd0 pst=cfg: using rsnd/0
> worker: send: cmd = 2, num = 0, idx = 0, mode = 768, fd = -1
> worker: recv: cmd = 3, num = 0, idx = 0, mode = 0, fd = 7
> sio(dev|ini): created
> sioctl(mix|ini): created
> snd0 pst=cfg: adding output0.level=255 at 25
> snd0 pst=cfg: adding output1.level=255 at 26
> snd0 pst=cfg: adding output0.mute=0 at 57
> snd0 pst=cfg: adding output1.mute=0 at 58
> snd0 pst=cfg: adding input0.level=124 at 89
> snd0 pst=cfg: adding input1.level=124 at 90
> snd0 pst=cfg: adding input0.mute=0 at 121
> snd0 pst=cfg: adding input1.mute=0 at 122
> snd0 pst=cfg: 48000Hz, s16le, play 0:1, rec 0:1, 16 blocks of 480 frames
> snd0 pst=cfg: adding app/aucat0.level=127 at 0
> aucat0 vol=127,pst=ini: using snd0 pst=ini.default, mode = 2
> aucat0 vol=127,pst=ini,rmsg,widl: SETPAR message
> aucat0 vol=127,pst=ini,rmsg,widl: recording channels 0:1 ->0:1
> aucat0 vol=127,pst=ini,rmsg,widl: 48000Hz sample rate, 480 frame blocks
> aucat0 vol=127,pst=ini,rmsg,widl: 9600 frame buffer
> aucat0 vol=127,pst=ini,rmsg,widl: GETPAR message
> aucat0 vol=127,pst=ini,rmsg,widl: GETPAR message
> aucat0 vol=127,pst=ini,rmsg,widl: START message
> aucat0 vol=127,pst=ini: recording s16le <- s16le
> cmap: nch = 2, ostart = 0, onext = 0, istart = 0, inext = 0
> aucat0 vol=127,pst=ini: allocated 9600/17280 fr buffers
> snd0 pst=ini: device started
> snd0 pst=run: started
> aucat0 vol=127,pst=run: attached at -7680, delta = 0
> aucat0 vol=127,pst=run: 48000Hz, s16le, rec 0:1, 20 blocks of 480 frames
> aucat0 vol=127,pst=run,rmsg,widl: building SETVOL message, vol = 127
> aucat0 vol=127,pst=run: prime = 16
> aucat0 vol=127,pst=run: prime = 15
> aucat0 vol=127,pst=run: prime = 14
> aucat0 vol=127,pst=run: prime = 13
> aucat0 vol=127,pst=run: prime = 12
> aucat0 vol=127,pst=run: prime = 11
> aucat0 vol=127,pst=run: prime = 10
> aucat0 vol=127,pst=run: prime = 9
> aucat0 vol=127,pst=run: prime = 8
> aucat0 vol=127,pst=run: prime = 7
> aucat0 vol=127,pst=run: prime = 6
> aucat0 vol=127,pst=run: prime = 5
> aucat0 vol=127,pst=run: prime = 4
> aucat0 vol=127,pst=run: prime = 3
> aucat0 vol=127,pst=run: prime = 2
> aucat0 vol=127,pst=run: prime = 1
> aucat0 vol=127,pst=run,rmsg,widl: STOP message
> aucat0 vol=127,pst=run: stopping
> aucat0 vol=127,pst=run: detaching
> aucat0 vol=127,pst=ini,rmsg,widl: stopped
> aucat0 vol=127,pst=ini,rmsg,widl: building STOP message
> aucat0 vol=127,pst=ini,rmsg,widl: BYE message
> aucat0 vol=127,pst=ini,rmsg,widl: closing
> snd0 pst=run: device released
> sock(sock|zom): destroyed
> snd0 pst=run: device stopped
> snd0 pst=run: stopped, load avg = 11731 / 3829570
> snd0 pst=cfg: software master level control enabled
> snd0 pst=cfg: adding output.level=127 at 8
> snd0 pst=cfg: closed
> sio(dev|zom): destroyed
> sioctl(mix|zom): destroyed
> snd0 pst=cfg: closing
>
> The resulting file contains silence (some white noise at 300% volume)
>
> Any idea what I'm missing? 
>
> Thanks and best regards,
> Stefan

Reply via email to