Home > Fedora, Technology > If a PC speaker beeps in a Fedora system and no one is around to hear it, is it still annoying?

If a PC speaker beeps in a Fedora system and no one is around to hear it, is it still annoying?

Paul, John, and Joeren, I find that beeping so annoying that I simply eliminate that module entirely rather than disable it or blacklist it. To ensure that each new kernel update has its pcspkr module also removed, I append the following to the /etc/rc.local file.

rmmod pcspkr ||:
rm -f $(modprobe -F filename pcspkr) ||:

I suppose one could make an RPM whose sole purpose is to keep that in a trigger scriplet for each kernel update, but that might be just a little bit overkil.

Also, a great big Happy Birthday to Max Spevack! 🙂

  1. Guy Streeter
    January 26th, 2009 at 14:35 | #1

    If you create a file in /etc/modprobe.d containing the line

    blacklist pcspkr

    it will never get loaded, even if you update to a new kernel.

    • January 26th, 2009 at 21:44 | #2

      Yes, but that means that the module file is still available. Removing it entirely prevents anything from even attempting to use it at all whatsoever. 🙂

      (I’d rebuild the kernel with that disabled…but I’m just a bit too lazy for that.)

  2. dave
    February 28th, 2009 at 11:48 | #3

    i used to work in a data center. walking through the non-rack mount section was unbearable some days. for the sanity of data center techs everywhere, i think this should be disabled by default.

  3. Chris
    September 27th, 2009 at 01:09 | #4

    @dave
    I completely agree. This should be disabled by default. In Fedora 11 (F11), I can’t even seem to disable it. Blacklisting the kernel module doesn’t seem to work, and there is no GUI option to disable it, at least not an option that is installed in any of the GUIs by default.

  1. January 26th, 2009 at 15:33 | #1