Re: Fwd: [PATCH] ALSA: hda/generic: Add mic autoswitch support for dyn_adc_switch mode

From: Takashi Iwai

Date: Fri May 15 2026 - 07:39:33 EST


On Fri, 15 May 2026 13:19:57 +0200,
Jaroslav Kysela wrote:
>
> On 5/15/26 11:24, Takashi Iwai wrote:
> > On Fri, 08 May 2026 04:50:22 +0200,
> > Zhang Heng wrote:
> >>
> >> I tested this change:
> >>
> >> In create_capture_mixers in generic.c:
> >>
> >> - name = nums > 1 ? "Input Source" : "Capture Source";
> >> + name = "Input Source";
> >>
> >> And it also works normally. It seems that user-space does not handle
> >> "Capture Source" very well. So should we just remove "Capture Source"?
> >
> > If this really works, it is rather a question to user-space behavior,
> > specifically alsa-lib's interpretation.
>
> It's more likely the app interpretation (PA/PW) rather than
> alsa-lib. The "Input Source" means that there are more capture PCM
> devices and those controls distinguish the input sources for them.

I vaguely remember that we have some special handling of "Capture
Source" in the mixer abstraction?

> It would be nice to see the 'amixer controls' output to see more
> details what the driver exposes to the user space.

Yes, we need to take a deeper look at the behavior in user-space.


thanks,

Takashi