-
×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
- No sound from internal speakers using Linux

Create an account on the HP Community to personalize your profile and ask a question
06-07-2023 05:42 AM
Hi Maccaron, I submitted the patch to the alsa kernel developers. Unfortunately, I haven't heard anything from them yet. As soon as I know whether and when the patch will be included in the mainline kernel, I will post it here.
07-03-2023 11:12 AM
Been trying to get your patch to work for my 2022 HP Envy 15-ey0013dx, but somehow I can't get sound to work. If it did, this laptop would be the perfect linux laptop for my needs. I just use headphones to get around this issue for now...
07-04-2023 01:26 AM
Hi,
Thank you for getting in touch. I can suggest two possible solutions to your problem:
When I tried applying @Waldfee's patch to kernel version 6.2, the sound didn't work for some reason. However, after installing kernel version 6.3.2, the sound worked perfectly on my laptop (Envy x360 15-ew0900nc with Ubuntu 22.04). So, you could try updating the kernel version to a newer one that may fix the sound issue.
In @Waldfee's patch file, setup-snd-hda-codec-realtek.sh, you could try changing the model to match your laptop model. For example, the line
SND_PCI_QUIRK(0x103c, 0x8a29, "HP Envy x360 15-ew0xxx", ALC287_FIXUP_CS35L41_I2C_2)
in this script refers exactly to my laptop model. So you can try to use something similar for your laptop model. However, @Waldfee would be able to give you better advice than me on this since he is the original author of the patch.
The second point is just my suggestion, and I cannot predict how the patch will behave if it is changed.
I hope this helps you solve the issue. Best wishes.
Macaron
07-04-2023 03:15 AM
Hi there, I noticed that the Sound stopped working when I upgraded my Ubuntu 23.04 to the latest kernel patch version. I think was 6.2.0_23 (I don't have access to my laptop currently). The DKMS module with the patch compiled without errors but surprisingly no sound. I need to find some time to investigate why the latest kernel patch could break things.
07-06-2023 11:52 PM - edited 07-07-2023 12:47 AM
Just to inform you about a recent update: The reason why the DKMS module did not automatically build itself upon a new kernel version was that the required linux-headers were missing. I added an auto-download for this package (on Ubuntu/Debian). https://github.com/xoocoon/hp-15-ew0xxx-snd-fix
07-08-2023 05:35 AM - edited 07-08-2023 05:55 AM
Thanks to @waldfee and @maccaron and others for their help.
I was just double-checking this post to announce how it didn't work for my HP ENVY x360 2-in-1 Laptop but as I re-installed to report that I at least got the right dmesg output, it suddenly worked!
I modified the HP Envy line to:
- SND_PCI_QUIRK(0x103c, 0x8aa0, "HP ProBook 440 G9 (MB 8A9E)", ALC236_FIXUP_HP_GPIO_LED),
+ SND_PCI_QUIRK(0x103c, 0x8a28, "HP ENVY x360 2-in-1 Laptop", ALC287_FIXUP_CS35L41_I2C_2),
because:
sam@shadowfax:~/Projects/hp-15-ew0xxx-snd-fix$ cat /sys/class/sound/hwC0D0/subsystem_id
0x103c8a28
sam@shadowfax:~/Projects/hp-15-ew0xxx-snd-fix$ sudo dmidecode -s system-product-name
HP ENVY x360 2-in-1 Laptop
I did dkms unbuild etc, to make sure my changes were properly built, and it takes ages for the kernel source to download again, twice but it only worked at last attempt. I don't know why.
I'm using linuxmint 21.1 fully up to date, with "sudo apt install linux-oem-22.04c" giving me:
sam@shadowfax:~$ uname -ar
Linux shadowfax 6.1.0-1015-oem #15-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 16 09:51:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Just need to find a webcam fix.
Note for HP: I normally exclusively buy Dell because they give proper linux support, but my lad bought this for his university work. It spend weeks in repair (3 attempts) so he had to buy another one for university, so now I've got this one and I'm peeved at the lack of proper linux support - how hard can it be? You're not trying. You could at least send a free laptop to a linux kernel dev in exchange for them putting in kernel fixes and telling you what BIOS fixes you need.
I am pleased with the way HP dealt with multiple failure during the 3 repair attempts.
I am more pleased with @waldfee and @maccaron and all those spending time all over the LKML to get your product working.
07-11-2023 10:16 AM
I've posted a pull-request https://github.com/xoocoon/hp-15-ew0xxx-snd-fix/compare/main...samliddicott:hp-15-ew0xxx-snd-fix:mai... for the driver-patch project.
Until the pull, if you checkout my branch of xoocoon's work then the patch file is generated dynamically according to your system, automatically selecting the right PCI ID's and model name
e.g. git clone https://github.com/samliddicott/hp-15-ew0xxx-snd-fix.git