Thank you for the susepaste output you provided in a later post.
You audio input is CLEARLY detected. Look at this from arecord in the script:
**** 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
Capture devices may mean your microphones in this case. Ok?
However when I look at your mixer settings, you should be capturing audio ok. I note:
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 1 [33%] [10.00dB]
Front Right: 1 [33%] [10.00dB]
.
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]
.
Simple mixer control 'Dmic0',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 70
Front Left: Capture 55 [79%] [5.00dB] [on]
Front Right: Capture 55 [79%] [5.00dB] [on]
Simple mixer control 'Dmic1 2nd',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 70
Front Left: Capture 50 [71%] [0.00dB]
Front Right: Capture 50 [71%] [0.00dB]
.
Simple mixer control 'PGA2.0 2 Master',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 80
Front Left: Capture 50 [62%] [0.00dB]
Front Right: Capture 50 [62%] [0.00dB]
So that all looks ok.
I believe your internal mic (which I assume you are attempting to get working) is Dmic0 and Dmic1 (as seen in the mixer), and corresponds to Card-0 Device-6 and Card-0 Device-7.
Lets check the Dmic0 which is Card-0 Device-6 (ie hw:0,6) to see if it will record.
To check that I need to see the number of channels in that device. So send this command in a bash shell for card-0 device 6:
arecord -D hw:0,6 --dump-hw-params
check its contents and note what I type below.
The previous ‘dump-hw-params’ command argument I specified will let you know how many channels and the available format. For the test I propose you need to know that.
In the example I provide below I will assume that S16_LE is an available format and I will assume that hw:0,6 is 2 channels (in contrast, on my Lenovo is is 4 channels), so correct the command below as necessary. Note -d 10 indicates the record duration and it is saved to test_mic.wav. After a 10 second recording test, play back and see if any audio recorded.
So send this command (including your edits instead) in a bash shell.
arecord -D hw:0,6 -d 10 -f S16_LE -c 2 -r 48000 test_mic.wav
The replay ‘test_mic.wav’ with a media player. You may have to turn up the volume very high to hear the recording.
If you hear audio, my suspicion is your pulseaudio or pipewire is not correctly configured to record with the app you are trying. Have you tried installing and running pavucontrol to assess if the microphone was properly selected for your app?
.
If you still have no success, can you then run the script with root permissions, where if you run with root permissions, it will populate the ‘dmesg’ at the bottom of the script. ie:
sudo /usr/sbin/alsa-info.sh
and as before, post a link to the script output. Hopefully that will not be necessary.
Good luck!