From c50766b52ad4cdefa51d7186389c1fb777402802 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Fri, 21 Aug 2015 08:46:21 +0200 Subject: [PATCH] alsa-mixer: Add "Front Line Out" and "Rear Line Out" "Front Line Out" was found in the wild on one of the machines we enable. I figured I could just as well add "Rear Line Out" too, because that's just as likely to show up. As a reminder, "Front Line Out" means "a line out jack physically located on the front side", where as "Line Out Front" means "a line out jack playing back front left and front right channels in a channel map". Signed-off-by: David Henningsson --- src/modules/alsa/mixer/paths/analog-output-lineout.conf | 16 ++++++++++++++++ .../alsa/mixer/paths/analog-output-speaker-always.conf | 8 ++++++++ src/modules/alsa/mixer/paths/analog-output-speaker.conf | 8 ++++++++ 3 files changed, 32 insertions(+) diff --git a/src/modules/alsa/mixer/paths/analog-output-lineout.conf b/src/modules/alsa/mixer/paths/analog-output-lineout.conf index 68f444a..454810d 100644 --- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf +++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf @@ -33,6 +33,22 @@ state.unplugged = unknown state.plugged = no state.unplugged = unknown +[Jack Front Line Out] +required-any = any + +[Jack Front Line Out Phantom] +state.plugged = unknown +state.unplugged = unknown +required-any = any + +[Jack Rear Line Out] +required-any = any + +[Jack Rear 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-always.conf b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf index b6d9f94..599cfc8 100644 --- a/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf +++ b/src/modules/alsa/mixer/paths/analog-output-speaker-always.conf @@ -41,6 +41,14 @@ state.unplugged = unknown state.plugged = no state.unplugged = unknown +[Jack Front Line Out] +state.plugged = no +state.unplugged = unknown + +[Jack Rear Line Out] +state.plugged = no +state.unplugged = unknown + [Element Hardware Master] switch = mute volume = merge diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf index 39193dd..ab02ad0 100644 --- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf +++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf @@ -44,6 +44,14 @@ state.unplugged = unknown state.plugged = no state.unplugged = unknown +[Jack Front Line Out] +state.plugged = no +state.unplugged = unknown + +[Jack Rear Line Out] +state.plugged = no +state.unplugged = unknown + [Jack Speaker Phantom] required-any = any state.plugged = unknown -- 2.7.4