alsa-project / alsa-utils

The Advanced Linux Sound Architecture (ALSA) - utilities
GNU General Public License v2.0
195 stars 136 forks source link

Mute PC Speaker by default #172

Open lnussel opened 1 year ago

lnussel commented 1 year ago

SUSE has a preset to mute the PC speaker by default as it can be quite annoying (https://bugzilla.suse.com/show_bug.cgi?id=767270). Would it make sense to include that upstream?

lnussel commented 1 year ago

came up due to https://github.com/systemd/systemd/issues/23520#issuecomment-1265029292

perexg commented 1 year ago

As opposite, it will require an extra step from users to enable the PC speaker by default. We can get complains, that the PC speaker does not work by default. But I think that you're trying to resolve the consequence rather than the origin (the wall noise cannot be suppressed) of the systemd issue.

lnussel commented 1 year ago

I assume both is true. The beep in wall messages is just as useless as the pc speaker and the combo is just plain annoying :-) The speaker was muted in openSUSE ten years ago, probably when sysvinit still beeped by default. Not sure how many complaints @tiwai got

perexg commented 1 year ago

Every user has own preferences. Saying that the PC speaker is useless is not a general rule. But I don't have a strong opinion about this (just feeling that the silence may be worse than do something by default). Perhaps, it would be better to discuss this settings on the alsa-devel mailing list: https://www.alsa-project.org/main/index.php?title=Mailing-lists

tiwai commented 1 year ago

The main disturbance at that time I introduced it (over a decade ago!) was Thinkpads and other laptops that have no volume control but only produced the loudest beep. The beep volume might be present but not always actually working, depending on the hardware implementation.

I'm also not fully convinced by which way is better, so the workaround has remained distro-specific, so far. OTOH, we haven't had much complaints about the lack of default PC beep from distro users.