Re: Fwd: [PATCH] ALSA: hda/generic: Add mic autoswitch support for dyn_adc_switch mode
From: Zhang Heng
Date: Mon May 18 2026 - 03:05:23 EST
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.Thank you for your attention to this issue. This is the information from the problematic machine.
It would be nice to see the 'amixer controls' output to see more details what the driver exposes to the user space.
Jaroslav
My colleague suspects it's because 'amixer scontrols' does not show a 'capture source' similar to 'input source'. I'm not sure if that's the case.
numid=16,iface=CARD,name='Front Headphone Jack'
numid=14,iface=CARD,name='Line Jack'
numid=15,iface=CARD,name='Line Out Jack'
numid=12,iface=CARD,name='Mic Jack'
numid=13,iface=CARD,name='Rear Mic Jack'
numid=11,iface=MIXER,name='Master Playback Switch'
numid=10,iface=MIXER,name='Master Playback Volume'
numid=4,iface=MIXER,name='Headphone Playback Switch'
numid=3,iface=MIXER,name='Headphone Playback Volume'
numid=19,iface=MIXER,name='PCM Playback Volume'
numid=2,iface=MIXER,name='Line Out Playback Switch'
numid=1,iface=MIXER,name='Line Out Playback Volume'
numid=7,iface=MIXER,name='Capture Source'
numid=9,iface=MIXER,name='Capture Switch'
numid=8,iface=MIXER,name='Capture Volume'
numid=5,iface=MIXER,name='Loopback Mixing'
numid=6,iface=MIXER,name='Auto-Mute Mode'
numid=18,iface=PCM,name='Capture Channel Map'
numid=17,iface=PCM,name='Playback Channel Map'
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 80
Mono: Playback 52 [65%] [-28.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 80
Mono:
Front Left: Playback 80 [100%] [0.00dB] [on]
Front Right: Playback 80 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Line',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Line Out',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 80
Mono:
Front Left: Playback 0 [0%] [-80.00dB] [off]
Front Right: Playback 0 [0%] [-80.00dB] [off]
Simple mixer control 'Mic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 80
Front Left: Capture 80 [100%] [6.00dB] [on]
Front Right: Capture 80 [100%] [6.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'PCM',0
Simple mixer control 'Line',0
Simple mixer control 'Line Out',0
Simple mixer control 'Mic',0
Simple mixer control 'Capture',0
Simple mixer control 'Auto-Mute Mode',0
Simple mixer control 'Loopback Mixing',0
Simple mixer control 'Rear Mic',0