Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I hate the terminal beep and I want it removed completely. I added this line to my /etc/modproble.d/blacklist.conf file:

blacklist pcspkr

However when I reboot the lsmod output shows it loaded:

[root@localhost ~]# lsmod | grep pcspkr
pcspkr                  7105  0

I'm running CentOS 5.7

share|improve this question
up vote 1 down vote accepted

Try to put something like this...

rmmod pcspkr some of the startup scripts (such as /etc/init.d/rc.local)

share|improve this answer
had to use /etc/rc.d/rc.local, thanks! – flashnode Feb 17 '12 at 0:29

I had this kind of problem with the nouveau module on Fedora 16. It seems to be caused by the presence of the module in the init ramdisk. You can try to make a new one (after you've added the blacklist line in modprode.d).

Try to do this :

cd /boot
mv initrd-$(uname -r).img initrd-$(uname -r).pcspkr.img
mkinitrd initrd-$(uname -r).img $(uname -r)

See this CentOS wiki entry

share|improve this answer

A better way would be to create a conf file for pcspkr (as root):

echo "blacklist pcspkr" >> /etc/modprobe.d/pcspkr.conf

That will stop the module from being loaded next time you reboot. You will still have to run

rmmod pcspkr

to unload the module from the already running system.

share|improve this answer
The pcspkr module is still in lsmod output after trying your suggestion. – flashnode Feb 24 '12 at 16:44

A more permanent (and OS-independent) solution is to open the PC case and disconnect the internal speaker from the motherboard.

It is a 4-pin connector with only two wires that looks like this:

enter image description here

You will find it connected somewhere near the edge of the motherboard along with several other connectors, looking similar to this:

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.