Uh oh!
There was an error while loading. Please reload this page.
forked from torvalds/linux
- Notifications
You must be signed in to change notification settings - Fork 150
[BUG][CML][UCM2]Speaker and headset has sound output at the same time after suspend-resume #2014
Copy link
Copy link
Closed
Labels
CFLApplies to Coffee Lake platformApplies to Coffee Lake platformCMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionP2Critical bugs or normal featuresCritical bugs or normal featuresUCM2bugSomething isn't workingSomething isn't workingcodecCodec HW or driver restrictionCodec HW or driver restrictioncodec ALC3204ALC3204 needs SW assistance on jack detectionALC3204 needs SW assistance on jack detectioncodec ALC3254ALC3204 needs SW assistance on jack detectionALC3204 needs SW assistance on jack detectionsuspend resumeIssues related to suspend resume (e.g. rtcwake)Issues 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)This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
Description
Metadata
Metadata
Assignees
Labels
CFLApplies to Coffee Lake platformApplies to Coffee Lake platformCMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionP2Critical bugs or normal featuresCritical bugs or normal featuresUCM2bugSomething isn't workingSomething isn't workingcodecCodec HW or driver restrictionCodec HW or driver restrictioncodec ALC3204ALC3204 needs SW assistance on jack detectionALC3204 needs SW assistance on jack detectioncodec ALC3254ALC3204 needs SW assistance on jack detectionALC3204 needs SW assistance on jack detectionsuspend resumeIssues related to suspend resume (e.g. rtcwake)Issues 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)This will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
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: 5f7d4e2https://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