Created attachment 301227 [details] suggested patch for this bug The PC beeper of my ASUS notebook P2520L (Intel HDA / conexant) do not work anymore with recent kernel versions. This problem seems to exist since 4.19 or so. The PC beep functionality is recognised by autoprobing but not initialized. This steps seems to be swapped (see suggested patch). The appended patch was tested with 5.15.46 and 4.19.246.
Weird, it's not clear how this call order change really matters. Could you give alsa-info.sh output, with and without your patch? Run the script with --no-upload option and attach to Bugzilla.
Grr, scratch my comment, now I see that the missing piece is the beep_nid setup in the generic parser. Then swapping the call makes sense. I see a similar issue in VIA codec driver, too. Will cook up the proper patch(es).
Now in the upstream: https://lore.kernel.org/r/20220620104008.1994-1-tiwai@suse.de