-
×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
03-15-2024 05:05 AM
Finally guys!! We are now approaching a working Linux kernel for almost all HP Envy/x360 laptops! Kernel 6.9 that soon will be release as RC1 will have a lot of fixes for the internal speakers. As you can see in this commit https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/sound/pci/hda/patch_realtek....
i have already tried patching the 6.7.9 and 6.8 kernel with my specific quirk for my Hp Envy x360 13-bf000 and it works perfectly!
diff --git sound/pci/hda/patch_realtek.c sound/pci/hda/patch_realtek.c
index a1facdb98d9a..e705334c286d 100644
--- sound/pci/hda/patch_realtek.c
+++ sound/pci/hda/patch_realtek.c
@@ -9950,6 +9950,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x8a0f, "HP Pavilion 14-ec1xxx", ALC287_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x103c, 0x8a20, "HP Laptop 15s-fq5xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x8a25, "HP Victus 16-d1xxx (MB 8A25)", ALC245_FIXUP_HP_MUTE_LED_COEFBIT),
+ SND_PCI_QUIRK(0x103c, 0x8a28, "HP Envy X360 13-bfxxx", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x103c, 0x8a78, "HP Dev One", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST),
SND_PCI_QUIRK(0x103c, 0x8aa0, "HP ProBook 440 G9 (MB 8A9E)", ALC236_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED),
So if you don't have the knowledge to patch your own kernel then make sure to get the 6.9 kernel when it gets released!
The guys from the linux community and developers from Cirrus has made an awesome job, and no thanks to HP. This is why OPEN SOURCE RULES!
03-18-2024 04:54 PM
That's awesome news. Any chance you'd walk through it a bit? I'd like to use OpenSUSE which is on the 6.7.9 kernel now. I've got a "15-ee0xxx" Envy x360. Do the mute speakers and/or mic LED indicators work too? I see some stuff on that page about LEDs.
03-19-2024 10:57 AM
Hi!.
The mute leds are not working for my model right now. And i haven't really looked in to it but there are some quirks popping up that fixes the led on some machines so it should work pretty soon.
I have an DKMS module that patches the kernel for me. I have begin to setup instructions and code on my github where you also can find the dkms module. https://github.com/luxwarp/hp-envy-x360-13-bf0xxx-linux/tree/main/hp-envy-x360-13-bf0xxx-realtek-0.1
However in the patch-file you need to update the quirk to match your subsystem id which you can find out by running
cat /sys/class/sound/hwC0D0/subsystem_id
For instance, my id is "0x103c8a28"
03-19-2024 06:34 PM - edited 03-19-2024 06:35 PM
Okay, the I2C_2 only matters if it is actually an ALC287, check that is the right one in dmesg as that sets some LED parameters, then it is adding the right bit after for the LEDs, I've not narrowed this down to the right one yet for this 17 inch (ruled out COEFBIT so far, I'm just compiling into kernel itself), but need to check but any ALC245 quirk works (and that is the firmware being loaded in dmesg) as well as the ALC287 one in your patch there.for the sound side.
03-25-2024 10:28 PM
Hi, sorry to bother you but I'm having problems compiling the kernel (I'm newbie). Once I do "make menuconfig", "make", "make modules_install", I issue the "make install" command but says:
unning the pre_build script:
Building for kernel version 6.9.0-rc1
Downloading source 6.9 for installed kernel 6.9.0-rc1
--2024-03-26 01:20:19-- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/linux-6.9.tar.xz
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.199.223, 2604:1380:45d1:ec00::1
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.199.223|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-03-26 01:20:19 ERROR 404: Not Found.
Extracting original source of the kernel module
tar: linux-6.9.tar.*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Applying patch_realtek.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- sound/pci/hda/patch_realtek.c.orig
|+++ sound/pci/hda/patch_realtek.c
--------------------------
File to patch:
Can anyone help me?