52 lines
1.6 KiB
Diff
52 lines
1.6 KiB
Diff
|
From 8911d02a6ed1622ab6e53eac3383753dc3caeac7 Mon Sep 17 00:00:00 2001
|
||
|
From: Takashi Iwai <tiwai@suse.de>
|
||
|
Date: Mon, 15 Jun 2015 16:48:44 +0200
|
||
|
Subject: [PATCH] alsa-mixer: Recognize "Dock Line Out" jack
|
||
|
|
||
|
Some machines provide "Dock Line Out Jack" control that should be
|
||
|
handled like a normal line out.
|
||
|
|
||
|
Signed-off-by: Takashi Iwai <tiwai@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
|
||
|
|