Sunday 10 November 2013

Debian Wheezy - How to remove annoying shutdown beep

I found many solution out there to turn this annoying system speaker beep off, but none seemed to work for me. Eventually I found a little something in amongst the thread.

What fixed it for me was a combination of 2 things, one was to remove the "pcskr" module (although I found this the softer of the system beeps) and the other was to go into alsamixer and select the sound card that contained the "Beep" and mute it. Yes "mute it" setting it to "00" does not work. To mute this select it and press 'm'.

So a quick summary of exactly what I did...

  • Add "blacklist pcspkr" to a blacklist.conf in the /etc/modprobe.d/ directory. This will prevent the pcspkr being loaded on start up.
  • Start "alsamixer" in a terminal, select the sound card (Press F6) that contains the "Beep" (you may have more than one listed and maybe more than one with a "Beep" in this case I am not sure what to do, but try muting one at a time to see what works or maybe both). To mute select the "Beep" and press 'm' you should see the "Beep" muted. Press Esc to exit and it should be saved.
  • You can now remove the pcspkr before you restart by typing as root "modprobe -r pcspkr", this will remove the module now before you reboot.
And that should be it :-)