alsa-mixer: Support dual Front Headphone Jack
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 25 Mar 2020 10:08:56 +0000 (18:08 +0800)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Wed, 30 Dec 2020 15:49:09 +0000 (15:49 +0000)
There are dual Front Headphone Jacks with different indices or with
different names, they can be found on HP EliteDesk 800 SFF and HP
EliteDesk 800 DM, respectively.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/272>

src/modules/alsa/mixer/paths/analog-output-headphones.conf

index 14fb814..d5a9a32 100644 (file)
@@ -35,6 +35,18 @@ state.unplugged = unknown
 [Jack Front Headphone]
 required-any = any
 
+; HP EliteDesk 800 SFF Headphone
+[Jack Front Headphone,1]
+required-any = any
+
+; HP EliteDesk 800 DM Headset
+[Jack Front Headphone Front]
+required-any = any
+
+; HP EliteDesk 800 DM Headphone
+[Jack Front Headphone Surround]
+required-any = any
+
 [Jack Front Headphone Phantom]
 required-any = any
 state.plugged = unknown