Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: Fix speakers on ASUS EXPERTBOOK P5405CSA 1.0
@ 2025-02-27 16:12 Daniel Bárta
  2025-02-28  9:45 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Bárta @ 2025-02-27 16:12 UTC (permalink / raw)
  To: perex, tiwai; +Cc: linux-sound, patches, Daniel Bárta

Good day,
speakers on ASUS EXPERTBOOK P5405CSA 1.0 are not working out of the box.

After some digging around I have found that this laptop has Cirrus's smart
aplifiers connected to SPI bus (spi1-CSC3551:00-cs35l41-hda).

To get them correctly detected and working I had to modify patch_realtek.c
with ASUS EXPERTBOOK P5405CSA 1.0 SystemID (0x1043, 0x1f63) and add
corresponding hda_quirk (ALC245_FIXUP_CS35L41_SPI_2).

Signed-off-by: Daniel Bárta <daniel.barta@trustlab.cz>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 224616fbec4f..360131dd2d06 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -10699,6 +10699,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x1f12, "ASUS UM5302", ALC287_FIXUP_CS35L41_I2C_2),
 	SND_PCI_QUIRK(0x1043, 0x1f1f, "ASUS H7604JI/JV/J3D", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1043, 0x1f63, "ASUS P5405CSA", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1043, 0x1f92, "ASUS ROG Flow X16", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2),
 	SND_PCI_QUIRK(0x1043, 0x31d0, "ASUS Zen AIO 27 Z272SD_A272SD", ALC274_FIXUP_ASUS_ZEN_AIO_27),
-- 
2.47.2


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

* Re: [PATCH] ALSA: hda: Fix speakers on ASUS EXPERTBOOK P5405CSA 1.0
  2025-02-27 16:12 [PATCH] ALSA: hda: Fix speakers on ASUS EXPERTBOOK P5405CSA 1.0 Daniel Bárta
@ 2025-02-28  9:45 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-02-28  9:45 UTC (permalink / raw)
  To: Daniel Bárta; +Cc: perex, tiwai, linux-sound, patches

On Thu, 27 Feb 2025 17:12:55 +0100,
Daniel Bárta wrote:
> 
> Good day,
> speakers on ASUS EXPERTBOOK P5405CSA 1.0 are not working out of the box.
> 
> After some digging around I have found that this laptop has Cirrus's smart
> aplifiers connected to SPI bus (spi1-CSC3551:00-cs35l41-hda).
> 
> To get them correctly detected and working I had to modify patch_realtek.c
> with ASUS EXPERTBOOK P5405CSA 1.0 SystemID (0x1043, 0x1f63) and add
> corresponding hda_quirk (ALC245_FIXUP_CS35L41_SPI_2).
> 
> Signed-off-by: Daniel Bárta <daniel.barta@trustlab.cz>

Applied now to for-linus branch.  Thanks.


Takashi

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

end of thread, other threads:[~2025-02-28  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 16:12 [PATCH] ALSA: hda: Fix speakers on ASUS EXPERTBOOK P5405CSA 1.0 Daniel Bárta
2025-02-28  9:45 ` Takashi Iwai

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