Skip to content

[Bug][CML]Headset arecord not work when plug in headset as soon as wake up from S3 (2/12) #1055

@ClarexZhou

Description

@ClarexZhou

Describe the bug
Headset arecord not work when plug in headset as soon as login account when wake up from S3

To Reproduce

  1. System auto login is off (setting->details->users to turn off automatic login)
  2. Enter suspend via Power menu (Long press Shutdown icon after click top right corner, icon will change to suspend icon, then select it)
  3. Press any button to wake up, account password is query.
  4. Plug in headset quickly, just after login account.
  5. '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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions