From patchwork Thu Mar 5 16:52:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ingo Brueckl X-Patchwork-Id: 5948001 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 59AC69F373 for ; Thu, 5 Mar 2015 16:55:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 980E02038F for ; Thu, 5 Mar 2015 16:55:46 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9F590202E5 for ; Thu, 5 Mar 2015 16:55:45 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id C4847265A3C; Thu, 5 Mar 2015 17:55:44 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 09EEE26599F; Thu, 5 Mar 2015 17:54:55 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id AE2922659A2; Thu, 5 Mar 2015 17:54:53 +0100 (CET) Received: from moutD.wup.tal.de (moutd.wup.tal.de [213.240.144.30]) by alsa0.perex.cz (Postfix) with ESMTP id 78E7A26052A for ; Thu, 5 Mar 2015 17:54:43 +0100 (CET) Received: from point.localnet (mue-88-130-113-018.dsl.tropolys.de [88.130.113.18]) (Authenticated sender: ib@wtal.de) by smtp.tal.de (Postfix) with ESMTPA id 4D751800076C; Thu, 5 Mar 2015 17:54:43 +0100 (CET) Received: from ib by point.localnet with local (masqmail 0.2.21) id 1YTZ2o-2xE-00; Thu, 05 Mar 2015 17:54:42 +0100 Message-ID: <54f889c7.33f7fe8f.bm001@wupperonline.de> From: =?ISO-8859-1?Q?Ingo=20Br=FCckl?= To: alsa-devel@alsa-project.org Date: Thu, 05 Mar 2015 17:52:19 +0100 In-Reply-To: MIME-Version: 1.0 X-Mailer: blueMail/Linux 1.5 Cc: superquad.vortex2@gmail.com, tiwai@suse.de, david.henningsson@canonical.com Subject: Re: [alsa-devel] Intel HDA / ALC662 analog surround problem X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Raymond Yau wrote on Fri, 27 Feb 2015 10:11:20 +0800: > Try [...] to change node 0x15 Speaker as not connected This is exactly what I did now: It gives me the multi-io config without side effects and without the hp_lo_shared and spk_lo_shared issue in get_line_out_pfx(). I'd like to make this configurable for people suffering from the same problem with their ALC662, but I don't know how to identify when it would occur. Ingo diff -Nur a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c --- a/sound/pci/hda/patch_realtek.c 2015-02-27 02:49:36.000000000 +0100 +++ b/sound/pci/hda/patch_realtek.c 2015-03-05 17:09:15.305016021 +0100 @@ -5665,9 +5665,10 @@ static int alc662_parse_auto_config(struct hda_codec *codec) { - static const hda_nid_t alc662_ignore[] = { 0x1d, 0 }; + /* ignore internal speaker (0x15) in order to get a multi-io config */ + static const hda_nid_t alc662_ignore[] = { 0x15, 0x1d, 0 }; static const hda_nid_t alc663_ssids[] = { 0x15, 0x1b, 0x14, 0x21 }; - static const hda_nid_t alc662_ssids[] = { 0x15, 0x1b, 0x14, 0 }; + static const hda_nid_t alc662_ssids[] = { 0x1b, 0x14, 0 }; const hda_nid_t *ssids; if (codec->vendor_id == 0x10ec0272 || codec->vendor_id == 0x10ec0663 ||