Repository navigation
Description
PulseAudio can detect input/output devices in 2 ways:
- Check amixers with standard names defined in /user/share/pulseaudio/alsa-mixer/paths ... for legacy HD-A driver;
- check playback/capture devices defined by UCM for a sound card ... for ASoC drivers
Current open:
SOF reuse the legacy analog codec drivers which exposed standard amixers for speaker and headset, and can be recognized by PA in way#1. But SOF support HDMI output devices and DMIC suppported in ASoC style but w/o UCM file.
It seems we need to write SOF UCM file for generic topology to cover speaker, headset, DMIC and HDMI.
Describe the bug
Wrong device list for sound input and output on CML and WHL platform.
To Reproduce
Check Settings->sound->Output/Input on ubuntu.
Expected behavior
1.Outout and input hould not list Mutichannel device
2.Input device can not find DMIC device
Environment
Kernel Repo: https://github.com/RanderWang/linux/commits/cml-validation-20190422
Made from: RanderWang/linux@9086043 [thesofproject/linux: topic/sof-dev]
+RanderWang/linux@c105b1b
+RanderWang/linux@ffecddc
+RanderWang/linux@3b917aa
+RanderWang/linux@6f928a3
+RanderWang/linux@a916d2d
+RanderWang/linux@694599b
+RanderWang/linux@a43379d
+RanderWang/linux@d36ed40
+RanderWang/linux@9b3bd71
+RanderWang/linux@e852311
+RanderWang/linux@8f30111
+RanderWang/linux@95cd082
Firmware Repo :https://github.com/bardliao/sof/tree/whl-daliy-20190422
Made from: bardliao/linux@0c93261
+bardliao@35fbf79
+bardliao@3f91567
Topology: Same as above SOF repo


Activity
ClarexZhou commentedon Apr 22, 2019
add CML laptop sound setting sreenshot

[-][BUG][CML][WHL]Wrong device list for sound input and output.[/-][+][CML][WHL] Enable PulseAudio to recognize SOF input and output devices [/+][-][CML][WHL] Enable PulseAudio to recognize SOF input and output devices [/-][+][CML][WHL] Enable PulseAudio to recognize SOF input/output devices on HD-A platforms with DMIC[/+][-][CML][WHL] Enable PulseAudio to recognize SOF input/output devices on HD-A platforms with DMIC[/-][+][UCM] Enable DMIC input device for generic HD-A machine[/+]RanderWang commentedon Apr 30, 2019
Release alpha version of UCM. Next I will refine the UCM and machine driver to upstream it.
mengdonglin commentedon May 7, 2019
Closing as fixed by adding UCM
mengdonglin commentedon May 7, 2019
@RanderWang Please help to upstream UCM to alsa-lib.
mengdonglin commentedon May 17, 2019
Will track upstream progress in feature #956
fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF