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
    bug
    CML
    HDA
    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 fix
    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. added
    codec
    on May 9, 2019
  7. KailangYang commented on May 10, 2019

    @KailangYang

    #908 and #909 were related with #900

  8. KailangYang commented on May 16, 2019

    @KailangYang

    @mengdonglin

    I had sent a fix patch to fix this issue.

  9. mengdonglin commented on May 17, 2019

    @mengdonglin

    @KailangYang Could you also share your patch here? Thanks

  10. 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
  11. KailangYang commented on May 17, 2019

    @KailangYang
  12. 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

    CMLHDAbugcodecwon't fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions