Fix internal laptop microphone

I have bought a new laptop (Dell Inspiron 16), but the internal microphone doesn’t work. I can see three input sources: internal, headphones, and digital microphone (Family 17h/19h HD Audio Controller). But no one works.

Screenshot from 2024-07-18 14-12-58

I tested whit pulseaudio and pipewire and both didn’t solve the issue
lscpi -v

03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
	Subsystem: Dell Device 0c9e
	Flags: bus master, fast devsel, latency 0, IRQ 70, IOMMU group 20
	Memory at 606c0000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
...
arecord -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=Generic_1
    HD-Audio Generic, ALC3254 Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC3254 Analog
    Front output / input
sysdefault:CARD=acp63
    acp63, 
    Default Audio Device
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: ALC3254 Analog [ALC3254 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 2: acp63 [acp63], device 0: DMIC capture dmic-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

alsamixer:

DId you try F4 in alsamixer to see ‘capture’ device, which is microphone?
Your screen shows playback device only.

Also to note, My Laptop Keyboard has a Mic Lock with Fn+F4 and from the OP’s screenshot, it looks locked. . .

1 Like

i can’t figure it out which one is the one

I think it’s for customizing the right and left channels of the microphone.

Does your microphone work?
(at least I know it’s my problem)

yes it works !

Fn+F4 will lock it like this image

Done and what you use as input?
also how do you have edited this settings page?

PulseAudio Volume Control


i don’t know what to do :slight_smile:

On ‘Input device’ tab, select one option on drop-down list.

A similar model (Inspirion 15) appears to require the new audio driver according to section 3 of this Arch wiki.

Check if capturing device in alsamixer is unmuted. Guide.

Can you see which firmware you have installed?
sudo dnf list alsa-*firmware

1 Like

Last metadata expiration check: 0:08:17 ago on Thu 18 Jul 2024 05:34:21 PM EDT.
Installed Packages
alsa-sof-firmware.noarch 2024.03-2.fc40 @anaconda
Available Packages
alsa-firmware.noarch 1.2.4-12.fc40 fedora
alsa-tools-firmware.x86_64 1.2.11-2.fc40 fedora

I tried Ubuntu Live and it does work properly.
how can i “copy the configuration”

uname -r
lspci | grep -i audio
cat /etc/asound.conf
cat ~/.asoundrc
lsmod | grep snd
groups $USER
dmesg | grep -i audio
journalctl -xe | grep -i audio

UBUNTU:
############
6.8.0-31-generic
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
cat: /etc/asound.conf: No such file or directory
cat: /home/ubuntu/.asoundrc: No such file or directory
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_soc_acp6x_mach 28672 0
snd_acp6x_pdm_dma 12288 0
snd_soc_dmic 12288 0
snd_sof_amd_acp63 16384 0
snd_sof_amd_vangogh 16384 0
snd_sof_amd_rembrandt 16384 0
snd_sof_amd_renoir 16384 0
snd_sof_amd_acp 61440 4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_pci 24576 4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_xtensa_dsp 12288 1 snd_sof_amd_acp
snd_sof 380928 2 snd_sof_amd_acp,snd_sof_pci
snd_ctl_led 24576 0
snd_sof_utils 16384 1 snd_sof
snd_soc_core 454656 4 snd_soc_acp6x_mach,snd_sof,snd_acp6x_pdm_dma,snd_soc_dmic
snd_hda_codec_realtek 200704 1
snd_compress 28672 1 snd_soc_core
ac97_bus 12288 1 snd_soc_core
snd_hda_codec_generic 122880 1 snd_hda_codec_realtek
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_codec_hdmi 94208 1
snd_pci_ps 24576 0
snd_hda_intel 61440 2
snd_rpl_pci_acp6x 16384 0
snd_intel_dspcfg 36864 2 snd_hda_intel,snd_sof
snd_acp_pci 12288 0
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
snd_hda_codec 217088 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_acp_legacy_common 16384 1 snd_acp_pci
snd_pci_acp6x 16384 0
snd_hda_core 151552 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 200704 13 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_acp6x_pdm_dma,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd_seq_midi 24576 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 57344 1 snd_seq_midi
snd_seq 118784 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
snd 147456 21 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
snd_pci_acp5x 16384 0
soundcore 16384 2 snd_ctl_led,snd
snd_rn_pci_acp3x 16384 0
ledtrig_audio 12288 3 snd_ctl_led,dell_wmi,dell_laptop
snd_acp_config 20480 9 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
snd_soc_acpi 20480 2 snd_sof_amd_acp,snd_acp_config
snd_pci_acp3x 16384 0
ubuntu : ubuntu adm cdrom sudo dip plugdev users lpadmin sambashare
ournalctl -xe | grep -i audio
[ 13.013796] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[ 13.078979] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input10
[ 13.079086] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input11
[ 13.087525] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3254: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 13.087530] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 13.087532] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 13.087533] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 13.087534] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 13.087536] snd_hda_codec_realtek hdaudioC1D0: Headset Mic=0x19
[ 13.087537] snd_hda_codec_realtek hdaudioC1D0: Headphone Mic=0x1b
[ 13.087539] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
[ 14.580163] input: HD-Audio Generic Headphone Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input14
[ 15.312657] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

