Re: [PATCH v2 1/1] ALSA: hda/realtek: fix speakers and micmute on HP 855 G8

From: Kai-Heng Feng
Date: Tue Jan 18 2022 - 19:19:13 EST


On Tue, Jan 18, 2022 at 2:05 AM Alexander Sergeyev <sergeev917@xxxxxxxxx> wrote:
>
> On Mon, Jan 17, 2022 at 08:12:08AM +0800, Kai-Heng Feng wrote:
> > If this issue also happens to cold boot it seems to be a BIOS issue.
>
> I've discussed the problem in more detail [1] before sending the patch.
> In short, speakers seems to reliably work in live Ubuntu which differs in
> using initrd with modules vs UEFI stub with built-in drivers in my case
> (I've tried Ubuntu kernel sources). I've tried using modules as well
> (modprobe'ing the list of modules which are load by Ubuntu) with no
> success.
>
> It was suggested that there is a timing issue somewhere. I'm opened for
> ideas to try to debug the problem origins further (to avoid the need in
> the fixup).

Yes it does sound like a timing issue.
Most system firmwares are only test against Windows.

HP has started to enable Ubuntu on some of their systems, but your
case (EFI stub) is uncovered.

>
> > > > If the issue only happen to warm boot, please try reverting commit
> > > > 9d3fcb28f9b9 "Revert "PM: ACPI: reboot: Use S5 for reboot"".
> > > > Many HP systems requires it to have a functional reboot.
> >
> > If possible, please still give that commit a try.
>
> Well, the first cold boot (with this commit reverted) didn't have any
> sound, the same goes for the subsequent reboot.

Thanks for the testing.

Kai-Heng

>
> [1] https://lkml.org/lkml/2022/1/12/221