alsa-mixer: Support more phantom jacks

It's fairly uncommon, but it happens that jack detection is enabled
for some reason, e g hardware design. In that case, we cannot use
jack detection, but we can still use the hint to pick up that there
is a path.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2013-03-21 19:28:49 +01:00
parent 560ce5ece0
commit 1a3f800799
6 changed files with 35 additions and 0 deletions

View file

@ -25,6 +25,11 @@ name = analog-input-microphone-dock
[Jack Dock Mic] [Jack Dock Mic]
required-any = any required-any = any
[Jack Dock Mic Phantom]
state.plugged = unknown
state.unplugged = unknown
required-any = any
[Element Dock Mic Boost] [Element Dock Mic Boost]
required-any = any required-any = any
switch = select switch = select

View file

@ -25,6 +25,11 @@ name = analog-input-microphone-front
[Jack Front Mic] [Jack Front Mic]
required-any = any required-any = any
[Jack Front Mic Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
[Element Front Mic Boost] [Element Front Mic Boost]
required-any = any required-any = any
switch = select switch = select

View file

@ -24,6 +24,11 @@ priority = 81
[Jack Line] [Jack Line]
required-any = any required-any = any
[Jack Line Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
[Element Capture] [Element Capture]
switch = mute switch = mute
volume = merge volume = merge

View file

@ -25,6 +25,11 @@ name = analog-input-microphone
[Jack Mic] [Jack Mic]
required-any = any required-any = any
[Jack Mic Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
[Element Mic Boost] [Element Mic Boost]
required-any = any required-any = any
switch = select switch = select

View file

@ -25,6 +25,11 @@ name = analog-input-microphone-rear
[Jack Rear Mic] [Jack Rear Mic]
required-any = any required-any = any
[Jack Rear Mic Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
[Element Rear Mic Boost] [Element Rear Mic Boost]
required-any = any required-any = any
switch = select switch = select

View file

@ -28,9 +28,19 @@ device.icon_name = audio-headphones
[Jack Front Headphone] [Jack Front Headphone]
required-any = any required-any = any
[Jack Front Headphone Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
[Jack Headphone] [Jack Headphone]
required-any = any required-any = any
[Jack Headphone Phantom]
required-any = any
state.plugged = unknown
state.unplugged = unknown
# This jack can be either a headphone *or* a mic. Used on some ASUS netbooks. # This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
[Jack Headphone Mic] [Jack Headphone Mic]
required-any = any required-any = any