alsa/hda: mic can't be detect if booting with headset plugged on a HP machine

Bug #1901971 reported by Hui Wang
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
linux-oem-5.6 (Ubuntu)
Hui Wang

Bug Description

Since this patch is cced to stable kernel, I only send this patch
to oem-5.6 kernel, other ubuntu kernels will merge this patch with
stable update.

On a HP machine, if we plug a headset before booting, after booting
to the desktop, the mic can't be detected.

Realtek engineer submit a patch to usptream, I backport this patch
to ubuntu oem kernel.

Plug a headset, then power on the machine, after entering the gnome,
check the mic, it is detected, and use mic to record, it could record
the sound.

[Regression Potential]
I could make the sound on that HP machine not work, but this possibility
is very low and this regression possibility is limited to this HP machine
since this patch use pin definition to apply the quirk.

Hui Wang (
Changed in linux-oem-5.6 (Ubuntu):
importance: Undecided → High
importance: High → Critical
tags: added: oem-priority originate-from-1896580 stella
Changed in linux-oem-5.6 (Ubuntu):
status: New → In Progress
Changed in hwe-next:
status: New → In Progress
Hui Wang (
Changed in linux-oem-5.6 (Ubuntu Focal):
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Hui Wang (
Hui Wang (
description: updated
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.6 (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Hui Wang ( wrote :

Verified done on focal.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.7 KiB)

This bug was fixed in the package linux-oem-5.6 - 5.6.0-1035.37

linux-oem-5.6 (5.6.0-1035.37) focal; urgency=medium

  * focal/linux-oem-5.6: 5.6.0-1035.37 -proposed tracker (LP: #1903149)

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  * drm/i915/dp_mst - wait longer during the clock recovery for Display port
    (LP: #1902861)
    - SAUCE: drm/i915/dp_mst: wait longer during the clock recovery

  * Remove NVMe suspend-to-idle workaround (LP: #1897227)
    - Revert "UBUTU: SAUCE: pci: prevent Intel NVMe SSDPEKKF from entering D3"
    - Revert "UBUNTU: SAUCE: pci: prevent sk hynix nvme from entering D3"

  * Tiger Lake PMC core driver fixes (LP: #1899883)
    - x86/devicetable: Move x86 specific macro out of generic code
    - x86/cpu: Add consistent CPU match macros
    - platform/x86: Convert to new CPU match macros
    - platform/x86: intel_pmc_core: Add Atom based Jasper Lake (JSL) platform
    - platform/x86: intel_pmc_core: Add debugfs entry to access sub-state
    - platform/x86: intel_pmc_core: Add debugfs entry for low power mode status
    - platform/x86: intel_pmc_core: Refactor the driver by removing redundant code
    - platform/x86: intel_pmc_core: Remove slp_s0 attributes from tgl_reg_map
    - platform/x86: intel_pmc_core: Add an additional parameter to
    - platform/x86: intel_pmc_core: Dump low power status registers on an S0ix.y
    - platform/x86: intel_pmc_core: Add debugfs support to access live status
    - platform/x86: intel_pmc_core: Relocate pmc_core_*_display() to outside of
    - platform/x86: intel_pmc_core: Remove duplicate 'if' to create debugfs entry
    - platform/x86: intel_pmc_core: Add slp_s0_offset attribute back to
    - platform/x86: intel_pmc_core: Make pmc_core_lpm_display() generic for
      platforms that support sub-states
    - platform/x86: intel_pmc_core: Make pmc_core_substate_res_show() generic
    - platform/x86: intel_pmc_core: Change Jasper Lake S0ix debug reg map back to
    - platform/x86: intel_pmc_core: avoid unused-function warnings
    - platform/x86: intel_pmc_core: update TGL's LPM0 reg bit map name
    - platform/x86: intel_pmc_core: fix bound check in pmc_core_mphy_pg_show()
    - platform/x86: pmc_core: Use descriptive names for LPM registers
    - platform/x86: intel_pmc_core: Fix TigerLake power gating status map
    - platform/x86: intel_pmc_core: Fix the slp_s0 counter displayed value

  * [SRU][OEM-5.6]Fix no video out from some monitors on amdgpu (LP: #1901135)
    - drm/amd/display: Retry AUX write when fail occurs

  * drm/i915/dp_mst - only read the base capability in DPCD. (LP: #1902613)
    - Revert "UBUNTU: SAUCE: drm/dp_mst: Retrieve extended DPCD caps for topology

  * TGL system automatically resumes from s2idle when connecting to a docking
    station with a monitor (LP: #1902577)
    - SAUCE: ACPI: avoid auto-wakeup with an _OSI string

  * Fix non-working NVMe after S3 (LP: #1895718)
    - SAUCE: PCI: Enable ACS quirk on all CML root ports

  * drm...


Changed in linux-oem-5.6 (Ubuntu Focal):
status: Fix Committed → Fix Released
Mathew Hodson (mhodson)
no longer affects: linux-oem-5.6 (Ubuntu)
Changed in hwe-next:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers