[pulseaudio-discuss] [PATCH] alsa-mixer: Fix Analog Input showing up on USB Headset

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Mar 11 00:06:55 PDT 2014


On Tue, 2014-03-11 at 05:55 +0100, David Henningsson wrote:
> In some cases, "Analog Input" could show up as well as
> "Headset Mic" (or "Headphone Mic"), because I forgot to add the
> relevant "required-absent" lines when I added the headset mic path.
> 
> As a result, both "Analog Input" and "Headset Mic" showed up on the
> Logitech USB 530 Headset.
> 
> Reported-by: Steve Magoun <steve.magoun at canonical.com>
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  src/modules/alsa/mixer/paths/analog-input.conf |   15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/src/modules/alsa/mixer/paths/analog-input.conf b/src/modules/alsa/mixer/paths/analog-input.conf
> index c8f8e3c..356b07c 100644
> --- a/src/modules/alsa/mixer/paths/analog-input.conf
> +++ b/src/modules/alsa/mixer/paths/analog-input.conf
> @@ -61,6 +61,21 @@ required-absent = any
>  [Element Rear Mic Boost]
>  required-absent = any
>  
> +[Element Headset]
> +required-absent = any
> +
> +[Element Headset Mic]
> +required-absent = any
> +
> +[Element Headset Mic Boost]
> +required-absent = any
> +
> +[Element Headphone Mic]
> +required-absent = any
> +
> +[Element Headphone Mic Boost]
> +required-absent = any
> +
>  [Element Line]
>  required-absent = any

Looks good to me.

One question: why don't we suppress creation of analog-output in the
same way as analog-input?

-- 
Tanu



More information about the pulseaudio-discuss mailing list