Skip to content

[UCM] Enable DMIC input device for generic HD-A machine #855

Closed

Description

@Jiangxinx

PulseAudio can detect input/output devices in 2 ways:

  1. Check amixers with standard names defined in /user/share/pulseaudio/alsa-mixer/paths ... for legacy HD-A driver;
  2. 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.

Screenshot:
Screenshot from 2019-04-22 15-23-44
Screenshot from 2019-04-22 15-05-11

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

  1. ClarexZhou commented on Apr 22, 2019

    @ClarexZhou

    add CML laptop sound setting sreenshot
    soundSettingScreenshot

  2. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    on Apr 22, 2019
  3. added
    enhancementNew feature or request
    HDAApplies to HD-Audio bus for codec connection
    WHLApplies to WhiskeyLake platform
    and removed
    bugSomething isn't working
    on Apr 22, 2019
  4. changed the title [-][BUG][CML][WHL]Wrong device list for sound input and output.[/-] [+][CML][WHL] Enable PulseAudio to recognize SOF input and output devices [/+] on Apr 22, 2019
  5. changed the title [-][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[/+] on Apr 22, 2019
  6. added
    UCMRestriction of UCM configuration files
    on Apr 28, 2019
  7. changed the title [-][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[/+] on Apr 28, 2019
  8. RanderWang commented on Apr 30, 2019

    @RanderWang

    Release alpha version of UCM. Next I will refine the UCM and machine driver to upstream it.

  9. mengdonglin commented on May 7, 2019

    @mengdonglin

    Closing as fixed by adding UCM

  10. mengdonglin commented on May 7, 2019

    @mengdonglin

    @RanderWang Please help to upstream UCM to alsa-lib.

  11. mengdonglin commented on May 17, 2019

    @mengdonglin

    Will track upstream progress in feature #956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionUCMRestriction of UCM configuration filesWHLApplies to WhiskeyLake platformenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions