Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek: Fix woofers on Dell Inspiron 16 7640 2-in-1
@ 2026-12-04 20:31 GitMcSwig via B4 Relay
  2026-12-04 20:46 ` sashiko-bot
  2026-12-04 21:18 ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: GitMcSwig via B4 Relay @ 2026-12-04 20:31 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, stable, GitMcSwig

From: GitMcSwig <GitMcSwig@gmail.com>

The Dell Inspiron 16 7640 2-in-1 (SSID 1028:0c96) drives its woofers
from pin 0x17 through two TAS2781 amps. ALC295_FIXUP_DELL_TAS2781_I2C
chains to ALC289_FIXUP_DUAL_SPK, which ties pin 0x17 to DAC 0x02, and
the woofers stay silent.

Keep the TAS2781 binding but chain to
ALC295_FIXUP_DELL_INSPIRON_TOP_SPEAKERS, which puts pin 0x17 on DAC 0x03
as on the earlier Inspiron 16 Plus 7620/7630. All four speakers then
play. Also replace the "Dell Polaris 2in1" codename with the model name.

Fixes: ec8f26092e52 ("ALSA: hda/realtek: Add ALC295 Dell TAS2781 I2C fixup")
Cc: stable@vger.kernel.org
Signed-off-by: GitMcSwig <GitMcSwig@gmail.com>
---
Tested on the 7640 2-in-1 with 7.3.4 and 7.3.6: all four speakers,
volume, mute and headphone auto-mute work. 1028:0c94 ("Dell Polaris 3
metal") uses the same fixup and may need this too, but I have no way to
test it.

With this routing the generic parser exposes the woofers as "Front"
(volume) / "Speaker" (switch) and the main speakers as "Bass Speaker".
Master drives both, so it works as is, but I can rework it with a
dedicated fixup if you'd prefer clearer names.
---
 sound/hda/codecs/realtek/alc269.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index a4b433387..f2d6fdd64 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -4594,6 +4594,7 @@ enum {
 	ALC287_FIXUP_ASUS_ALLY_X_SPEAKER,
 	ALC287_FIXUP_ASUS_ALLY_X_I2C,
 	ALC295_FIXUP_DELL_TAS2781_I2C,
+	ALC295_FIXUP_DELL_TAS2781_I2C_TOP_SPK,
 	ALC245_FIXUP_TAS2781_SPI_2,
 	ALC287_FIXUP_TXNW2781_I2C,
 	ALC287_FIXUP_TXNW2781_I2C_ASUS,
@@ -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
+	},
 	[ALC294_FIXUP_ASUS_GU502_PINS] = {
 		.type = HDA_FIXUP_PINS,
 		.v.pins = (const struct hda_pintbl[]) {
@@ -7769,7 +7776,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1028, 0x0c4d, "Dell", ALC287_FIXUP_CS35L41_I2C_4),
 	SND_PCI_QUIRK(0x1028, 0x0c90, "Alienware x16 R2", ALC289_FIXUP_DUAL_SPK),
 	SND_PCI_QUIRK(0x1028, 0x0c94, "Dell Polaris 3 metal", ALC295_FIXUP_DELL_TAS2781_I2C),
-	SND_PCI_QUIRK(0x1028, 0x0c96, "Dell Polaris 2in1", ALC295_FIXUP_DELL_TAS2781_I2C),
+	SND_PCI_QUIRK(0x1028, 0x0c96, "Dell Inspiron 16 7640 2-in-1", ALC295_FIXUP_DELL_TAS2781_I2C_TOP_SPK),
 	SND_PCI_QUIRK(0x1028, 0x0cbd, "Dell Oasis 13 CS MTL-U", ALC289_FIXUP_DELL_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1028, 0x0cbe, "Dell Oasis 13 2-IN-1 MTL-U", ALC289_FIXUP_DELL_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1028, 0x0cbf, "Dell Oasis 13 Low Weight MTU-L", ALC289_FIXUP_DELL_CS35L41_SPI_2),

---
base-commit: 9cef9067672e1bdd71b397264d03515ffed099f7
change-id: 20261204-dell-7640-woofers-13ab412c7cb7

Best regards,
-- 
GitMcSwig <GitMcSwig@gmail.com>



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-04 21:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2026-12-04 21:18 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox