[pulseaudio-discuss] [PATCH] alsa-mixer: recognize Dock headphone jack

Raymond Yau superquad.vortex2 at gmail.com
Mon Sep 1 21:30:20 PDT 2014


> > >
> > > Recognize the Dock headphone jack in the same way the normal & front
> > > headphone jacks are detected.
> > > ---
> > >  src/modules/alsa/mixer/paths/analog-output-headphones.conf | 8
++++++++
> > >  src/modules/alsa/mixer/paths/analog-output-speaker.conf    | 4 ++++
> > >  2 files changed, 12 insertions(+)
> > >
> > > diff --git
a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > > index 89d794f..199b2c5 100644
> > > --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > > +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > > @@ -25,6 +25,14 @@ description-key = analog-output-headphones
> > >  [Properties]
> > >  device.icon_name = audio-headphones
> > >
> > > +[Jack Dock Headphone]
> > > +required-any = any
> >
> > As you assume dock headphone and headphone share the same headphone
volume
> > control
>
> The do on my machine indeed. For reference i've uploaded my alsa-info
> into:
>http://www.alsa-project.org/db/?f=5a1c208208ff33a2231d2d03d5bea5ec452dc24d
>
> > Do you mean the current alsa driver support surround 40 for notebook
with
> > dock headphone is incorrect ?
>
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=88d5760649d9024a2a68e649909f522ab42d891c

You will get auto mute lineout+speaker if the pin fixup is dock line out
instead of dock headphone but pulseaudio don't like headphone  and line out
share pcm playback volume control and no headphone playback switch

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda?id=1a1455de10d89b9f2107fe5ad1746e7c18838492

For notebook with dual headphone jacks which support multi channel and
headphone Jack won't mute the other headphone Jack

As you expect headphone can mute   dock headphone and speaker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140902/759215a1/attachment.html>


More information about the pulseaudio-discuss mailing list