Skip to content

[BUG][CML][UCM2]Output device will auto switch from speaker to other source when unplug HDMI external port or headphone. #2126

Closed

Description

@YvonneYang2

Describe the bug
Output device will auto switch from speaker to other source when unplug HDMI external port or headphone.

Precondition:
1.Install ubuntu 20.04
2.Pulseaudio version: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/tree/master (commit:36a4923f) + https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/295
3.UCM2:https://github.com/thesofproject/alsa-ucm-conf/commits/master (commit:12743d2)+#PR thesofproject/alsa-ucm-conf#35 + #PR thesofproject/alsa-ucm-conf#39

To Reproduce

  1. Boot up system with headphone and HDMI external port both connected
  2. Open sound setting and select speaker as output device.
  3. Unplug HDMI external port.
  4. Check the output device.

Reproduce rate
5/5

Expected result
Output source will stay in speaker.

Actual result
Output source will auto switch to headphone from speaker after unplugged HDMI external port.

Test recipe
Kernel:https://github.com/thesofproject/linux/commits/topic/sof-dev commit:1697493f
FW: https://github.com/thesofproject/sof/commits/master commit: 83cecc9
Tplg: Same with FW branch, sof-cml-rt711-rt1308-mono-rt715.tplg
Platform:CML-U Laptop with codec ALC711, RT1308, RT715 in SDW mode.

Activity

  1. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    single-profile UCM + PA#295https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/295
    on May 18, 2020
  2. added
    SDWApplies to SoundWire bus for codec connection
    on May 18, 2020
  3. sinahuang commented on May 18, 2020

    @sinahuang

    Issue also can be reproduced on CML-H, and found a similar issue that output device will auto switch from A HDMI to B HDMI when unplug headphone.
    Scenario:
    1.Boot up system with headphone,HDMI and DP externel port all connected
    2.Open sound setting and select one HDMI/DP as output device.
    3.Unplug headset ->output will auto switch to another HDMI/DP

  4. sinahuang commented on May 26, 2020

    @sinahuang

    Original issue also can be reproduced on CML-H, but found another similar issue that output device will auto switch from speaker to HDMI2 when unplug HDMI1.
    Scenario:
    1.Boot up system ->open sound setting;
    2. Plug in HDMI1 and then plug in HDMI2;
    3.Select speaker as output source in sound setting;
    4.Unplug HDMI1;

  5. ClarexZhou commented on May 29, 2020

    @ClarexZhou
  6. mengdonglin commented on Aug 5, 2020

    @mengdonglin

    Close this issue because it cannot be reproduced with latest PulseAudio fix for SoundWire. @libinyang will file a separate bug to track HD-A configuration.

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 platformSDWApplies to SoundWire bus for codec connectionUCM2bugSomething isn't workingsingle-profile UCM + PA#295https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/295

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions