alsa-mixer: Add Phantom Jack support

For kernel 3.6, "phantom jack" kctls have been added. They serve as
a marker that a particular port exist. They were made so we can detect
that there actually are speakers and internal mic on a laptop, even if
there are no other indications (volume controls etc).

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2012-06-28 15:35:38 +02:00
parent 16e4ef5df2
commit 0621b1f99c
2 changed files with 10 additions and 0 deletions

View file

@ -39,6 +39,11 @@ state.unplugged = unknown
state.plugged = no
state.unplugged = unknown
[Jack Internal Mic Phantom]
state.plugged = unknown
state.unplugged = unknown
required-any = any
[Element Internal Mic Boost]
required-any = any
switch = select

View file

@ -26,6 +26,11 @@ name = analog-output-speaker
state.plugged = no
state.unplugged = unknown
[Jack Speaker Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
[Element Hardware Master]
switch = mute
volume = merge