All of lore.kernel.org
 help / color / mirror / Atom feed
* HDA: Fix internal mic availability for HDA codecs with phantom jack
       [not found] <alsa-project/alsa-ucm-conf/pr/792@alsa-project.org>
@ 2026-06-16  3:16 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2026-06-16  3:16 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf pull request #792 was opened from rwekyes:

## Problem

On HDA codecs that have both a `Mic Jack` (external, unplugged) and an 
`Internal Mic Phantom Jack` (fixed, always-on) control, the internal 
microphone gets assigned `Mic Jack` as its JackControl. PipeWire monitors 
this control for availability and marks the internal mic as "not available" 
since the external jack is unplugged, making it invisible to browsers and 
applications.

Confirmed on: Lenovo IdeaPad Slim 5 16AKP10 with Conexant SN6140 codec 
(PCI SSID 17aa:38b6).

## Fix

Add a block immediately before the `HDACaptureDevice` macro call that 
overrides `DeviceMicJack` to use `Internal Mic Phantom Jack` when that 
control exists. Since phantom jacks always report as connected, PipeWire 
correctly marks the internal mic as available.

The condition is safe for other hardware — if no `Internal Mic Phantom Jack` 
control exists, the block has no effect.

## Known limitation

This fix requires UCM to be loaded for the card. On non-ACP HDA cards, 
`HDA-Intel.conf` does not currently activate UCM, requiring a 
machine-specific workaround. A companion fix to `HDA-Intel.conf` is needed 
but has not been tested broadly enough to include here — input from 
maintainers on the right approach would be welcome.

## Related

A companion kernel patch adding a pin config quirk for the SN6140 on this 
hardware has been submitted to alsa-devel@alsa-project.org.

Request URL   : https://github.com/alsa-project/alsa-ucm-conf/pull/792
Patch URL     : https://github.com/alsa-project/alsa-ucm-conf/pull/792.patch
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-16  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alsa-project/alsa-ucm-conf/pr/792@alsa-project.org>
2026-06-16  3:16 ` HDA: Fix internal mic availability for HDA codecs with phantom jack GitHub pull_request - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.