Skip to content

[BUG][CML][UCM2]Audio output can't be auto switched to HDMI in some scenarios #2110

Closed

Description

@Liviali155

Describe the bug
Audio output can't be auto switched to HDMI in some scenarios

To Reproduce
Scenario 1
1.sudo reboot’ to reboot system without HDMI connetion
2.plug HDMI

Scenario 2
1.sudo reboot’ to reboot system without HDMI connetion
2.plug HDMI
3.open soundsetting to set output Device as "HDMI1/DP1 Output-sof-hda-dsp“
4.keep sound setting open
5.paplay -vv wav/48California_Dreaming.wav
6.unplug HDMI then plug again
7.Check output Device in sound settings

Reproduction Rate
5/5

Expected behavior
Output Device can be changed to HDMI auto when plug HDMI again

Actual result
Scenario 1 &Scenario 2 : Output Device can not be changed to HDMI auto when plug HDMI again

More info:
in scenario 1:if select HDMI as output one time, then unplug and plug again,error not seen
in scenario2:error not seen if closed sound setting in step4 or without step5

Platform: Dell CML laptop with onboard codec ALC3204 in HDA mode
Firmware: 83cecc9 https://github.com/thesofproject/sof/commits/master
Kernel: a43e72a https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-hda-generic-2ch.tplg same as firmware
UCM2: https://github.com/thesofproject/alsa-ucm-conf/tree/master/ucm2/(12743d2) or
https://github.com/alsa-project/alsa-ucm-conf/UCM2 + alsa-project/alsa-ucm-conf#21 can reproduce this issue

amixercontents_failed.txt
amixercontents_pass.txt
dmesg0514.log
sof-logger0514.log

Activity

  1. added
    CML
    on May 14, 2020
  2. changed the title [-][BUG][CML][UCM2]Output Device can not be changed to HDMI auto after unplug/plug HDMI when keep sound settings open[/-] [+][BUG][CML][UCM2]Output Device can not be changed to HDMI auto after plug HDMI again when keep sound settings open[/+] on May 14, 2020
  3. changed the title [-][BUG][CML][UCM2]Output Device can not be changed to HDMI auto after plug HDMI again when keep sound settings open[/-] [+][BUG][CML][UCM2]Audio output can't be auto switched to HDMI in some scenarios[/+] on May 14, 2020
  4. added
    bug
    HDA
    on May 14, 2020
  5. ClarexZhou commented on May 15, 2020

    @ClarexZhou

    @kv2019i @juimonen is this issue depend on new feature #2068 ?

  6. added
    single-profile UCM
    on May 15, 2020
  7. added
    TGL
    on May 18, 2020
  8. ClarexZhou commented on May 18, 2020

    @ClarexZhou

    same on TGL notebook with ALC3204 in HD-A mode

  9. Liviali155 commented on May 18, 2020

    @Liviali155
    Author
  10. Liviali155 commented on May 19, 2020

    @Liviali155
    Author

    On matins:
    Output Device switched to Headphones,but Input Device will not switched to Headset when first insert headset,still is “Digital Microphone-sof-had-dsp”, after set it once manual,error not seen

    After update pulseaudio to default pulseaudio of Ubuntu20.04 + https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/295 ,error not seen

  11. kv2019i commented on Jun 3, 2020

    @kv2019i
    Collaborator

    Fixed by PA patches, assigning for @libinyang to follow-up.

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

Metadata

Metadata

Assignees

Labels

CMLHDATGLUCM2bugsingle-profile UCM

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions