xoocoon / hp-15-ew0xxx-snd-fix

DKMS module for fixing the sound on Linux for HP models Envy x360 15-ew0xxx
GNU General Public License v3.0
33 stars 16 forks source link

HP Envy 16 #3

Closed tlinsky closed 1 year ago

tlinsky commented 1 year ago

Hi, My HP envy (16-h0xxx) seems to also have this problem - I have gotten the speaker sound to work if this line is added to patch_realtek.c:

+   SND_PCI_QUIRK(0x103c, 0x8a2c, "HP Envy 16-h0xxx", ALC287_FIXUP_CS35L41_I2C_2),

Would it be possible to have this line included in the fix? Thanks very much!

rajin commented 1 year ago

@tlinsky sorry to be a noob here but where is the file path_realtek.c found?

xoocoon commented 1 year ago

@rajin : The file is found in the kernel sources under this path: https://github.com/torvalds/linux/blob/master/sound/pci/hda/patch_realtek.c

xoocoon commented 1 year ago

@tlinsky : Thanks for the info on your model. I will included it in the next commit in this repo. Unfortunately, I have already submitted the existing patch(es) to the alsa kernel developers. So I guess your patch will have to wait for the next round of mainline kernel patches.

rajin commented 1 year ago

Thanks @xoocoon

rajin commented 1 year ago

@tlinsky @xoocoon is there a solution/ a script I can run in the meantime to fix my laptop sound until the mainline version comes with the proper settings.

xoocoon commented 1 year ago

@tlinsky I added your patch line in commit 854f0be.

xoocoon commented 1 year ago

@rajin The script now has an --auto flag to automatically incorporate the audio subsystem ID of your machine. You might try this, see README.md for a bit more info. Closing this issue now.