Describe the bug
Headset arecord not work when plug in headset as soon as login account when wake up from S3
To Reproduce
- System auto login is off (setting->details->users to turn off automatic login)
- Enter suspend via Power menu (Long press Shutdown icon after click top right corner, icon will change to suspend icon, then select it)
- Press any button to wake up, account password is query.
- Plug in headset quickly, just after login account.
- 'arecord -Dhw:0,0 -r48000 -c2 -fs16_le 1.wav -vv -i' to catpure.
frequency
2/12
Actual result
Check jack detection via 'amixer cget numid=34', headset can't be detected
Recover method: plug out headset, wait for more than 5 seconds, plug in headset again. Error can be recovered.
Expected result
Arecord should work successfully
Environment
Firmware: 6cc8da10, https://github.com/thesofproject/sof/tree/cml-hda-dmic-001-drop-stable
Kernel: 1cd1a89 sof-v5.0
Topology: file: sof-hda-generic.tplg same path as firmware
No error log.
captureNotWorkAfterPluginASAPafterWakeup_dmesg.log
captureNotWorkAfterPluginASAPafterWakeup_logger.log