[pulseaudio-discuss] [PATCH] alsa-mixer: Recognize "Dock Line Out" jack

Takashi Iwai tiwai at suse.de
Mon Jun 15 08:06:41 PDT 2015


Some machines provide "Dock Line Out Jack" control that should be
handled like a normal line out.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 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 68f444ae80a9..773abc409aa2 100644
--- a/src/modules/alsa/mixer/paths/analog-output-lineout.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-lineout.conf
@@ -71,6 +71,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
+
 [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 39193dd8851e..9e81e5592baa 100644
--- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
@@ -44,6 +44,10 @@ state.unplugged = unknown
 state.plugged = no
 state.unplugged = unknown
 
+[Jack Dock Line Out]
+state.plugged = no
+state.unplugged = unknown
+
 [Jack Speaker Phantom]
 required-any = any
 state.plugged = unknown
-- 
2.4.3



More information about the pulseaudio-discuss mailing list