New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alsa-ucm-conf 1.2.4 fails with platform-skl_hda_dsp_generic #93
Comments
@bjacquin The problem is that there are no directly connected microphones found (no DMIC PCMs in "arecord -l" list) and the current UCM files for sof-hda-dsp don't cover this case and the UCM load fails. Reason for above is that is that kernel should pick snd-hda-intel as the driver for these systems (without dmics). Could you enable dynamic-debug in kernel and post dmesg covering either the complete system boot? Instructions for dynamic debug with SOF are at end of https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html . |
There is definitely headphone plugged into the device (and also HDMI), audio to headphone are working like a charm with 1.2.3, while HDMI is not, while 1.2.4 is not allowing any sounds at all (pulseaudio or direct aplay) Also, as I was looking to specifically test sof over snd-hda-intel, I do have |
@bjacquin The DMICs are integrated microphones, typically used on laptops. When you plug a headset, then that is a different path (in hardware) and the microphone is connected to a codec and that is connected via HDA to the DSP (and shows up as PCMs 0 and 1 on your system). I'm not aware of any NUCs with DMICs integrated, so it's probably safe to assume your system don't have these. So the problem is that when you force "snd_intel_dspcfg.dsp_driver=3", SOF is used but the UCM files we have in 1.2.4, do not support the case where SOF is used on a system without a DMIC, and thus you get the failure. @libinyang Do we have anything under work to have the UCM cover the case when DMIC is not present? @bjacquin As you are anyways using custom kernel options, you could try this. Put e.g. in /etc/modprobe.d/sof.conf:
... this will override the info BIOS provides and create extra DMIC PCMs. There no microphones connected, so you won't actually get audio from these, but Pulseaudio should now happily load the 1.2.4 UCM file. |
It seems this is also covered in #80 |
@kv2019i Sorry for delay. I'm busy these days and missed this message. No, we don't have the solution for DMIC missed case. Maybe we do need to consider the case of non DMIC platform while it is using sof-hda-dsp driver. |
A PR for tests: #97 |
Covered in #97 . |
Hi,
I am experiencing the same issue as reported in issue #66, however I am still able to reproduce this with alsa-lib and alsa-utils 1.2.4 installed.
alsa-info
output is attached in alsa-info.1.2.3.txt.pulseaudio
standard logs show:pactl list short cards
list the following cards as available:pulseaudio -vvv
output is attached in pulseaudio-1.2.3.log.pacmd ls
output is attached in pacmd-ls-1.2.3.txtalsa-info
output is attached in alsa-info.1.2.4.txt.pulseaudio
standard logs show:pactl list short cards
list the following cards as available:pulseaudio -vvv
output is attached in pulseaudio-1.2.4.log.pacmd ls
output is attached in pacmd-ls-1.2.4.txt.The text was updated successfully, but these errors were encountered: