Skip to content

[Bug]Headset can’t be detected when plug in headset just after system boot up  #1054

Closed

Description

@ClarexZhou

Describe the bug
Headset can’t be detected when plug in headset within 2s after system boot up

To Reproduce

  1. System auto login is on (setting->details->users to turn on automatic login)
  2. Do system reboot via "sudo reboot"
  3. Plug in headset as soon as unit boot up (display on and enter desktop page.)

frequency
100%

Actual result
Check jack detection via 'amixer cget numid=34', headset can't be detected

Recover method: Play music.

Expected result
Jack detection should detected 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.
jackdetectNotWorkWhenpluginASAPafterBootup_dmesg.log

Activity

  1. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    HDAApplies to HD-Audio bus for codec connection
    on Jun 24, 2019
  2. RanderWang commented on Jun 25, 2019

    @RanderWang

    I setup the serial port in whiskylake and connected it to a host machine to check the secret behind the boot up. I can reproduce this bug and found at this time, SOF was being initialized. I may need to dig deeper.

  3. ClarexZhou commented on Jun 27, 2019

    @ClarexZhou
    Author

    Error not occurred with PR #1060

  4. RanderWang commented on Jun 28, 2019

    @RanderWang

    The patch has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions