-
×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
04-13-2023 09:24 AM
Hello. Can you please describe how did you apply the patch for the kernel? I have ubuntu 22.04 kernel 5.19.0-38-generic and I am facing the same problem.
Do I need to recompile the kernel with the specified patch? I didn't found the file sound/pci/hda/cs35l41_hda.c in my kernel.
04-22-2023 03:19 AM - edited 04-24-2023 12:59 AM
Hi there, I committed a fix for my model to github: https://github.com/xoocoon/hp-15-ew0xxx-snd-fix
Sound works now on my machine 15-ew0776ng under Ubuntu 23.04.
With the above fix you do not need to compile an entire kernel. You can use a mainline 6.2 (and possibly 6.1) kernel. The fix uses DKMS to supersede the affected kernel modules.
If it does help in your case, the code provides a good foundation for further tweaking.
Please let me know if the above fix also helps with your model. I intend to submit the fix(es) to the mainline kernel.
04-29-2023 12:40 PM
Hi, I really like your patch repository.
I have the opportunity to buy this laptop (HP ENVY x360 15-ew0900nc), but unfortunately I will not have the opportunity to return it if there are problems with the sound. So I need to be sure that sound, microphone and camera will work. I prefer Ubuntu as Linux distribution and I would like to ask if you or anyone from this thread has tried kernel 6.3 if there is a fix in the official kernel release?
Thanks for your reply.
05-02-2023 04:48 AM - edited 05-02-2023 04:49 AM
Hi Maccaron, another user has confirmed that the fix works for their 15-ew0xxx model, see https://github.com/xoocoon/hp-15-ew0xxx-snd-fix/issues/1. Microphone works in my case. I haven't yet tested the camera under Debian/Ubuntu.
05-13-2023 01:56 PM - edited 05-13-2023 02:36 PM
Well done Waldfee. Well done. I just make some testing and everything seems to work perfectly (Envy x360 15-ew0900nc).
Please let me/us know in which official kernel release will be your patch published.
Thank you so much for your work. 👌👍
Just note for others: The only thing that does not work under Ubuntu after application of this patch is microphone mute and control LEDs of sound mute and microphone mute. But I think that i can live with that.
05-21-2023 09:08 PM - edited 05-21-2023 09:25 PM
I was able to fix the sound on my HP ENVY Laptop 17t-cr0000 running Arch Linux using a patch similar to Envy_16_Owner's.
1. I cloned the 6.3.3.zen1-1 kernel from https://gitlab.archlinux.org/archlinux/packaging/packages/linux-zen/-/tree/6.3.3.zen1-1 then added the patch below as a .patch file in the same directory as the PKGBUILD file (I named it fixsound.patch)
Link to patch since this forum converts 8) to an emoji: http://ix.io/4wpj
The only change I made is replacing one of the lines with the following (to support my laptop model):
+ SND_PCI_QUIRK(0x103c, 0x8a2e, "HP ENVY Laptop 17t-cr0000", ALC287_FIXUP_CS35L41_I2C_2),
To find the numbers to use for a specific laptop model, the following command is used (Found thanks to Waldfee's GitHub repo):
cat /sys/class/sound/hwC0D0/subsystem_id
For me, I get 0x103c8a2e, so I used the number 0x103c and 0x8a2e in the patch.
2. I added the full patch file path to the source array in the PKGBUILD file
source=(
"$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=$_srctag"
config # the main kernel config file
file:///path/to/linux-zen/fixsound.patch
)
3. I ran makepkg -g >> PKGBUILD to update the checksums and then makepkg to apply the patch (as per the wiki - https://wiki.archlinux.org/title/Patching_packages)
4. After the build is completed, I installed the kernel by passing all the .tar.zst files that were created to pacman -U
sudo pacman -U linux-zen-6.3.3.zen1-1-x86_64.pkg.tar.zst linux-zen-headers-6.3.3.zen1-1-x86_64.pkg.tar.zst linux-zen-docs-6.3.3.zen1-1-x86_64.pkg.tar.zst
5. Generated the initramfs images for the patched kernel:
sudo mkinitcpio -p linux-zen
After a reboot and selecting the patched kernel in the bootloader, sound was working perfectly.
06-05-2023 11:34 PM
@Envy_16_Owner - can this fix work in Ubuntu or PopOS! ? I have been desperately trying to install either one of those distros on my HP envy 16 - everything works except for the sound. I know linux a bit but when it comes to kernel compilation etc I am a noob.
06-06-2023 10:09 AM - edited 06-06-2023 10:11 AM
I too am waiting for a Pop_OS fix. I have a 2022 HP Envy 15-ey0013dx model with 103c, 8A31 motherboard, running 6.2.6 kernel. I can't figure out how to make a patch and fix. Everything works great except sound, which I'm using headphones as a workaround. If someone has a guide I could follow it would be most helpful.