From: Takashi Iwai <tiwai@suse.de>
To: David Henningsson <david.henningsson@canonical.com>
Cc: alsa-devel@alsa-project.org, stable@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out
Date: Wed, 24 Jun 2015 11:00:28 +0200 [thread overview]
Message-ID: <s5hsi9hwker.wl-tiwai@suse.de> (raw)
In-Reply-To: <1435135593-6176-1-git-send-email-david.henningsson@canonical.com>
At Wed, 24 Jun 2015 10:46:33 +0200,
David Henningsson wrote:
>
> Thinkpad X250, when attached to a dock, has two headphone outs but
> no line out. Make sure we don't try to turn this into one headphone
> and one line out (since that disables the headphone amp on the dock).
>
> Alsa-info at http://www.alsa-project.org/db/?f=36f8764e1d782397928feec715d0ef90dfddd4c1
>
> Cc: stable@vger.kernel.org
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This is one of fixes I had in mind (and asked for testing in bugzilla
kernel.org report). One drawback by this is that the auto-mute
*between* the headphones won't work like before. If one has expected
it, then this can be seen as a regression.
Another fix was to change this as a proper line-out. This will keep
the current auto-mute behavior.
OTOH, dealing both jacks equally is also not bad, per se.
Takashi
> ---
> sound/pci/hda/patch_realtek.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 431a20b..8e02cdf 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -4511,6 +4511,7 @@ enum {
> ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC,
> ALC293_FIXUP_DELL1_MIC_NO_PRESENCE,
> ALC292_FIXUP_TPT440_DOCK,
> + ALC292_FIXUP_TPT440_DOCK2,
> ALC283_FIXUP_BXBT2807_MIC,
> ALC255_FIXUP_DELL_WMI_MIC_MUTE_LED,
> ALC282_FIXUP_ASPIRE_V5_PINS,
> @@ -4960,6 +4961,12 @@ static const struct hda_fixup alc269_fixups[] = {
> .chain_id = ALC269_FIXUP_HEADSET_MODE
> },
> [ALC292_FIXUP_TPT440_DOCK] = {
> + .type = HDA_FIXUP_FUNC,
> + .v.func = alc269_fixup_pincfg_no_hp_to_lineout,
> + .chained = true,
> + .chain_id = ALC292_FIXUP_TPT440_DOCK2
> + },
> + [ALC292_FIXUP_TPT440_DOCK2] = {
> .type = HDA_FIXUP_PINS,
> .v.pins = (const struct hda_pintbl[]) {
> { 0x16, 0x21211010 }, /* dock headphone */
> --
> 1.9.1
>
next prev parent reply other threads:[~2015-06-24 9:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 8:46 [PATCH] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out David Henningsson
2015-06-24 9:00 ` Takashi Iwai [this message]
2015-06-24 11:06 ` David Henningsson
2015-06-24 11:23 ` Raymond Yau
2015-06-24 11:40 ` [alsa-devel] " David Henningsson
2015-06-24 12:10 ` Takashi Iwai
2015-06-24 12:33 ` David Henningsson
2015-06-24 13:23 ` Takashi Iwai
2015-06-25 7:00 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hsi9hwker.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=david.henningsson@canonical.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox