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 <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2011-08-15 14:05:48 +02:00 committed by Colin Guthrie
parent 838672974e
commit 5c86d76554
2 changed files with 6 additions and 0 deletions

View file

@ -45,6 +45,9 @@ volume = merge
override-map.1 = all override-map.1 = all
override-map.2 = all-left,all-right override-map.2 = all-left,all-right
[Element Line HP Swap]
switch = on
; This profile path is intended to control the first headphones, not ; This profile path is intended to control the first headphones, not
; the second headphones. But it should not hurt if we leave the second ; the second headphones. But it should not hurt if we leave the second
; headphone jack enabled nonetheless. ; headphone jack enabled nonetheless.

View file

@ -38,6 +38,9 @@ override-map.2 = all-left,all-right
switch = off switch = off
volume = off volume = off
[Element Line HP Swap]
switch = off
; This profile path is intended to control the default output, not the ; This profile path is intended to control the default output, not the
; headphones. But it should not hurt if we leave the headphone jack ; headphones. But it should not hurt if we leave the headphone jack
; enabled nonetheless. ; enabled nonetheless.