Hi, ARM Dove boards have a 'Line HP Swap' mixer control that toggles output between an HP jack next to the serial port and RCA jacks. For PA to function out of the box for this hardware, we need to handle this control, hence this patch. Please consider for merging into stable-queue.
Best, -Dan
From f3a64c4941dbda2bb44f3c182de555128c5bc70e Mon Sep 17 00:00:00 2001 From: Daniel T Chen <crim...@ubuntu.com> Date: Fri, 9 Apr 2010 17:52:28 -0400 Subject: [PATCH] Handle 'Line HP Swap' element for ARM Dove boards BugLink: https://launchpad.net/bugs/451635 The 'Line HP Swap' element needs to be unmuted for the headphone port to be active and muted for the RCA jacks to be active. Fit the unmute/mute choice for this element to the existing headphones/speakers semantics such that: 1) Analog Headphones chooses headphone port (unmute 'Line HP Swap'); 2) Analog Output chooses RCA jacks (mute 'Line HP Swap'). --- .../alsa/mixer/paths/analog-output-headphones.conf | 3 +++ src/modules/alsa/mixer/paths/analog-output.conf | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf index 1d7bb0b..1d8d3fe 100644 --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf @@ -45,6 +45,9 @@ volume = merge override-map.1 = all override-map.2 = all-left,all-right +[Element Line HP Swap] +switch = on + ; This profile path is intended to control the first headphones, not ; the second headphones. But it should not hurt if we leave the second ; headphone jack enabled nonetheless. diff --git a/src/modules/alsa/mixer/paths/analog-output.conf b/src/modules/alsa/mixer/paths/analog-output.conf index 50fc88e..16dadc4 100644 --- a/src/modules/alsa/mixer/paths/analog-output.conf +++ b/src/modules/alsa/mixer/paths/analog-output.conf @@ -38,6 +38,9 @@ override-map.2 = all-left,all-right switch = off volume = off +[Element Line HP Swap] +switch = off + ; This profile path is intended to control the default output, not the ; headphones. But it should not hurt if we leave the headphone jack ; enabled nonetheless. -- 1.7.0
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss