Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6959C2B9F2 for ; Sat, 22 May 2021 06:49:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9BB3961244 for ; Sat, 22 May 2021 06:49:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbhEVGvG (ORCPT ); Sat, 22 May 2021 02:51:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:42778 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbhEVGvF (ORCPT ); Sat, 22 May 2021 02:51:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1621666181; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1L5NGdgH2UmNlaL1lIAcC57nPs+AXEzuZ33c+nTOIsA=; b=s3tLIJqxft+KWLvZCexUJz3zT5JcrovLqFoQ2LuHoKln6Fa+e5fkxuvbVx1k0/txasiXId SchxFBsGqmmznIuZ7D/rXUQZCPbXenpkoILkGFO7PEzmTSjFMGznxP++juB/Aj4OIOn08Z xnzv05m8zr7pZ8KgX9rK/MZsVAX4/kI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1621666181; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1L5NGdgH2UmNlaL1lIAcC57nPs+AXEzuZ33c+nTOIsA=; b=BdVCsG8VeNmK65fC5BE1fhfpol58H5dAwNX6r0XJBUUUPpoXzdObzqGZWS/zgpb0MiwaXp YC77h+PbV1RIEsDg== Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EC86DAB5F; Sat, 22 May 2021 06:49:40 +0000 (UTC) Date: Sat, 22 May 2021 08:49:40 +0200 Message-ID: From: Takashi Iwai To: Hui Wang Cc: alsa-devel@alsa-project.org, stable@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/realtek: Headphone volume is controlled by Front mixer In-Reply-To: <20210522034741.13415-1-hui.wang@canonical.com> References: <20210522034741.13415-1-hui.wang@canonical.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Sat, 22 May 2021 05:47:41 +0200, Hui Wang wrote: > > On some ASUS and MSI machines, the audio codec is alc1220 and the > Headphone is connected to audio mixer 0xf and DAC 0x5, in theory > the Headphone volume is controlled by DAC 0x5 (Heapdhone Playback > Volume), but somehow it is controlled by DAC 0x2 (Front Playback > Volume), maybe this is a defect on the codec alc1220. > > Because of this issue, the PA couldn't switch the headphone and > Lineout correctly, If we apply the quirk CLEVO_P950 to those machines, > the Lineout and Headphone will share the audio mixer 0xc and DAC 0x2, > and generate Headphone+LO mixer, then PA could handle them when > switching between them. > > BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1206 > Cc: > Signed-off-by: Hui Wang Thanks, applied. Takashi