[pulseaudio-discuss] [PATCH 0/6] Tunes to get the X220 dock work just right

Sjoerd Simons sjoerd at luon.net
Fri Oct 31 14:01:23 PDT 2014


Following patches are various fixes to get my X220 with dock work just as i
want it.  For the big picture, when using my laptop on the dock the dock
is connect to the main speakers in my home office. However in some
cases (e.g.  voip calls) i tend to plug in a headset directly on the builtin
headphone jack.  I reconfigured the dock jack to be a line-out rather
then a different headset otherwise i can't seem to disable the dock output when
plugging in the headset to the built-in jack. alsa-info is available at [0].

The first patch in the set i submitted seperately earlier, but i've included it
here for completeness as there is an interdependency.

0: http://www.alsa-project.org/db/?f=75f540e83f869772bea6fd7a0059fd5a29a94811

Sjoerd Simons (6):
  Alsa: Correct port availability with multiple jacks
  alsa-mixer: Add jack for Dock line-out
  alsa-mixer: Switch off the Headphone element on the line-out path
  alsa-card: Prioritize plugged jacks moving the availability to no
  alsa-mixer: Disable line-out if headphone jack is plugged
  module-switch-on-port-available: also recognize a port going to
    unknown

 .../alsa/mixer/paths/analog-output-lineout.conf       | 19 ++++++++++++++-----
 .../alsa/mixer/paths/analog-output-speaker.conf       |  4 ++++
 src/modules/alsa/module-alsa-card.c                   | 15 +++++++--------
 src/modules/module-switch-on-port-available.c         |  8 ++------
 4 files changed, 27 insertions(+), 19 deletions(-)

-- 
2.1.1



More information about the pulseaudio-discuss mailing list