-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Audio
- Re: No sound from internal speakers using Linux

Create an account on the HP Community to personalize your profile and ask a question
01-25-2023
04:20 PM
- last edited on
01-26-2023
08:08 AM
by
Ric_ob
Hi all,
I managed to make the speakers work by applying this patch: https://lore.kernel.org/lkml/20220811053950.11810-1-[Personal Information removed]/ to the 6.2rc5 version of the Manjaro kernel.
Just for sharing:
- Pulled code from manjaro repository: https://gitlab.manjaro.org/packages/core/linux62.git/
- Applyed the two edits on the to specified files
- Packed the kernel: makepkg --noextract --clean --cleanbuild
- Installed the two zst packages: sudo pacman -U linux62-headers-6.2.0rc5-1-x86_64.pkg.tar.zst linux62-6.2.0rc5-1-x86_64.pkg.tar.zst
🙂
Cheers,
Michael
03-23-2023 08:08 AM
Thank you for the quick response. The link you included was removed. Do you think this will help at all?
https://asus-linux.org/blog/sound-2021-01-11/#getting-dumps
03-23-2023 01:31 PM - edited 03-23-2023 01:32 PM
I'd rather go with the patch suggested by Michael above. I would package this change into a DKMS module which has the advantage that the kernel does not have to be recompiled. So one could use the unmodified mainstream kernel from Ubuntu 23.04 once it is out together with the DKMS module. But of course I have to find out the correct patch for the 15-ew0000 model in the first place.
03-23-2023 01:42 PM
What is required to get the correct path? is it trial and error? The patch linked doesn't seem to do much more than call the `ALC287_FIXUP_CS35L41_I2C_2` quirk for that HP model and CSC3551 amp.
What are the odds that using the linked path, with the correct line in patch_realtek.c would work?
`SND_PCI_QUIRK(0x103c, 0x8a29, "HP Envy x360 15-ew0xxx", LC287_FIXUP_CS35L41_I2C_2),`
03-26-2023 11:46 PM
I can't believe it, I have been looking for a fix for this issue for months - thanks so much! As posted, the fix does not work for my model (16-h0xxx), but I found I can add a line that is for this specific model. This is the patch I applied to linux 6.2.8 (I used arch linux aur):
diff --git a/sound/pci/hda/cs35l41_hda.c b/sound/pci/hda/cs35l41_hda.c
index 129bffb431c22..21d8c2de128ff 100644
--- a/sound/pci/hda/cs35l41_hda.c
+++ b/sound/pci/hda/cs35l41_hda.c
@@ -1156,7 +1156,8 @@ static int cs35l41_no_acpi_dsd(struct cs35l41_hda *cs35l41, struct device *physd
hw_cfg->valid = true;
put_device(physdev);
- if (strncmp(hid, "CLSA0100", 😎 == 0) {
+ if ((strncmp(hid, "CLSA0100", 😎 == 0) ||
+ (strncmp(hid, "CSC3551", 7) == 0)) {
hw_cfg->bst_type = CS35L41_EXT_BOOST_NO_VSPK_SWITCH;
} else if (strncmp(hid, "CLSA0101", 😎 == 0) {
hw_cfg->bst_type = CS35L41_EXT_BOOST;
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 8a57636f622e9..e7053cbc6bb6e 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9179,6 +9179,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x83b9, "HP Spectre x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
SND_PCI_QUIRK(0x103c, 0x841c, "HP Pavilion 15-CK0xx", ALC269_FIXUP_HP_MUTE_LED_MIC3),
SND_PCI_QUIRK(0x103c, 0x8497, "HP Envy x360", ALC269_FIXUP_HP_MUTE_LED_MIC3),
+ SND_PCI_QUIRK(0x103c, 0x8a31, "HP ENVY x360 2-in-1 Laptop 15-ey0xxx", ALC287_FIXUP_CS35L41_I2C_2),
+ SND_PCI_QUIRK(0x103c, 0x8a29, "HP Envy x360 15-ew0xxx", ALC287_FIXUP_CS35L41_I2C_2),
+ SND_PCI_QUIRK(0x103c, 0x8a2c, "HP Envy 16-h0xxx", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x84da, "HP OMEN dc0019-ur", ALC295_FIXUP_HP_OMEN),
SND_PCI_QUIRK(0x103c, 0x84e7, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3),
SND_PCI_QUIRK(0x103c, 0x8519, "HP Spectre x360 15-df0xxx", ALC285_FIXUP_HP_SPECTRE_X360),