alsa-mixer: recognize the "Speaker Jack" control

Submitted by Tanu Kaskinen on Sept. 2, 2017, 12:38 p.m.

Details

Message ID 20170902123826.4903-1-tanuk@iki.fi
State Accepted
Commit 248a77c7fd2f9682c58d3d3dd6f3c2ba3ad2c111
Headers show
Series "alsa-mixer: recognize the "Speaker Jack" control" ( rev: 1 ) in PulseAudio

Not browsing as part of any series.

Commit Message

Tanu Kaskinen Sept. 2, 2017, 12:38 p.m.
This control has been seen in the wild:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2017-August/028595.html
(The pastebin link in that mail might not work anymore, but the paste
just shows that there's a Speaker Jack control).
---
 src/modules/alsa/mixer/paths/analog-output-speaker.conf | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
index 9f4dac414..6f9968e1f 100644
--- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
@@ -56,6 +56,9 @@  state.unplugged = unknown
 state.plugged = no
 state.unplugged = unknown
 
+[Jack Speaker]
+required-any = any
+
 [Jack Speaker Phantom]
 required-any = any
 state.plugged = unknown