[PATCH] alsa-mixer: recognize Dock headphone jack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2014-09-01 08:30, Sjoerd Simons wrote:
> 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.

We had the discussion on IRC which I'm not exactly sure where it ended 
up w r t this patch, other than you tested retasking your dock headphone 
to dock line out.

Anyway, a quick grep through alsa-infos for Canonical's certified 
machines shows that "Dock Headphone Jack" *without* a specific "Dock 
Headphone" volume is the rule rather than the exception, so I pushed 
this patch in its original form now. Thanks!

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux