mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
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:
parent
16e4ef5df2
commit
0621b1f99c
2 changed files with 10 additions and 0 deletions
|
|
@ -39,6 +39,11 @@ state.unplugged = unknown
|
||||||
state.plugged = no
|
state.plugged = no
|
||||||
state.unplugged = unknown
|
state.unplugged = unknown
|
||||||
|
|
||||||
|
[Jack Internal Mic Phantom]
|
||||||
|
state.plugged = unknown
|
||||||
|
state.unplugged = unknown
|
||||||
|
required-any = any
|
||||||
|
|
||||||
[Element Internal Mic Boost]
|
[Element Internal Mic Boost]
|
||||||
required-any = any
|
required-any = any
|
||||||
switch = select
|
switch = select
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,11 @@ name = analog-output-speaker
|
||||||
state.plugged = no
|
state.plugged = no
|
||||||
state.unplugged = unknown
|
state.unplugged = unknown
|
||||||
|
|
||||||
|
[Jack Speaker Phantom]
|
||||||
|
required-any = any
|
||||||
|
state.plugged = unknown
|
||||||
|
state.unplugged = unknown
|
||||||
|
|
||||||
[Element Hardware Master]
|
[Element Hardware Master]
|
||||||
switch = mute
|
switch = mute
|
||||||
volume = merge
|
volume = merge
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue