Re: Loud PC speaker beep during reboot, sometimes

2022-09-25 Thread Sérgio Basto
On Fri, 2022-09-23 at 17:20 +0200, Kamil Paral wrote:
> On Fri, Sep 23, 2022 at 5:13 PM stan via test
>  wrote:
> > 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? 
> > 
> 
> 
> It's during shutdown, not startup. Yes, I'm sure. It's the same sound
> as when I want to go to UEFI config during startup or show a one-time
> boot menu. The sound is unmistakable.
>  
> > 
> > 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 have the stock Fedora kernel:
> 
> # grep -i pcspkr /boot/config-5.19.9-300.fc37.x86_64 
> CONFIG_HAVE_PCSPKR_PLATFORM=y
> CONFIG_PCSPKR_PLATFORM=y
> CONFIG_INPUT_PCSPKR=m
> 
> I'm aware I could blacklist the pcspkr module, but I don't want to fix this 
> just for myself.


I found this behavior on my Fedora 35 


grep -i pcspkr /boot/config-5.19.8-100.fc35.x86_64
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_INPUT_PCSPKR=m


-- 
Sérgio M. B.
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Loud PC speaker beep during reboot, sometimes

2022-09-25 Thread stan via test
On Fri, 23 Sep 2022 14:50:37 -0500
John Morris  wrote:

> It isn't nearly so simple.  The PC "squeeker" is ancient PC tech but
> almost every sound chip has an input to route it into the rest of the
> audio system and a mixer control to adjust it.  Almost every PC
> motherboard also has a header to directly connect a speaker.  This
> allows one to hear sounds created by the BIOS during POST, before the
> modern audio chip is initialized.
> 
> Whether the motherboard or laptop actually connects the PC Speaker to
> the audio codec is almost entirely random.  Whether anything is
> connected to the raw "squeeker" pins is random but tending more toward
> "not" every year that passes.
> 
> Not allowing Linux to load the pcspeaker module will stop Linux from
> ever making a sound via that path but system level software running at
> higher privilege than the main OS can and often does use the speaker,
> over temp, fan failure, POST error, a happy beep at boot, all these
> things can still make sounds and there is a speaker attached or if the
> electrical connection is in place and the audio codec still has it
> enabled as a machine reboots, you can get beeps.
> 
> About the only fix Linux could make is to ensure all audio channels
> are muted as the system goes into shutdown, reboot, sleep or suspend.
>  That still won't stop a directly connected beeper though.

Thanks for the information.  I hear no beeps ever, so my system must be
without any issues, or one of the random ones without a tie to the
onboard sound chip.
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue