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-H][UCM2]Output device will not auto switch to headphone after plug in headphone for the first time. #2148
Describe the bug
Open sound setting. Wait 10s (wait pulseaudio to suspend), then plug in headphone, the output/input device cannot auto switch to headphone/headset. After issue occured unplug then plug in headset can recover.
changed the title [-][BUG][CML-H][UCM2]Output device will not auto switch to headphone after plug in headphone.[/-][+][BUG][CML-H][UCM2]Output device will not auto switch to headphone after plug in headphone for the first time.[/+]on May 29, 2020
This is a bug related the module-default-device-restore
This module will always restore the device which is lastly used. So when it try to restore headphone which is not plugged in, the error happens.
Activity
sinahuang commentedon May 29, 2020
Issue can be fixed by PR https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/302.
[-][BUG][CML-H][UCM2]Output device will not auto switch to headphone after plug in headphone.[/-][+][BUG][CML-H][UCM2]Output device will not auto switch to headphone after plug in headphone for the first time.[/+]libinyang commentedon May 29, 2020
This is a bug related the module-default-device-restore
This module will always restore the device which is lastly used. So when it try to restore headphone which is not plugged in, the error happens.
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