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

Sjoerd Simons sjoerd at luon.net
Sun Aug 31 23:30:19 PDT 2014


On Mon, 2014-09-01 at 07:54 +0200, David Henningsson wrote:
> 
> On 2014-08-31 20:11, Sjoerd Simons wrote:
> > Recognize the Dock headphone jack in the same way the normal & front
> > headphone jacks are detected.
> 
> Hi Sjoerd,
> 
> The reason "Headphone" and "Front Headphone" are both in the same path, 
> is because they're often mixed, i e, the jack is called "Front 
> Headphone" but the volume control is called only "Headphone".
> 
> I'm not sure this is also the case for "Dock Headphone". In the case it 
> isn't, "Dock Headphone" would need its own path rather than being 
> integrated with the normal headphones path.
> 
> Could you check this?

I actually started it out as its own path, only to discover i couldn't
unmix them/mute them seperately :/.. So yes this is definitely the case
for at least my X220T + dock. As far as i could tell from the kernel HDA
sources it seems that all headphone outputs always tend to get setup as
mixed (although i could well be wrong here).

I'd actually would like them to not be seperately switchable (Such that
e.g. headphones on the laptop can get priority over headphones on the
dock) or rather, have the dock jack turn off when the laptops headphones
are plugged. But it looks like that needs some kernel patching to add
controls to change the HDA routing/pin setup to make that happen.

-- 
Sjoerd Simons <sjoerd at luon.net>


More information about the pulseaudio-discuss mailing list