Re: [REGRESSION] "ALSA: HDA: Early Forbid of runtime PM" broke my laptop's internal audio

From: Takashi Iwai
Date: Sun Aug 15 2021 - 05:20:35 EST


On Sat, 14 Aug 2021 16:02:36 +0200,
藍挺瑋 wrote:
>
> I am not sure if I should join this old thread, but it seems that I saw the same
> issue on my ASUS B23E laptop. It couldn't produce any sound after upgrading to
> Linux 5.10, and 'git bisect' shows it was broken by the same commit
> a0645daf16101bb9a6d87598c17e9a8b7bd60ea7.
>
> I have tested the latest master branch (v5.14-rc4-322-gcceb634774ef) last week.
> It still had no sound. If I reverted the broken commit, sound worked.

>
> alsa-info from the broken kernel:
> https://gist.github.com/lantw44/0660e059c488e3ff3d841bb03b371866
>
> alsa-info from the working kernel:
> https://gist.github.com/lantw44/9367f425e4f5ba98cf12343cb90f3301

Thanks for the report. A quick workaround be a patch like below.
Could you verify whether it fixes the problem?


Takashi

--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -1041,6 +1041,7 @@ static const struct hda_fixup via_fixups[] = {
};

static const struct snd_pci_quirk vt2002p_fixups[] = {
+ SND_PCI_QUIRK(0x1043, 0x13f7, "Asus B23E", VIA_FIXUP_POWER_SAVE),
SND_PCI_QUIRK(0x1043, 0x1487, "Asus G75", VIA_FIXUP_ASUS_G75),
SND_PCI_QUIRK(0x1043, 0x8532, "Asus X202E", VIA_FIXUP_INTMIC_BOOST),
SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", VIA_FIXUP_POWER_SAVE),