Mic not working on HP Elitebook Fedora 33

Hi there,

I am having trouble with my sound, which was not working at all first and now I got it to work by adding options snd-intel-dspcfg dsp_driver=1 to the alsa.conf file (which I had to create, there was none in /etc/modprobe.d). the mic is still not working, perhaps there is an obvious reason for that. I will post some alsa output which includes the system info. The soundcard is recognized and I get a big list of drivers when I grep for the snd in th modules. I should probably add I have added a few more lines to the alsa.conf but played around with them and checked with and without (see below). Maybe someone can help :slight_smile:

options snd-hda-intel index=0 model=laptop-dmic
options snd-intel-dspcfg dsp_driver=1
options snd-intel-dmicfg dmic_driver=1
options snd-hda-intel enable_msi=1
options snd_hda_intel enable=1
options snd_hda_intel.dmic_detect=1


!!################################
!!ALSA Information Script v 0.4.65
!!################################

!!Script ran on: Tue Mar  2 22:58:42 UTC 2021


!!Linux Distribution
!!------------------

Fedora release 33 (Thirty Three) 

!!DMI Information
!!---------------

Manufacturer:      HP
Product Name:      HP EliteBook 840 G6
Product Version:   
Firmware Version:  R70 Ver. 01.02.00
System SKU:        7YM32ES#ABD
Board Vendor:      HP
Board Name:        8549


!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/ACPI000C:00/status 	 15
/sys/bus/acpi/devices/HPIC000C:00/status 	 15
/sys/bus/acpi/devices/HPQ6001:00/status 	 15
/sys/bus/acpi/devices/IFX0785:00/status 	 15
/sys/bus/acpi/devices/INT3400:00/status 	 15
/sys/bus/acpi/devices/INT3403:00/status 	 15
/sys/bus/acpi/devices/INT3403:01/status 	 15
/sys/bus/acpi/devices/INT340E:00/status 	 15
/sys/bus/acpi/devices/INT34BB:00/status 	 15
/sys/bus/acpi/devices/INT3F0D:00/status 	 15
/sys/bus/acpi/devices/LNXPOWER:00/status 	 15
/sys/bus/acpi/devices/LNXPOWER:02/status 	 1
/sys/bus/acpi/devices/LNXPOWER:04/status 	 1
/sys/bus/acpi/devices/LNXPOWER:05/status 	 1
/sys/bus/acpi/devices/LNXPOWER:06/status 	 1
/sys/bus/acpi/devices/LNXPOWER:07/status 	 1
/sys/bus/acpi/devices/PNP0103:00/status 	 15
/sys/bus/acpi/devices/PNP0B00:00/status 	 15
/sys/bus/acpi/devices/PNP0C02:00/status 	 3
/sys/bus/acpi/devices/PNP0C02:01/status 	 3
/sys/bus/acpi/devices/PNP0C02:05/status 	 3
/sys/bus/acpi/devices/PNP0C09:00/status 	 15
/sys/bus/acpi/devices/PNP0C0A:00/status 	 31
/sys/bus/acpi/devices/PNP0C0C:00/status 	 11
/sys/bus/acpi/devices/PRP00001:00/status 	 11
/sys/bus/acpi/devices/SYNA3091:00/status 	 15
/sys/bus/acpi/devices/USBC000:00/status 	 15
/sys/bus/acpi/devices/device:04/status 	 15
/sys/bus/acpi/devices/device:27/status 	 15
/sys/bus/acpi/devices/device:28/status 	 15
/sys/bus/acpi/devices/device:45/status 	 15


!!Kernel Information
!!------------------

Kernel release:    5.10.18-200.fc33.x86_64
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         x86_64
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k5.10.18-200.fc33.x86_64
Library version:    
Utilities version:  1.2.4


!!Loaded ALSA modules
!!-------------------

snd_hda_intel


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0x4000108000 irq 145


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 11)
	Subsystem: Hewlett-Packard Company Device [103c:8549]


!!Modprobe options (Sound related)
!!--------------------------------

snd_hda_intel: index=0 model=laptop-dmic
snd_intel_dspcfg: dsp_driver=1
snd_intel_dmicfg: dmic_driver=1
snd_hda_intel: enable_msi=1


!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
	align_buffer_size : -1
	bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
	dmic_detect : Y
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : laptop-dmic,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	pm_blacklist : Y
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 1
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : -1
	snoop : -1

when I run

arecord -f S16_LE -d 10 -r 16000 --device=“hw:1,0” /tmp/test-mic.wav

I get

ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
arecord: main:830: audio open error: No such file or directory

Welcome to ask fedora @schwebo

I do have bad and good news for you !
The bad one is that I do have also trouble with my mic out of the box. Looks like my Fedora32 is not able to recognize it.

The good new is, that I heard from the Fedora test week and I was installing Fedora 34 Testing on a external hard-disk and it worked out of the box the sound and mic. As Fedora 34 is not too far away, you might want to test it also to see if your sound/mic is recognized.

The test builds you find here: Index of /fedora/development/34
Testweek info’s:
Contribute at the Fedora Test Week for Kernel 5.11, Audio, and i18n test days

okay thank you! i will definitely try that :slight_smile:

1 Like