You are not logged in.
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 -lreturns 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 #0I 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=yesLast edited by kovac (2022-07-06 03:27:08)
Offline
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
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 -lto 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 #0Based 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.wavto record. -c 2 flag is because it's a stereo mic.
Last edited by kovac (2022-07-06 03:26:32)
Offline