On Thu, 2012-06-28 at 16:27 +0200, David Henningsson wrote: > 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 at canonical.com> > --- > .../mixer/paths/analog-input-internal-mic.conf | 4 ++++ > .../alsa/mixer/paths/analog-output-speaker.conf | 5 +++++ > 2 files changed, 9 insertions(+) > > diff --git a/src/modules/alsa/mixer/paths/analog-input-internal-mic.conf b/src/modules/alsa/mixer/paths/analog-input-internal-mic.conf > index ba15f1c..a8cbb40 100644 > --- a/src/modules/alsa/mixer/paths/analog-input-internal-mic.conf > +++ b/src/modules/alsa/mixer/paths/analog-input-internal-mic.conf > @@ -39,6 +39,10 @@ state.unplugged = unknown > state.plugged = no > state.unplugged = unknown > > +[Jack Internal Mic Phantom] > +state.plugged = unknown > +state.unplugged = unknown > + Should this have "required-any = any", similarly to Jack Speaker Phantom? > [Element Internal Mic Boost] > required-any = any > switch = select > diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf > index 9c58ed9..cea02c2 100644 > --- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf > +++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf > @@ -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 -- Tanu