FEDORA:
####################
6.8.5-301.fc40.x86_64
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 63)
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller

Place your global alsa-lib configuration here…

cat: /home/mark/.asoundrc: No such file or directory
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_soc_dmic 12288 1
snd_ps_pdm_dma 16384 1
snd_soc_ps_mach 12288 5
snd_sof_amd_acp63 16384 0
snd_sof_amd_vangogh 16384 0
snd_sof_amd_rembrandt 16384 0
snd_sof_amd_renoir 16384 0
snd_sof_amd_acp 69632 4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_pci 24576 4 snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_sof_amd_renoir
snd_sof_xtensa_dsp 16384 1 snd_sof_amd_acp
snd_ctl_led 24576 0
snd_sof 454656 2 snd_sof_amd_acp,snd_sof_pci
snd_hda_codec_realtek 204800 1
snd_sof_utils 16384 1 snd_sof
snd_hda_codec_generic 114688 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 94208 1
snd_soc_core 466944 4 snd_sof,snd_soc_ps_mach,snd_ps_pdm_dma,snd_soc_dmic
snd_hda_intel 65536 14
snd_compress 28672 1 snd_soc_core
snd_intel_dspcfg 40960 2 snd_hda_intel,snd_sof
snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg
ac97_bus 12288 1 snd_soc_core
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_codec 225280 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_pci_ps 24576 0
snd_rpl_pci_acp6x 16384 0
snd_hda_core 151552 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_acp_pci 12288 0
snd_hwdep 20480 1 snd_hda_codec
snd_acp_legacy_common 16384 1 snd_acp_pci
snd_pci_acp6x 20480 0
snd_seq 126976 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_pcm 188416 15 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_hda_codec,snd_sof,snd_ps_pdm_dma,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
snd_pci_acp5x 16384 0
snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm
snd_rn_pci_acp3x 24576 0
snd 151552 52 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
snd_acp_config 24576 9 snd_rn_pci_acp3x,snd_pci_acp6x,snd_pci_acp5x,snd_sof_amd_rembrandt,snd_sof_amd_vangogh,snd_sof_amd_acp63,snd_acp_pci,snd_pci_ps,snd_sof_amd_renoir
ledtrig_audio 12288 3 snd_ctl_led,dell_wmi,dell_laptop
snd_soc_acpi 16384 2 snd_sof_amd_acp,snd_acp_config
soundcore 16384 2 snd_ctl_led,snd
snd_pci_acp3x 16384 0
mark : mark wheel audio
[ 8.999526] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[ 9.007406] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 9.008559] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input11
[ 9.008684] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input12
[ 9.028655] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC3254: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 9.028660] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 9.028662] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 9.028664] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 9.028665] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 9.028667] snd_hda_codec_realtek hdaudioC1D0: Headset Mic=0x19
[ 9.028668] snd_hda_codec_realtek hdaudioC1D0: Headphone Mic=0x1b
[ 9.028670] snd_hda_codec_realtek hdaudioC1D0: Internal Mic=0x12
[ 9.697326] input: HD-Audio Generic Headphone Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input13

One difference that jumps out is that snd_soc_dmic is in use on Fedora but not on Ubuntu.

You could try loading the regular alsa firmware to see if it changes any indications.
sudo dnf install alsa-firmware

You could also try blacklisting the snd_soc_dmic module.

3 Likes

thank you so much, procedure:
sudo dnf install alsa-firmware

sudo nano /etc/modprobe.d/blacklist-snd_soc_dmic.conf

Add following line
blacklist snd_soc_dmic

sudo dracut -f

sudo reboot

2 Likes

I just wanted to let you know that same procedure worked with a brand-new Dell Inspiron 16 5645 (amd) running Manjaro.

Great job guys. :+1: