You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][CML][UCM2]Audio output can't be auto switched to HDMI in some scenarios #2110
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
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
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
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
Activity
[-][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[/+][-][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[/+]ClarexZhou commentedon May 15, 2020
@kv2019i @juimonen is this issue depend on new feature #2068 ?
ClarexZhou commentedon May 18, 2020
same on TGL notebook with ALC3204 in HD-A mode
Liviali155 commentedon May 18, 2020
update pulseaudio to default pulseaudio of Ubuntu20.04 + https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/295 ,error not seen
Liviali155 commentedon May 19, 2020
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
kv2019i commentedon Jun 3, 2020
Fixed by PA patches, assigning for @libinyang to follow-up.
libinyang commentedon Aug 6, 2020
with the latest recipe:
UCM2: https://github.com/alsa-project/alsa-ucm-conf(commit: 3e897306)
Alsa-lib: http://sof-ci-storage.sh.intel.com/share/alsa/alsa-lib/latest/libasound2_1.2.3.2-a3ca480/
Pulseaudio: http://sof-ci-storage.sh.intel.com/share/pulseaudio/latest/pulseaudio_13.99.1.1-47d8112/
Gnome: 1:3.36.2-0ubuntu1++testswitch - can download form Canonical:
sudo add-apt-repository ppa:hui.wang/switch-audio
sudo apt-get update
sudo apt install gnome-control-center
This bug is fixed.
Verified on SDW and sof HDA (CML platforms)