Skip to content

[UCM][CML] After unplug headphone, sound setting still show headphone, and speaker volume is also muted (intermittent) #911

Closed

Description

@ClarexZhou

Describe the bug
Always display headphone in sound setting, also speaker volume is muted after plug out headset. Only reboot system can recover.

To Reproduce

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

Expected behavior
switch status in sound setting when plug in/out headset in idle.

Environment
Rander UCM https://github.com/RanderWang/intel-UCM  
Kernel repo:c99938c https://github.com/thesofproject/linux/tree/release/sof-v5.0
Firmware repo: 47fcac2 https://github.com/thesofproject/sof/commits/master |  
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

alwaysDisplayHeadphoneAfterPlugOut_dmesg.log
alwaysHeadphone_logger.log

Activity

  1. RanderWang commented on May 7, 2019

    @RanderWang

    Next time, if you reproduce it, please check the Jack status. The status is helpful.

  2. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    HDAApplies to HD-Audio bus for codec connection
    on May 8, 2019
  3. changed the title [-][UCM][CML]Always display headphone in sound setting, also speaker volume is muted after plug out headset. (once)[/-] [+][UCM][CML] After unplug headphone, sound setting still show headphone, and speaker volume is also muted (intermittent)[/+] on May 8, 2019
  4. wenqingfu commented on May 8, 2019

    @wenqingfu

    likely a codec driver bug.

  5. keyonjie commented on May 8, 2019

    @keyonjie

    Next time, if you reproduce it, please check the Jack status. The status is helpful.

    yes, @ClarexZhou please check and share the Jack status for both plug-in and plug-out once the issue happened.

  6. bardliao commented on May 8, 2019

    @bardliao
    Collaborator

    @ClarexZhou Could you check if holding headset button and unplug can reproduce the issue?

  7. YvonneYang2 commented on May 8, 2019

    @YvonneYang2

    Test 20 times unplug the headphone by holding the headset button, can not reproduce the issue. @bardliao

  8. mengdonglin commented on May 9, 2019

    @mengdonglin

    Closing it because reproduce rate is very low and cannot be reproduced now. Will reopen if we reproduce it again.

  9. KailangYang commented on May 17, 2019

    @KailangYang

    @mengdonglin
    I think you could refference legacy HDA driver first when you meet issue.
    HDA driver was going for 15 years up. It's very stable.

    This issue doesn't relation with codec driver. it's just register unsolicited event.
    Jack JD was register in unsolicited event of controller code.
    If jack is plug in, controller will process event for inerrupt.
    If you need more info, this all in the controller code already.

    If you don't like to process unsolicited event, you could use polling for time out.
    Our Windows driver was use polling for 500ms time out to check JD state (95% machine).

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 working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions