From 5c86d76554e43dfdba173e052257518493cd716e Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Mon, 15 Aug 2011 14:05:48 +0200 Subject: alsa-mixer: Add "Line HP Swap" element The "Line HP Swap" element needs to be set correctly for some Dove boards to work correctly. Thanks to Daniel T Chen for the patch. BugLink: http://bugs.launchpad.net/bugs/451635 Signed-off-by: David Henningsson --- src/modules/alsa/mixer/paths/analog-output-headphones.conf | 3 +++ src/modules/alsa/mixer/paths/analog-output.conf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf index 1d7bb0ba..1d8d3fe7 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 50fc88ea..16dadc44 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. -- cgit v1.2.3