• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended

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.

HP Recommended

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.

HP Recommended

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.

HP Recommended

Hi,

I've tried 6.3 and unfortunately it is still missing the fix 😞

 

Best,

Michael

HP Recommended

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.

HP Recommended

Yes. I haven't yet comitted the fix to mainline but I am in contact with the one of the main developers of snd-hda. I am going to submit a path file to their mailing list.

HP Recommended

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.

HP Recommended

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.

HP Recommended

@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.

HP Recommended

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.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.