On 2022-07-05 10:08:28, Fons Adriaensen via arch-general wrote:
On Tue, Jul 05, 2022 at 10:25:14AM +0800, Sadeep Madurange via arch-general wrote:
**** 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
This means that to record from the built-in mic you need
arecord -D hw:0,6 <other args> ^^^^^^^^^
The default (probably -D hw:0,0) would record from the HDA device, which may be wired to an extern mic input or not at all.
-- FA
Hi FA and everyone else that was helping, I just got the mic to work by installing pipewire. FA, I think you are right because when I installed pipewire and checked pavucontrol, I can see that the mic selected now is dmic. When I try arecord with `-D hw:0,6`, though, I get an error "arecord set_params:1396: Channels count non available". To summarise, what I did was to install sof-firmware and then install pipewire and reboot the machine. Thanks to everyone here and irc!