Skip to content

[CML]No volume controller for DMIC16/32  #1278

Closed

Description

@ClarexZhou

Describe the bug
No volume controller for DMIC16/32

To Reproduce

  1. Record via DMIC Dhw:0,6 or Dhw:0,7. eg. arecord -Dhw:0,6 -r 48000 -c 2 -f s16_le cap.wav -vv -i
  2. alsamixer, press F4 to check Capture items.

Expected behavior
Should support volume controller for DMIC16/32

Environment
Kernel: rander/cml-validation-20190417(topic/sof-dev, 2de29fa+6 patch)
Firmware: bard/whl-daily-20190417(top of master 99e9f43+3patch)
Topology: bard/whl-daily-20190417(top of master 99e9f43+3patch)
Reproducibility Rate: 5/5

Screenshot:
no_vol_ctrl_bar

Activity

  1. added
    bugSomething isn't working as expected
    on Apr 17, 2019
  2. added
    CMLApplies to Comet Lake platform
    HDAApplies to HD-Audio bus for codec connection
    on Apr 17, 2019
  3. emilchudzik commented on Apr 17, 2019

    @emilchudzik
    Contributor

    What do you mean by "3patch"?

  4. ClarexZhou commented on Apr 22, 2019

    @ClarexZhou
    Author

    Now DMIC 32 volume can be adjusted via PGA 10.0 on CML laptop.
    But still no way to adjust volume for DMIC16
    screenshot

    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

    Topology: Same as above SOF repo

  5. mengdonglin commented on Apr 22, 2019

    @mengdonglin
    Collaborator

    @libinyang @singalsu Please evaluate if we still need PR #1271 for the 16khz DMIC, which applies passthough pipeline for this DMIC and so no volume control.

  6. libinyang commented on Apr 23, 2019

    @libinyang
    Contributor

    #1293 is submitted for this issue

  7. emilchudzik commented on Apr 23, 2019

    @emilchudzik
    Contributor

    @ClarexZhou lack of volume control is not a firmware issue, please rise driver issue on linux repo.

  8. singalsu commented on Apr 23, 2019

    @singalsu
    Collaborator

    @emilchudzik Why linux/driver issue, would this be a topology issue?

  9. ClarexZhou commented on Apr 23, 2019

    @ClarexZhou
    Author

    Error isn't seen on CML 20190423 test recipe.
    Firmware repo https://github.com/RanderWang/sof/tree/cml-linux-20190423
    Made from:
    0c93261 [thesofproject/sof: master]

    • adf4db3 [RanderWang/sof: cml-linux-20190423]
    • 1c8cbd1 [RanderWang/sof: cml-linux-20190423]

    Kernel repo https://github.com/thesofproject/linux/tree/release/sof-v5.0
    Made from:
    9086043 [thesofproject/linux: topic/sof-dev]
    +575038e

  10. jajanusz commented on Apr 23, 2019

    @jajanusz
    Contributor

    @singalsu Emil meant that it's not a firmware issue, but yes, it can be topology issue, so we may keep it open because topologies are in this repo, just someone from driver team has to modify them.

  11. emilchudzik commented on Apr 23, 2019

    @emilchudzik
    Contributor

    Why linux/driver issue, would this be a topology issue?

    Using alsamixer volume control starts driver to send suitable IPC to firmware. So if there is no such volume control, then firmware can't receive IPC.
    Lack of volume control issue should be checked by driver/kernel team. I'm not sure if it is topology issue.

  12. jajanusz commented on Apr 23, 2019

    @jajanusz
    Contributor

    I see you made 2 PRs related to this issue. I guess this one is the right one: #1293

  13. libinyang commented on Apr 23, 2019

    @libinyang
    Contributor

    Yes. #1293 aims to fix this issue.

    I see you made 2 PRs related to this issue. I guess this one is the right one: #1293

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

Metadata

Metadata

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions