[pulseaudio-discuss] [PATCH 2/6] alsa-mixer: Add jack for Dock line-out

Raymond Yau superquad.vortex2 at gmail.com
Fri Oct 31 19:53:18 PDT 2014


>
> ---
>  src/modules/alsa/mixer/paths/analog-output-lineout.conf | 8 ++++++++
>  src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 ++++
>  2 files changed, 12 insertions(+)
>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> index 40af699..66639a5 100644
> --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
> @@ -26,6 +26,14 @@ state.plugged = unknown
>  state.unplugged = unknown
>  required-any = any
>
> +[Jack Dock Line Out]
> +required-any = any
> +
> +[Jack Dock Line Out Phantom]
> +state.plugged = unknown
> +state.unplugged = unknown
> +required-any = any
> +
>  [Jack Line Out Front]
>  required-any = any
>
> diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
> index 6035052..f52b635 100644
> --- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
> +++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
> @@ -33,6 +33,10 @@ state.unplugged = unknown
>  state.plugged = no
>  state.unplugged = unknown
>
> +[Jack Dock Line Out]
> +state.plugged = no
> +state.unplugged = unknown
> +
>  [Jack Front Headphone]
>  state.plugged = no
>  state.unplugged = unknown
> --
> 2.1.1

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=7bba2157c5d3ee7f076adfdfa96eec274801da8f

If there are dock headphone and dock line out,
Dock speaker  also need fix too
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141101/25344b13/attachment.html>


More information about the pulseaudio-discuss mailing list