Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4701631ybv; Tue, 11 Feb 2020 01:38:27 -0800 (PST) X-Google-Smtp-Source: APXvYqxTBU70m2D1O1nzTVZ6klzBDSzMTN+b/VdRSs4QF4lqA81XBs1F2bXo+H9BPU6aoQ+J84WU X-Received: by 2002:a05:6830:1385:: with SMTP id d5mr4696216otq.61.1581413907413; Tue, 11 Feb 2020 01:38:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581413907; cv=none; d=google.com; s=arc-20160816; b=F6vBtQh23AP77m2bzC4SiRWVCCmZulvwLcH9SXB5CXFlKPEabaHXeq2aQI2fU3lQ0v Q/Iq5oOYaZlIPfRAoJJFldal6jNhbIf9sYASsS0oRGS/IBGoRyPtWzbld99nrhKHxTyl eC0eVvdeXK4GyVbbAKk20fAribTcITzugHuH91GLyOwIM1Kyb1nzVGELvZYo/rlRLCMn EhnDZ5x0A4VFL+90XxMO94Za4YwWwi22fdJJZ5BpIpoNWyGK0Uz5CA4bYTVUv9+XDffX p5Zedk/iOvqqX5XO+QufFSpYc0cpfzxUg6rB1ZrozWHAtOBzsRrJgIw1h77Pqmmhk9y6 L64Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature:dkim-filter; bh=9IvGzzJGYDpncBJXTDMIMmetMvPwcS5FQO6sWG2ZxZw=; b=mWXAACoeYmLXki/EZzyto2Xbo/j0eh8Rl6GnYhlw1htdE2XRKFcnKnvWFTLc2aGgAL ugfNnGWO4kKyORQcCkLVBCrRL/Cgzl0eYGdWEKltXmO9HUUuF2vBP4fz2i9fMv3T2VvN Fc60hFTe0/jZ6xVreAfjEuDDricbDWMV0319M1k3uV3dDozf5uzJG3S8bs+pSt7m0OXN A8RYZVTCyRy/j9kYWaJASFXTte8E2J4EGxCGDg3fT+U7k/TC7Qz7sl5E+eStIs+HGGMZ vzZBiSUBJzFjgQmEnetIPzzsjA8/aJ35f/vcjk2vxBrJuRVM61Iig8Mm9Yx4V3J8U2LN ujsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b=1tAsP1W7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e26si1688449otp.140.2020.02.11.01.38.15; Tue, 11 Feb 2020 01:38:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@perex.cz header.s=default header.b=1tAsP1W7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=perex.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727761AbgBKJf1 (ORCPT + 99 others); Tue, 11 Feb 2020 04:35:27 -0500 Received: from mail1.perex.cz ([77.48.224.245]:56140 "EHLO mail1.perex.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727556AbgBKJf1 (ORCPT ); Tue, 11 Feb 2020 04:35:27 -0500 Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id D4441A0040; Tue, 11 Feb 2020 10:35:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz D4441A0040 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1581413724; bh=9IvGzzJGYDpncBJXTDMIMmetMvPwcS5FQO6sWG2ZxZw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=1tAsP1W7o90yfr++XbusgfY8zfv4DAXfLPRYYILiXMMlAqIlryn66KifzDWpXbhJk g1UeIqDxhktfoUsaJHSGVLpu6adOeEFYzUkRjZ//2GOP7AusIvsx7+Njcgn3Fqsa+s iPy1whLIQ627dViOqlOXVUp3y3DfP7IQaMEDR6TI= Received: from p50.perex-int.cz (unknown [192.168.100.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Tue, 11 Feb 2020 10:35:19 +0100 (CET) Subject: Re: [PATCH 2/2] ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk value To: Benjamin Poirier Cc: Takashi Iwai , Kailang Yang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20200211055651.4405-1-benjamin.poirier@gmail.com> <20200211055651.4405-2-benjamin.poirier@gmail.com> <20200211081604.GA8286@f3> From: Jaroslav Kysela Message-ID: <901c395a-7fb5-5672-5955-d6d211824177@perex.cz> Date: Tue, 11 Feb 2020 10:35:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200211081604.GA8286@f3> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dne 11. 02. 20 v 9:16 Benjamin Poirier napsal(a): > On 2020/02/11 08:40 +0100, Jaroslav Kysela wrote: > [...] >>> >>> In summary, Node 0x17 DAC connection 0x3 offers the loudest max volume and >>> the most detailed mixer controls. That connection is obtained with quirk >>> ALC295_FIXUP_DISABLE_DAC3. Therefore, change the ThinkPad X1 Carbon 7th to >>> use ALC295_FIXUP_DISABLE_DAC3. >> >> The volume split (individual volume control) will cause trouble for the UCM >> volume control at the moment which is the target for this device to get the >> digital microphone working. If there is no possibility to share DAC, it >> would be probably more nice to join the volume control in the driver. >> >> Have you tried to use 0x03 as source for all four speakers? > > Front speakers are fixed to 0x02. Node 0x14 > Connection: 1 > 0x02 > Yes, you're right. I forgot that. >> >> Why PA handles the rear volume control with the current driver code in the >> legacy ALSA driver? It should be handled like standard stereo device. I'll >> check. > > The device comes up with "Analog Stereo Output" profile by default. I > changed it to "Analog Surround 4.0 Output" to test controlling each > channel individually: Yes, but does the volume control work (does PA change the appropriate ALSA mixer volume)? Sometimes, it's difficult to see the difference between soft volume attenuation and the hardware volume control. > >>> pavucontrol controls are reported with the device configured with the >>> "Analog Surround 4.0 Output" profile. > >> >> You should also test PA with UCM. > > Please let me know what do I need to test exactly? I'm not familiar with > UCM. Just install the latest pulseaudio (latest from repo), alsa-lib and alsa-ucm-conf (also from repo). If pulseaudio detects UCM, it has the preference. Jaroslav > -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc.