Re: [PATCH] ALSA: hda: intel: reset link for HP ENVY 27-p014
From: Casey Tunturi
Date: Thu Sep 03 2026 - 13:45:00 EST
On Tue, Sep 1, 2026 at 8:07 AM Takashi Iwai <tiwai@xxxxxxx> wrote:
Thanks for the patch. But I must say that it's very hackish, and we should
reconsider to make the changes a bit more generic or cleaner.
But, first off, could you give more details about your hardware? At best,
give alsa-info.sh output (run with --no-upload option and attach the output).
Thank you for taking the time to review it!
Oh yes, I think it's cursed. This is a hack.
I submitted it just before leaving my in-laws' place so it wouldn't stay isolated to that one machine. It has been running for about four months, and it was the only thing I found so far that made the codec enumerate and gave my father-in-law working analog audio under Linux.
I don't have the machine in front of me now. I'll have it again just short of two weeks. I'll rerun the tests, collect the alsa-info output, and work through the reset and PIO questions then.
Can't the standard snd_hdac_bus_reset_link() work? If not, we may tweak
there in the standard code instead of open-code here.
I knew I was probably forcing the issue at the wrong layer. I asked around on Matrix with a couple of devs and couldn't get the standard reset path to work on this hardware.
I'd appreciate any pointers to code or docs I should read. I'd like to understand the right fix rather than just keep the workaround.
Casey