You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the only work-around we have in those cases is to try with a different topology sof-hda-generic-2ch-pdm1.tplg (file zipped sof-hda-generic-2ch-pdm1.tplg.gz
In theory this file should already be in /lib/firmware/intel/sof-tplg, but if it isn't just unzip and copy it over to this location.
If your mic is not recognized at the PulseAudio/Pipewire level it's a different issue related to missing UCM files. Given that you didn't have the last firmware, it wouldn't be surprising that you also don't have the alsa-ucm-conf updates.
In fact, I have updated alsa-ucm-conf first, with the following information:
!!Packages installed
!!--------------------
ii alsa-topology-conf 1.2.4-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.8-1 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.4-1 amd64 Utilities for configuring and using ALSA
Activity
plbossart commentedon Dec 14, 2022
@imtangmeng I suspect you have the PDM1 problem, it's a classic on Lenovo platforms.
Can you add this file
sof-dyndbg.conf.txt as /etc/modprobe.d/sof-dyndbg.conf and attach the full dmesg log.
Thanks!
imtangmeng commentedon Dec 15, 2022
The full dmesg log is as follow:
https://github.com/imtangmeng/intel-audio/blob/master/dmesg.log
plbossart commentedon Dec 15, 2022
Thanks @imtangmeng so you do have 2 mics, and there's a known issue with some platforms that connect the 2 mics to PDM1 instead of the default PDM0.
the only work-around we have in those cases is to try with a different topology sof-hda-generic-2ch-pdm1.tplg (file zipped
sof-hda-generic-2ch-pdm1.tplg.gz
In theory this file should already be in /lib/firmware/intel/sof-tplg, but if it isn't just unzip and copy it over to this location.
They you can use
if your kernel does not provide this option, which was added recently, then override your default file after backing it up.
This override is problematic because it will break at every distribution update.
Let us know if that fixes your issue.
imtangmeng commentedon Dec 16, 2022
Unfortunately, the issue was not resolved.
After doing the following actions, the speaker, microphone and headset become unrecognizable:
cp sof-hda-generic-2ch.tplg sof-hda-generic-2ch.tplg.backup
cp sof-hda-generic-2ch-pdm1.tplg sof-hda-generic-2ch.tplg
The full dmesg log is as follows:
https://github.com/imtangmeng/intel-audio/blob/master/dmesg-sof-hda-generic-2ch-pdm1.log
plbossart commentedon Dec 16, 2022
humm, this is really surprising. You have tons of errors not related to the DMIC, and the only differences are this
and looking at the initial log I see this
This is completely obsolete, you need to update your SOF firmware/topology first, and then try the PDM1 part later.
imtangmeng commentedon Dec 19, 2022
After I updated my SOF firmware/topology and try the PDM1 part, the built-in microphone is still not recognized using:
https://github.com/imtangmeng/intel-audio/blob/master/dmesg.log
plbossart commentedon Dec 19, 2022
@imtangmeng well, there is progress in that there is no error at the kernel level. So you will have to try to see at the alsa hw device level what happens. See https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#digital-mic-issues
If your mic is not recognized at the PulseAudio/Pipewire level it's a different issue related to missing UCM files. Given that you didn't have the last firmware, it wouldn't be surprising that you also don't have the alsa-ucm-conf updates.
imtangmeng commentedon Dec 20, 2022
In fact, I have updated alsa-ucm-conf first, with the following information:
!!Packages installed
!!--------------------
ii alsa-topology-conf 1.2.4-1 all ALSA topology configuration files
ii alsa-ucm-conf 1.2.8-1 all ALSA Use Case Manager configuration files
ii alsa-utils 1.2.4-1 amd64 Utilities for configuring and using ALSA
Detailed information reference link:
https://github.com/imtangmeng/intel-audio/blob/master/alsa-info.txt.noVeE9NBHn
I speculate that alsa-ucm-conf may need to be modify for this machine, but I don't know how to configure it
plbossart commentedon Dec 21, 2022
You don't need any specific UCM support to test the dmic support, see the link above.