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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux