You are not logged in.

#1 2022-07-04 11:10:39

kovac
Member
Registered: 2020-03-14
Posts: 41

[Solved] ThinkPad X1 Carbon Mic is not working

I installed 5.18.9-arch1-1 on a ThinkPad X1 Carbon. However, I can't get the mic to work. I'm using alsa (no pulseaudio) to manage audio. Firstly, I can't get the F4 button LED to change when I set capture using

amixer set Capture '100%'

, I get the following output.

Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 63 [100%] [30.00dB] [on]
  Front Right: Capture 63 [100%] [30.00dB] [on]

However, when I try to record something I can't get it to work. I had to install to sof-firmware to get my speakers to work.

arecord -l

returns the following output.

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC287 Analog [ALC287 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I have also added following to /etc/modprobe.d/audiofix.conf:

options snd-hda-intel dmic_detect=0
options snd-hda-intel model=laptop-amic enable=yes

Last edited by kovac (2022-07-06 03:27:08)

Offline

#2 2022-07-04 14:25:26

JoeyCorleone
Member
Registered: 2022-01-22
Posts: 88

Re: [Solved] ThinkPad X1 Carbon Mic is not working

I have not read into this, but just to let you know: there have been discussions about getting sound and mic to work on your device.

Offline

#3 2022-07-06 03:23:31

kovac
Member
Registered: 2020-03-14
Posts: 41

Re: [Solved] ThinkPad X1 Carbon Mic is not working

Fixed this by installing pipewire, pavucontrol and pipewire-pulse along with sof-firmware. I also removed the audiofix.conf file which changed the output of my

arecord -l

to the following:

**** List of CAPTURE Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 6: DMIC (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 7: DMIC16kHz (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0

Based on the feedback I got in the mailing list, I think the root cause of this was using the wrong device. I needed something like

arecord -c 2 -D hw:0,6 --duration=5 --format=dat foo.wav

to record. -c 2 flag is because it's a stereo mic.

Last edited by kovac (2022-07-06 03:26:32)

Offline

Board footer

Powered by FluxBB