From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796559820; b=E+SjOx1AHAyw5CqTFemKvFiGckKPACwAOqEWD/O3apYaEAJOvgjo8wmzaeQbqZy5Vxkk zrKBwio5AtxyyQW3zmt1s1lV813UM/ETMzSywLL5kHZQbF+bpluY+vJ0cbqvNnXSRRY1V j/W4442uGC2e0NU5kOowSjm+t9DDYgQE5BeduvUtIGqQ+ClZUrr03RaXWrd2N6Pr8qHdh k/fEoDUDldYZ1/zkM/afW88TJHmor5MF7Tq6dLstRtaXemOqFjAoXhwDmI3jcNnxIw74l fzlZ2eR526eZNKrFKUZS3Nfrk9tNZCG7qCQaa9EiU/72nWvaEucpTDIKhT9M4bfebAg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796559820; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=mtZIpsoqvt9BrT9dksn0r4vKzEHrRyxhGfWs6UZa/Fo=; b=4UjLL01qvsKIVULQoBJlQbxBAuAniKfxTCNq9vMS/+H7tuSeI7p4WqawwSNe+AIVJBD1 /wQMgkmA8lqPG7nvP/qlUHMliVxFvSnJ8nA7YSc18m+lp7x7mYt6s7rHt+vXq49Jq4/Pm M7H+oMpUmbRJCfDgqm2DYCIggxGwXxWitILsz38Q/QsjZk4sCi6NqAYtoDInb+TCn1hIv 0f2io3Z4d1ptpec6XKtY1KF6Pzb4YUqjrQcNQT+TFf118/2A/u5agpUwmIBXhT7GZOrv6 BUux4yMPVtuvy8B0oSICSL0/WZkCRH+XmR5laLzk89u41zwr2F8vABqwIOuAg4Z+sRQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Jhpi3MTI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42FD3606A31F for ; Sun, 6 Dec 2026 12:23:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Jhpi3MTI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 024C21F0093B; Sun, 6 Dec 2026 12:23:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796559820; bh=mtZIpsoqvt9BrT9dksn0r4vKzEHrRyxhGfWs6UZa/Fo=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Jhpi3MTIPycyZM9j6jn7Sd1TeMmM2ICJtbFLBxCduBfu7optAVMKnIC9ClzCAkAwt 5fZCzkmT/Ld0u4FnumoACGXMlYqtZ3toHW7t7sqMd5dM/Q1pMlhOinLkbLNe/K2HO/ yMnTW69SUvg+1PghVRxu2ydC8McrMcvTeHplx9V8XfMnGCxRUfugLSWH4lQQjh/Jo4 VFiUX7AOHA2yPg2SEXUcqu0UhnTb+PWaJ8j6gFdYNPLnd111enpQU3uYxucdEQQ30D 8u9oJx/r4h2XojzPdWTjTz1vUPeM+gnY+/mhOKQfFzsKovxyBstePx8NbPD9PQK7O0 nIDFGkj8ZGoKw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v3] ALSA: hda/realtek: Fix woofer bass on Dell Inspiron 16 7640 2-in-1 Reply-To: sashiko-reviews@lists.linux.dev To: "Phil McSwiggan" Cc: linux-sound@vger.kernel.org In-Reply-To: <20261206-dell-7640-woofers-v3-1-dc3629986aba@gmail.com> References: <20261206-dell-7640-woofers-v3-1-dc3629986aba@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 12:23:39 +0000 X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] ALSA: hda/realtek: unrenamed shared-DAC Front volume in Dell 7640 fixup -- commit 7bfe6345fa59f0e634b2c7c0f608c06eccd40c24 Author: Phil McSwiggan ALSA: hda/realtek: Fix woofer bass on Dell Inspiron 16 7640 2-in-1 This commit adds a new fixup for the Dell Inspiron 16 7640 2-in-1 that assigns the main speakers (0x14) and headphones (0x21) to DAC 0x02 and the TAS2781 woofers (0x17) to DAC 0x03. > diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek= /alc269.c > index a4b4333878896..ad5a0305f0336 100644 > --- a/sound/hda/codecs/realtek/alc269.c > +++ b/sound/hda/codecs/realtek/alc269.c > @@ -3952,6 +3952,35 @@ static void alc295_fixup_dell_inspiron_top_speaker= s(struct hda_codec *codec, > } > } > =20 > +/* > + * Main speakers on NID 0x14 share DAC 0x02 with the headphone. The woof= ers > + * behind the TAS2781 amps on NID 0x17 go on DAC 0x03, as sharing DAC 0x= 02 > + * with NID 0x14 loses bass. > + */ > +static void alc295_fixup_dell_tas2781_bass_spk(struct hda_codec *codec, > + const struct hda_fixup *fix, int action) > +{ > + static const struct hda_pintbl pincfgs[] =3D { > + { 0x14, 0x90170150 }, /* speaker */ > + { 0x17, 0x90170151 }, /* bass speaker */ > + { } > + }; > + static const hda_nid_t conn[] =3D { 0x02, 0x03 }; > + static const hda_nid_t preferred_pairs[] =3D { > + 0x14, 0x02, > + 0x17, 0x03, > + 0x21, 0x02, > + 0 > + }; > + struct alc_spec *spec =3D codec->spec; > + > + if (action =3D=3D HDA_FIXUP_ACT_PRE_PROBE) { > + snd_hda_apply_pincfgs(codec, pincfgs); > + snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); > + spec->gen.preferred_dacs =3D preferred_pairs; > + } > +} [Severity: Medium] Does sharing DAC 0x02 between the main speakers (0x14) and headphones (0x21) without renaming the generated volume controls break headphone playback on non-UCM setups? Because hp_paths[0] shares DAC 0x02 with out_paths[0] and gets no volume control of its own, get_line_out_pfx() in sound/hda/codecs/generic.c falls back from "Speaker" to "Front". The resulting volume controls are "Front Playback Volume" and "Bass Speaker Playback Volume", not "Speaker" and "Bass Speaker" as stated in the commit message. PulseAudio and non-UCM PipeWire ACP treat "Front Playback Volume" as a speaker/line-out control and mute or zero it when switching to headphones, silencing headphone output. Handling HDA_FIXUP_ACT_BUILD with rename_ctl() to rename "Front Playback Volume" to "DAC1 Playback Volume" and "Bass Speaker Playback Volume" to "DAC2 Playback Volume", as alc285_fixup_thinkpad_x1_gen7() does, keeps non-UCM mixers on Master Playback Volume instead. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206-dell-7640-= woofers-v3-1-dc3629986aba@gmail.com?part=3D1