Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4832618ybv; Tue, 11 Feb 2020 04:21:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzr33PPAp0lIFSlG7DmXbyZTrBN1XVDlOh7/3Yk53N2tQibs4YZL0YN4ptc/ADzne3oAUjf X-Received: by 2002:a54:4010:: with SMTP id x16mr2734962oie.174.1581423708093; Tue, 11 Feb 2020 04:21:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581423708; cv=none; d=google.com; s=arc-20160816; b=yfU6HYoq8rRulFjQ8cIVBWRYTQyYZbTXp6gKJEazi2zNpgHVjiiKNzV49vCxQoyYE7 gWyXC28inGBaa0H6xTm5UB0hD4JhZflFKx4TCFxhaXyEGCMaudnr73hKGOsQtoiwZZmi je1d6ngis6xuEhrURz8XUF4N+RunNo3dgh22QmTsbWn+6myCsy1byrEpGRJ1Ag35NwAs /ezmjfjEz8swkVuM9XOgs7s/2vOYzzBwMCI1BCdvXGwyzwupdfLii52eAYtm5uYcafRA sUyfiHkSi5PfrVn2WrgZyO1ovbSultbE3m1GqOa+rGS/xw+fm7226ole9+xCMv6Im7VS RF5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=eMtYAOltTS55/voD4YIIDIQuDbCIU7QwDAsh+xh9z+0=; b=zRfJ9cKsywQ9ITpmNwhvUnZTfCVsr1wriyE6P3Tgs4OR9U3rEOnacFi8cd8ehhaBzS tF9MJs1Sihc72F+E7EVmQ06GYHDk9gGTd6uZ8hI4IPorN3uQRpStxhvjQCkqCSN8FESJ Mj+h5c9H7pfjy8h+F9m5sTKr3ZXv6yAG+80/iMPFdBSc9jnhFKzRclU91XpwXOal3T7f 4Dis3RtzC2mB8pJu9w9Ag4JVtB2DHkGiDsXS27SagypTcWi4tLJx1XLc/oW+k9tszp8b URLvMNL5zfX3SUbFcgWIskyVSMWDj+pPXdSimLsGNyx0HwSjGRM32cWJtkCpcG6SR9J3 ToNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RQBAwKSJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l204si1762892oig.31.2020.02.11.04.21.36; Tue, 11 Feb 2020 04:21:48 -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=@gmail.com header.s=20161025 header.b=RQBAwKSJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728388AbgBKLmn (ORCPT + 99 others); Tue, 11 Feb 2020 06:42:43 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:55524 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728338AbgBKLmm (ORCPT ); Tue, 11 Feb 2020 06:42:42 -0500 Received: by mail-pj1-f66.google.com with SMTP id d5so1199395pjz.5 for ; Tue, 11 Feb 2020 03:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eMtYAOltTS55/voD4YIIDIQuDbCIU7QwDAsh+xh9z+0=; b=RQBAwKSJ5jjdTdzvJid/G9UHEQAUDQPKbASaPJ5LZOGJnau6jYyHulJxuN1gWnlla7 i3EohY1ipFEibsfFWKS7DE6OyjFKPwX1N3omW19fsjod6u7yXqTITTV1qSx0+RH11K5G sbCZtTDBVAQdBOPTc+lHULGeR6dtBTiTFyrwYEzzwQtStCa2xdwMTY5GiE4Az8mn6R2X ene1Ng9ExiKTFINfCjnZZjq01tBcYls+P+5x/InP3MT5P4cQFYP9y76G1qHjzXBXJtWG 8SVYX0947daZjOo9mthl8A1mH2Wrjlx6k9Dme+hAO3XY/hAwkXXA1QbTo0rYGNUXfx2l gOaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=eMtYAOltTS55/voD4YIIDIQuDbCIU7QwDAsh+xh9z+0=; b=sM+zzmMMJqoa7VSuG304D0b4bUBFfVzF9SN9+c8n+5laE8iLGmxwYU0lTc3OB5ggo6 O6dD15WqF2mAYobS7xyfR591YaLskc0Avd5LkG1/eSSNrRdsfaFSWrxR94n9XoMUqh2U snBPNig53MKT0Nd8f//JRHeKVj2y71JYSLRccsOa6xmGdNKKrddt+NsrDlgoRDyfSEcT 9wOdTguKree9mel7f+BMXmdTcAnO6JJCAVOa0lPEC+r1f5znSbuxULA3y1v9M8l6MjJg oK04NN8cfs93Bjpi97M/hY+pkxOXpgeWMPvz9YZXJdnc02XU5RHcz8iRqZPh7fIM3Fry gxtQ== X-Gm-Message-State: APjAAAVm7NX146tCwE9FXaB99oZKhlauW0aLcLEPr9rj7Z3wO32279h7 LRmKcAmNwAvwZJ5cV9sHnl4= X-Received: by 2002:a17:90a:1f8d:: with SMTP id x13mr3286677pja.27.1581421361825; Tue, 11 Feb 2020 03:42:41 -0800 (PST) Received: from f3 (ag119225.dynamic.ppp.asahi-net.or.jp. [157.107.119.225]) by smtp.gmail.com with ESMTPSA id l13sm2863661pjq.23.2020.02.11.03.42.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:42:40 -0800 (PST) Date: Tue, 11 Feb 2020 20:42:36 +0900 From: Benjamin Poirier To: Jaroslav Kysela Cc: Takashi Iwai , Kailang Yang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk value Message-ID: <20200211114236.GA2691@f3> References: <20200211055651.4405-1-benjamin.poirier@gmail.com> <20200211055651.4405-2-benjamin.poirier@gmail.com> <20200211081604.GA8286@f3> <901c395a-7fb5-5672-5955-d6d211824177@perex.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <901c395a-7fb5-5672-5955-d6d211824177@perex.cz> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/02/11 10:35 +0100, Jaroslav Kysela wrote: > Dne 11. 02. 20 v 9:16 Benjamin Poirier napsal(a): [...] > > > > > > 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. I see what you mean. When set to the "Analog Surround 4.0 Output", pulseaudio didn't change the "Bass Speaker" mixer (always at 0dB gain). It used a combination of Master, Front and sometimes PCM mixers to control all four speakers. For example: pacmd list-sinks name: volume: front-left: 10349 / 16% / -48.09 dB, front-right: 39377 / 60% / -13.27 dB, rear-left: 23979 / 37% / -26.20 dB, rear-right: 47974 / 73% / -8.13 dB balance 0.61 alsactl -f /tmp/output store 0 iface MIXER name 'Front Playback Volume' value.0 33 value.1 79 range '0 - 87' name 'Bass Speaker Playback Volume' value.0 87 value.1 87 range '0 - 87' name 'Master Playback Volume' value 77 range '0 - 87' name 'PCM Playback Volume' value.0 255 value.1 255 range '0 - 255' > > > > > > 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. Using the packages in debian unstable, `pacmd list` shows "use_ucm=yes". alsa-ucm-conf was already installed. Hopefully that's enough. ii alsa-ucm-conf 1.2.1.2-2 all ALSA Use Case Manager configuration files ii libasound2:amd64 1.2.1.2-2 amd64 shared library for ALSA applications ii pulseaudio 13.0-5 amd64 PulseAudio sound server pacmd list name: argument: