Comet Lake PCH-LP cAVS (Audio, Voice, Speech)

Bug #1874925 reported by Adam Dyess
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Confirmed
Undecided
Unassigned

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

Revision history for this message
Adam Dyess (addyess) wrote :
Revision history for this message
Adam Dyess (addyess) wrote :
Revision history for this message
Hui Wang (hui.wang) wrote :

Please remove snd_hda_intel: dmic_detect=0, you must set dmic_detect=0 somewhere.

Revision history for this message
Adam Dyess (addyess) wrote :

Thanks... that at least lets them show up in gnome.. but my internal audio array isn't an option. If i plugin an analog mic it works though. Just the realtek audio array doesn't work

Revision history for this message
Hui Wang (hui.wang) wrote :

If you remove dmic_detect=0, your alsa card could not be showed up in gnome. So I guess there are some errors in the audio driver initialization, I need the log to debug.

Could you remove dmic_detect=0 temporarily, then boot and upload the dmesg, let me see what happens on the audio driver.

Revision history for this message
Adam Dyess (addyess) wrote :

OK, Let's see if this helps you narrow it down. This file is with dmic_setting=0 removed from the grub cmdline

Revision history for this message
Adam Dyess (addyess) wrote :

and this is dmesg with the dmic_setting

Revision history for this message
Adam Dyess (addyess) wrote :

Maybe it's the "HP Wide Vision FHD Camera" which should be treated as a camera and microphone? i see it register with uvcvideo in both.

Revision history for this message
Adam Dyess (addyess) wrote :

hmm... it says that same message here

snd-intel-dspcfg.dsp_driver=1 is set in the command line. But later on it says i should pass that option.

Revision history for this message
Adam Dyess (addyess) wrote :

Looking at this: https://bugzilla.kernel.org/show_bug.cgi?id=205959 i tried editing the
/etc/modprobe.d/alsa.conf to have the option... restarted... same output

Revision history for this message
Adam Dyess (addyess) wrote :

Triumph is ours! My internal mic is working and can record audio. It's like a have an actual laptop without having to lug around another mic! Hooray

I found two files in /etc/modprobe.d that were turning off the dmic_detect.

➜ egrep -r dmic /etc/modprobe.d
/etc/modprobe.d/alsa-intel-dmic.conf:#options snd_hda_intel dmic_detect=0
/etc/modprobe.d/intel-audio-fix.conf:#options snd-hda-intel dmic_detect=0

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
lavistam (lavistam) wrote :
Download full text (13.1 KiB)

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....

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.