Welcome to the Linux Foundation Forum!

Patch for realtek audio bug

bertilak Posts: 1
edited June 2023 in Kernel Development

I have the Realtek ACL287 codec and have the same noise problem described here:
I confirmed that the command sudo hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0 fixes it.

It's also described here and here

I am wondering if a patch ever made it into the kernel for this?
I saw that this change exists: ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE but doesn't seem to make a difference for me.

Is it possible that the fix that hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0 achieves is not actually in the kernel? If so, any advice on how to write a patch would be helpful. It seems it would involve the macro SND_HDA_PIN_QUIRK but I'm not sure how to approach it. I'm also not sure if it's another problem because it seems like something that would already be in there.

Thanks for any help or advice.


Upcoming Training