On Thu, 22 Sep 2022 10:41:18 +0200
Kamil Paral <kparal(a)redhat.com> wrote:
Completely randomly, my laptop sometimes emits a loud PC speaker
beep
while rebooting/powering off Fedora 37. The beep is very strong, and
as a PC speaker sound, it of course ignores any configured volume
level, mute status, and even headphones plugged in. I fortunately am
in a different room than the rest of my family sleeps in, but if I
were in the same room, and were I just a regular user, this would
probably be the last day of Fedora on that laptop. The beep is that
loud and uncomfortable, especially at night.
I wonder if somebody else running F37 noticed it as well? Any hints
what might cause it and how we can fix it? It never happened on F36
on the same laptop.
I forgot to reply to this part of the message. I have been running F37
since it was rawhide, and have never heard this beep. But, I'm running
a desktop, so that might make a difference. And a question. Are you
sure this is the PC speaker, and not something sending sound to the
sound device during startup? Does the sound come from the speakers or
does it come from the internals of the PC? The PC speaker is on the
MB, so should only be heard from inside the case.
I run a custom kernel, and I have the config options for the speaker
set as follows:
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_PCSPKR_PLATFORM=y
# CONFIG_INPUT_PCSPKR is not set
I think the last option means the pcspkr is disabled.
If you go to /boot, and run the following on the last config file,
grep -i spk config-[kernelversion]
what does it show?