[pulseaudio-discuss] [PATCH] alsa-mixer: Add "Line Out Jack" to analog-output.conf

David Henningsson david.henningsson at canonical.com
Thu May 16 02:04:09 PDT 2013

A stationary computer usually has headphone jack(s) and line out jacks.
In some cases analog-output.conf will be a subset of
analog-output-headphones.conf, causing line outs to be unusable (because
headphones are unplugged).

This late in the cycle, this was the safest way I could think of to try
to fix this for a particular computer. In later versions of PulseAudio
we could consider making a dedicated line out path instead, and have
proper jack detection there.

Signed-off-by: David Henningsson <david.henningsson at canonical.com>
 src/modules/alsa/mixer/paths/analog-output.conf |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/modules/alsa/mixer/paths/analog-output.conf b/src/modules/alsa/mixer/paths/analog-output.conf
index 1b7482c..3a552c9 100644
--- a/src/modules/alsa/mixer/paths/analog-output.conf
+++ b/src/modules/alsa/mixer/paths/analog-output.conf
@@ -22,6 +22,14 @@
 priority = 99
+[Jack Line Out]
+state.plugged = unknown
+state.unplugged = unknown
+[Jack Line Out Phantom]
+state.plugged = unknown
+state.unplugged = unknown
 [Element Hardware Master]
 switch = mute
 volume = merge

More information about the pulseaudio-discuss mailing list