Skip to content

[BUG][CML][UCM2]Speaker and headset has sound output at the same time after suspend-resume #2014

@Liviali155

Description

@Liviali155

Describe the bug
Speaker and headset has sound output at the same time after suspend-resume
Ctrl +c to stop paplay then paplay Right now again can not recovery,
Ctrl +c to stop paplay,wait about 20s,paplay again can recovery

To Reproduce
1.sudo reboot with headset connected
2.open sound settings
3.set Output Device as " Speaker-sof-hda-dsp"
4.set Input Device as "Headset Mono Microphone-sof-hda-dsp" or"Digital Microphone-sof-hda-dsp"
5.paplay wav/48California_Dreaming.wav -vv
6."sudo rtcwake -m mem -s 10" to suspend
7.wait device to wake up
8.repeat step 6~7 2 times

Reproduction Rate
Reproduction Rate >90% issues can be reproduced when repeating suspend and wakeup 3 times.

Expected behavior
Only speaker has sound output

Actual result
Speaker and headset has sound output at the same time

Amixer contents is below,there is no difference between them
amixer_faile.txt
amixer_pass.log

Platform: CML laptop with onboard codec ALC3204 in HDA mode
Firmware: 5f7d4e2 https://github.com/thesofproject/sof/releases/tag/v1.5-rc1
Kernel: stable linux 5.5.9 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tag/?h=v5.5.9, commit 81b6e04
Topology: file: tools/topology/sof-hda-generic-2ch.tplg same as firmware
UCM2:UCM2:https://github.com/thesofproject/alsa-ucm-conf/tree/master/ucm2/sof-hda-dsp

dmesg0415.log
sof-logger0415.log

Metadata

Metadata

Labels

CFLApplies to Coffee Lake platformCMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionP2Critical bugs or normal featuresUCM2bugSomething isn't workingcodecCodec HW or driver restrictioncodec ALC3204ALC3204 needs SW assistance on jack detectioncodec ALC3254ALC3204 needs SW assistance on jack detectionsuspend resumeIssues related to suspend resume (e.g. rtcwake)won't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions