From: sashiko-bot@kernel.org
To: GitMcSwig <GitMcSwig@gmail.com>
Cc: linux-sound@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/realtek: Fix woofers on Dell Inspiron 16 7640 2-in-1
Date: Fri, 04 Dec 2026 20:46:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-250638@kernel.org> (raw)
In-Reply-To: <20261204-dell-7640-woofers-v1-1-4366d1074041@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] ALSA: hda/realtek: Reused top-speaker quirk misroutes HP DAC
and 4ch PCM
--
commit 97466209d0b2257a62e593e89931a383b174df4f
Author: GitMcSwig <GitMcSwig@gmail.com>
ALSA: hda/realtek: Fix woofers on Dell Inspiron 16 7640 2-in-1
This commit adds ALC295_FIXUP_DELL_TAS2781_I2C_TOP_SPK chaining
tas2781_fixup_tias_i2c() to ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS, and
switches the Dell Inspiron 16 7640 2-in-1 (1028:0c96) quirk to use it.
> diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
> index a4b4333878896..f2d6fdd64630f 100644
> --- a/sound/hda/codecs/realtek/alc269.c
> +++ b/sound/hda/codecs/realtek/alc269.c
[ ... ]
> @@ -6312,6 +6313,12 @@ static const struct hda_fixup alc269_fixups[] = {
> .chained = true,
> .chain_id = ALC289_FIXUP_DUAL_SPK
> },
> + [ALC295_FIXUP_DELL_TAS2781_I2C_TOP_SPK] = {
> + .type = HDA_FIXUP_FUNC,
> + .v.func = tas2781_fixup_tias_i2c,
> + .chained = true,
> + .chain_id = ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS
> + },
[Severity: Medium]
Does chaining to ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS regress headphone
volume control and 4-channel playback routing?
alc295_fixup_dell_inspiron_top_speakers() puts woofer pin 0x17 (DAC 0x03)
at sequence 0 and main speaker pin 0x14 (DAC 0x02, shared with headphone
pin 0x21) at sequence 1:
sound/hda/codecs/realtek/alc269.c:alc295_fixup_dell_inspiron_top_speakers() {
static const struct hda_pintbl pincfgs[] = {
{ 0x14, 0x90170151 },
{ 0x17, 0x90170150 },
{ }
};
static const hda_nid_t conn[] = { 0x02, 0x03 };
static const hda_nid_t preferred_pairs[] = {
0x14, 0x02,
0x17, 0x03,
0x21, 0x02,
0
};
...
}
In get_line_out_pfx(), the generic parser assumes a headphone pin without
its own volume control shares channel 0's DAC. That exposes woofer DAC
0x03 as Front Playback Volume and the shared speaker/headphone DAC 0x02 as
Bass Speaker Playback Volume.
Standard PulseAudio and PipeWire headphone profiles disable Bass Speaker
volume while adjusting Front Playback Volume, muting headphones on DAC
0x02 (the same mismatch noted in alc285_fixup_thinkpad_x1_gen7()).
On 4-channel playback, snd_hda_multi_out_analog_prepare() sets up
hp_out_nid[0] (DAC 0x02) at channel offset 0, then the surrounds loop
overwrites nids[1] (also DAC 0x02) to offset 2, sending front channels to
the woofers and rear/LFE channels to both main speakers and headphones.
A dedicated fixup assigning pin 0x14 to sequence 0 (0x90170150) and pin
0x17 to sequence 1 (0x90170151) with the same preferred_dacs aligns main
speakers and headphones on primary DAC 0x02 and puts woofers on secondary
DAC 0x03.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-dell-7640-woofers-v1-1-4366d1074041@gmail.com?part=1
prev parent reply other threads:[~2026-12-04 20:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 20:31 [PATCH] ALSA: hda/realtek: Fix woofers on Dell Inspiron 16 7640 2-in-1 GitMcSwig via B4 Relay
2026-12-04 20:46 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-250638@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=GitMcSwig@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox