Skip to content

[BUG] About 2s delay to switch status in sound setting when plug in/out headset in idle. #908

Closed

Description

@ClarexZhou

Describe the bug
Plug in/out headset in idle, check the speaker and headset switch from sound setting. Delay about 2s to switch status.

To Reproduce

  1. Stop music
  2. Open sound setting of laptop
  3. Plug in headset, then plug out, check.

Expected behavior
About 2s delay to switch status in sound setting when plug in/out headset in idle.

Environment
platform: CML laptop with ALC3204 codec

Test Recipe '+Rander UCM https://github.com/RanderWang/intel-UCM  
Kernel repo https://github.com/thesofproject/linux/tree/release/sof-v5.0  
  d698c4f kernel topic/sof-dev branch
  PR #853 ASoC: sof: hda: fix fw loading failure
  PR #868 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
     
Firmware repo https://github.com/thesofproject/sof/commits/master  
  47fcac2 [thesofproject/sof: master] top of master branch
     
Topology: https://github.com/thesofproject/sof/commits/master Same as above SOF repo
  file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg  

jackWithoutPlay_dmesg.log
logger.log

Activity

  1. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    HDAApplies to HD-Audio bus for codec connection
    on May 7, 2019
  2. RanderWang commented on May 7, 2019

    @RanderWang

    In this case, audio system just resumes from suspend status and codec driver spends much time to resume codec. Please dispatch it to codec vendor for help.

  3. mengdonglin commented on May 7, 2019

    @mengdonglin

    Same root cause as #900

  4. added
    won't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
    on May 7, 2019
  5. mengdonglin commented on May 7, 2019

    @mengdonglin

    @jason77-wang, please report this issue to codec vendor Realtek and ask Realtek to fix it. Thanks!

  6. KailangYang commented on May 10, 2019

    @KailangYang

    #908 and #909 were related with #900

  7. KailangYang commented on May 16, 2019

    @KailangYang

    @mengdonglin

    I had sent a fix patch to fix this issue.

  8. mengdonglin commented on May 17, 2019

    @mengdonglin

    @KailangYang Could you also share your patch here? Thanks

  9. changed the title [-][UCM] About 2s delay to switch status in sound setting when plug in/out headset in idle.[/-] [+][BUG] About 2s delay to switch status in sound setting when plug in/out headset in idle.[/+] on May 17, 2019
  10. KailangYang commented on May 17, 2019

    @KailangYang
  11. YvonneYang2 commented on May 17, 2019

    @YvonneYang2

    Error not reproduced with Realtek commit ALSA: hda/realtek - Check headset type by unplug and resume.

    Environment
    Rander UCM https://github.com/RanderWang/intel-UCM/tree/hdmi
    Kernel repo: df06e42 https://github.com/thesofproject/linux/tree/release/sof-v5.0
    Firmware repo: b73b9a6 https://github.com/thesofproject/sof/commits/debug-ipc-timeout
    Topology: https://github.com/thesofproject/sof/commits/debug-ipc-timeout. Same as above SOF repo
    file: tools/topology/sof-hda-generic.m4, sof-hda-generic-2ch.tplg
    platform: CML laptop with ALC3204 codec

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionbugSomething isn't workingcodecCodec HW or driver restrictionwon't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions