With recent 69ea4c9 commit there is an audible "pop" sound whenever the audio card goes in or out of sleep mode. HW: MSI Modern A11M laptop with ALC233 codec: # cat /proc/asound/card0/codec#0 Codec: Realtek ALC233 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x10ec0235 Subsystem Id: 0x146212e1 Revision Id: 0x100002 Allowing this line for ALC233 solved the issue: --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -3640,7 +3640,7 @@ static void alc256_shutup(struct hda_codec *codec) /* If disable 3k pulldown control for alc257, the Mic detection will not work correctly * when booting with headset plugged. So skip setting it for the codec alc257 */ - if (spec->en_3kpull_low) + if (spec->en_3kpull_low || codec->core.vendor_id == 0x10ec0235) alc_update_coef_idx(codec, 0x46, 0, 3 << 12); if (!spec->no_shutup_pins)
Please give alsa-info.sh output. Run the script with --no-upload option and attach the output to Bugzilla. The suggested commit disabled the workaround because it caused regressions. This might be re-enabled for selected devices, supposedly.
Created attachment 304729 [details] alsa-info.sh --no-upload
Takashi, do you still have this in sight. I just wonder, as it looks like there was no progress for 10+ days, but I might be missing something.
Still waiting for the response from Realtek devs: https://lore.kernel.org/r/87o7jshxch.wl-tiwai@suse.de
Could you try the patch below?
Created attachment 304853 [details] Test fix patch from Kailang
Yes, it works. No more "pops".