• ×
    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

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.

HP Recommended

I fully appreciate all of your help. This issue has been pestering me. I cannot work properly without audio even though most of my work lives in the terminal. I hope the issue gets resolved soon.

HP Recommended

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

HP Recommended

Hi,

 

Which kernel version do you have?

 

Tanks for reply.

HP Recommended

Hello, my kernel is 6.2.6-76060206-generic. Running latest PopOS 22.04 operating system.

HP Recommended

Hi,

 

Thank you for getting in touch. I can suggest two possible solutions to your problem:

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

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

HP Recommended

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.

HP Recommended

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

HP Recommended

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.

HP Recommended

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

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