I have the same problem as this thread. Unfortunately I don't have dmic_detect in the config files.
Here it my information. The laptop is a Lenovo X1 Extreme Gen3 I have a new laptop and my mic isnt recoginzed by ubuntu (18.04 or 20.04) $ uname -r 5.4.66-050466-generic I've been playing with settings to try to get: snd_hda_intel to work, and then got lost trying to replace it with sof-firmware per: https://askubuntu.com/questions/1203799/internal-microphone-not- detected-lenovo-carbon-x1-7th-gen-ubuntu-19 and also https://mathieularose.com/ubuntu-19-10-on-lenovo-thinkpad-x1-carbon-7th- gen/ Currently commented blacklist like so: ``` # blacklist snd_hda_intel # blacklist snd_soc_skl ``` Which allows my speakers, but not my mic If I uncomment, I can't see either. I have a thinkpad dock, so some "mic" is identified through the thunderbolt dock, when I unplug it, I have no mic recognized ``` ls -l /lib/firmware/intel/sof-tplg/ total 1664 -rw-r--r-- 1 root root 33227 Aug 19 15:17 sof-apl-da7219.tplg -rw-r--r-- 1 root root 23311 Aug 19 15:17 sof-apl-demux-pcm512x.tplg -rw-r--r-- 1 root root 10295 Aug 19 15:17 sof-apl-dmic-2ch.tplg -rw-r--r-- 1 root root 10431 Aug 19 15:17 sof-apl-dmic-4ch.tplg -rw-r--r-- 1 root root 10295 Aug 19 15:17 sof-apl-dmic-a2ch-b2ch.tplg -rw-r--r-- 1 root root 10363 Aug 19 15:17 sof-apl-dmic-a2ch-b4ch.tplg -rw-r--r-- 1 root root 5223 Aug 19 15:17 sof-apl-dmic-a2ch.tplg -rw-r--r-- 1 root root 10363 Aug 19 15:17 sof-apl-dmic-a4ch-b2ch.tplg -rw-r--r-- 1 root root 5223 Aug 19 15:17 sof-apl-dmic-b2ch.tplg -rw-r--r-- 1 root root 6743 Aug 19 15:17 sof-apl-eq-dmic.tplg -rw-r--r-- 1 root root 7223 Aug 19 15:17 sof-apl-eq-pcm512x.tplg -rw-r--r-- 1 root root 9019 Aug 19 15:17 sof-apl-keyword-detect.tplg -rw-r--r-- 1 root root 38003 Aug 19 15:17 sof-apl-nocodec.tplg -rw-r--r-- 1 root root 5127 Aug 19 15:17 sof-apl-pcm512x-nohdmi.tplg -rw-r--r-- 1 root root 25031 Aug 19 15:17 sof-apl-pcm512x.tplg -rw-r--r-- 1 root root 19815 Aug 19 15:17 sof-apl-rt298.tplg -rw-r--r-- 1 root root 5791 Aug 19 15:17 sof-apl-src-50khz-pcm512x.tplg -rw-r--r-- 1 root root 11623 Aug 19 15:17 sof-apl-src-dmic.tplg -rw-r--r-- 1 root root 5791 Aug 19 15:17 sof-apl-src-pcm512x.tplg -rw-r--r-- 1 root root 43619 Aug 19 15:17 sof-apl-tdf8532.tplg -rw-r--r-- 1 root root 5127 Aug 19 15:17 sof-apl-wm8804.tplg -rw-r--r-- 1 root root 12579 Aug 19 15:17 sof-bdw-rt286.tplg lrwxrwxrwx 1 root root 18 Aug 19 15:17 sof-bdw-rt5640.tplg -> sof-bdw-rt286.tplg -rw-r--r-- 1 root root 13371 Aug 19 15:17 sof-byt-da7213.tplg -rw-r--r-- 1 root root 13107 Aug 19 15:17 sof-byt-nocodec.tplg lrwxrwxrwx 1 root root 19 Aug 19 15:17 sof-byt-rt5640.tplg -> sof-byt-da7213.tplg lrwxrwxrwx 1 root root 19 Aug 19 15:17 sof-byt-rt5645.tplg -> sof-byt-da7213.tplg lrwxrwxrwx 1 root root 19 Aug 19 15:17 sof-byt-rt5651.tplg -> sof-byt-da7213.tplg lrwxrwxrwx 1 root root 19 Aug 19 15:17 sof-byt-rt5682.tplg -> sof-byt-da7213.tplg -rw-r--r-- 1 root root 13371 Aug 19 15:17 sof-cht-max98090.tplg lrwxrwxrwx 1 root root 20 Aug 19 15:17 sof-cht-nocodec.tplg -> sof-byt-nocodec.tplg -rw-r--r-- 1 root root 7927 Aug 19 15:17 sof-cht-rt5682.tplg -rw-r--r-- 1 root root 5555 Aug 19 15:17 sof-cht-src-50khz-pcm512x.tplg -rw-r--r-- 1 root root 34187 Aug 19 15:17 sof-cml-demux-rt5682-max98357a.tplg -rw-r--r-- 1 root root 29283 Aug 19 15:17 sof-cml-demux-rt5682.tplg -rw-r--r-- 1 root root 39787 Aug 19 15:17 sof-cml-rt1011-rt5682.tplg -rw-r--r-- 1 root root 34883 Aug 19 15:17 sof-cml-rt5682-kwd.tplg -rw-r--r-- 1 root root 39787 Aug 19 15:17 sof-cml-rt5682-max98357a.tplg -rw-r--r-- 1 root root 31123 Aug 19 15:17 sof-cml-rt5682.tplg -rw-r--r-- 1 root root 32719 Aug 19 15:17 sof-cml-rt700.tplg -rw-r--r-- 1 root root 34411 Aug 19 15:17 sof-cml-rt711-rt1308-mono-rt715.tplg -rw-r--r-- 1 root root 39295 Aug 19 15:17 sof-cml-rt711-rt1308-rt715.tplg -rw-r--r-- 1 root root 26751 Aug 19 15:17 sof-cml-src-rt5682.tplg -rw-r--r-- 1 root root 25715 Aug 19 15:17 sof-cnl-nocodec.tplg -rw-r--r-- 1 root root 11335 Aug 19 15:17 sof-cnl-rt274.tplg -rw-r--r-- 1 root root 43555 Aug 19 15:17 sof-glk-da7219-kwd.tplg -rw-r--r-- 1 root root 34831 Aug 19 15:17 sof-glk-da7219.tplg -rw-r--r-- 1 root root 33967 Aug 19 15:17 sof-glk-rt5682.tplg -rw-r--r-- 1 root root 48091 Aug 19 15:17 sof-hda-generic-1ch.tplg -rw-r--r-- 1 root root 45375 Aug 19 15:17 sof-hda-generic-2ch.tplg -rw-r--r-- 1 root root 48227 Aug 19 15:17 sof-hda-generic-3ch.tplg -rw-r--r-- 1 root root 45511 Aug 19 15:17 sof-hda-generic-4ch.tplg -rw-r--r-- 1 root root 28723 Aug 19 15:17 sof-hda-generic-idisp-2ch.tplg -rw-r--r-- 1 root root 28859 Aug 19 15:17 sof-hda-generic-idisp-4ch.tplg -rw-r--r-- 1 root root 16135 Aug 19 15:17 sof-hda-generic-idisp.tplg -rw-r--r-- 1 root root 32787 Aug 19 15:17 sof-hda-generic.tplg -rw------- 1 ubuntu ubuntu 32787 Aug 14 2019 sof-hda-generic.tplg.original -rw-r--r-- 1 root root 12579 Aug 19 15:17 sof-hsw-rt5640.tplg -rw-r--r-- 1 root root 4259 Aug 19 15:17 sof-icl-dmic-4ch.tplg -rw-r--r-- 1 root root 7327 Aug 19 15:17 sof-icl-nocodec.tplg -rw-r--r-- 1 root root 34883 Aug 19 15:17 sof-icl-rt5682-kwd.tplg -rw-r--r-- 1 root root 31123 Aug 19 15:17 sof-icl-rt5682.tplg -rw-r--r-- 1 root root 32719 Aug 19 15:17 sof-icl-rt700.tplg lrwxrwxrwx 1 root root 31 Aug 19 15:17 sof-icl-rt711-rt1308-rt715-hdmi.tplg -> sof-cml-rt711-rt1308-rt715.tplg -rw-r--r-- 1 root root 24643 Aug 19 15:17 sof-icl-rt711-rt1308-rt715.tplg -rw-r--r-- 1 root root 7291 Aug 19 15:17 sof-imx8qxp-cs42888.tplg -rw-r--r-- 1 root root 5091 Aug 19 15:17 sof-imx8qxp-nocodec-sai.tplg -rw-r--r-- 1 root root 5091 Aug 19 15:17 sof-imx8qxp-nocodec.tplg -rw-r--r-- 1 root root 7291 Aug 19 15:17 sof-imx8qxp-wm8960.tplg -rw-r--r-- 1 root root 25647 Aug 19 15:17 sof-tgl-nocodec.tplg -rw-r--r-- 1 root root 25071 Aug 19 15:17 sof-tgl-rt711-rt1308-nohdmi.tplg -rw-r--r-- 1 root root 44607 Aug 19 15:17 sof-tgl-rt711-rt1308.tplg -rw-r--r-- 1 root root 29283 Aug 19 15:17 sof-whl-demux-rt5682.tplg -rw-r--r-- 1 root root 34883 Aug 19 15:17 sof-whl-rt5682-kwd.tplg -rw-r--r-- 1 root root 31123 Aug 19 15:17 sof-whl-rt5682.tplg ``` from: ``` /etc/pulse/default.pa #trying to get mic to work load-module module-alsa-sink device=hw:0,0 channels=4 load-module module-alsa-source device=hw:0,7 channels=4 ``` and ``` ubuntu$ lspci 00:00.0 Host bridge: Intel Corporation Device 9b44 (rev 02) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 02) 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02) 00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model 00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller 00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller 00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM 00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller 00:16.3 Serial controller: Intel Corporation Device 06e3 00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0) 00:1c.7 PCI bridge: Intel Corporation Device 06bf (rev f0) 00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) 00:1f.0 ISA bridge: Intel Corporation Device 068e 00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS 00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller 00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f95 (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1) 04:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 05:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06) 06:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06) 07:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) 08:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) 08:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge DD 2018] (rev 06) 09:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge DD 2018] (rev 06) 2c:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06) 54:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01) 55:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 ``` ``` $ arecord -l **** List of CAPTURE Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: USB [ThinkPad Thunderbolt 3 Dock USB], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 ``` If I uncomment the black list I see the following ``` [ 35.131883] sof-audio-pci 0000:00:1f.3: enabling device (0004 -> 0006) [ 35.133268] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found [ 35.133276] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 [ 35.133440] sof-audio-pci 0000:00:1f.3: use msi interrupt mode [ 35.165400] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 35.211356] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5 [ 35.211359] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now [ 35.227577] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised! [ 35.227579] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0 [ 35.311282] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:4:2-66a5a [ 35.311283] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:11:0 Kernel ABI 3:10:0 [ 35.311283] sof-audio-pci 0000:00:1f.3: warn: FW ABI is more recent than kernel [ 35.311469] sof-audio-pci 0000:00:1f.3: firmware boot complete [ 35.314572] sof-audio-pci 0000:00:1f.3: Topology: ABI 3:11:0 Kernel ABI 3:10:0 [ 35.314573] sof-audio-pci 0000:00:1f.3: warn: topology ABI is more recent than kernel [ 35.314575] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp3 Tx not handled [ 35.315283] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec0_in not handled [ 35.315284] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp2 Tx not handled [ 35.315940] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec1_in not handled [ 35.315941] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name iDisp1 Tx not handled [ 35.316726] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec0_out not handled [ 35.316727] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Analog CPU Playback not handled [ 35.317544] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec1_out not handled [ 35.317545] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Digital CPU Playback not handled [ 35.317546] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name codec2_in not handled [ 35.317547] sof-audio-pci 0000:00:1f.3: warning: widget type 7 name Alt Analog CPU Playback not handled [ 35.317548] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name codec2_out not handled [ 35.317549] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Analog CPU Capture not handled [ 35.318386] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp1_out not handled [ 35.318387] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Digital CPU Capture not handled [ 35.319148] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp2_out not handled [ 35.319149] sof-audio-pci 0000:00:1f.3: warning: widget type 0 name Alt Analog CPU Capture not handled [ 35.319872] sof-audio-pci 0000:00:1f.3: warning: widget type 1 name iDisp3_out not handled [ 35.319983] sof-audio-pci 0000:00:1f.3: error: invalid kcontrol count 2 for volume [ 35.319983] sof-audio-pci 0000:00:1f.3: error: DSP failed to add widget id 0 type 6 name : Dmic0 stream none reply 0 [ 35.319984] sof-audio-pci 0000:00:1f.3: ASoC: failed to load widget Dmic0 [ 35.320045] sof-audio-pci 0000:00:1f.3: error: tplg component load failed -22 [ 35.320048] sof-audio-pci 0000:00:1f.3: error: failed to load DSP topology -22 [ 35.320049] sof-audio-pci 0000:00:1f.3: ASoC: failed to probe component -22 ``` Any help is greatly appreciated! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1874925 Title: Comet Lake PCH-LP cAVS (Audio, Voice, Speech) Status in alsa-driver package in Ubuntu: Confirmed Bug description: Internal Microphone doesn't show up as an audio source. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: alsa-base 1.0.25+dfsg-0ubuntu5 ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30 Uname: Linux 5.4.0-26-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu27 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC2: addyess 106482 F.... pulseaudio /dev/snd/controlC1: addyess 106482 F.... pulseaudio /dev/snd/controlC0: addyess 106482 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: Budgie:GNOME Date: Fri Apr 24 16:56:54 2020 InstallationDate: Installed on 2019-11-05 (171 days ago) InstallationMedia: Ubuntu-Budgie 19.10 "Eoan Ermine" - Release amd64 (20191017) PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio Title: PCI/internal sound card not detected UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/25/2019 dmi.bios.vendor: AMI dmi.bios.version: F.10 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: 863F dmi.board.vendor: HP dmi.board.version: 54.13 dmi.chassis.type: 31 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAMI:bvrF.10:bd07/25/2019:svnHP:pnHPSpectrex360Convertible15-df0xxx:pvr:rvnHP:rn863F:rvr54.13:cvnHP:ct31:cvrChassisVersion: dmi.product.family: 103C_5335KV HP Spectre dmi.product.name: HP Spectre x360 Convertible 15-df0xxx dmi.product.sku: 8LK66UA#ABA dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1874925/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp