Embarrassingly Loud Beep from PC Speaker

I recently started a new job and configured my new laptop with Manjaro i3. Its doing the job well apart from occasionally, and without warning, the PC speaker just starts beeping whenever you press certain keys.  Its the PC speaker and so even doing it when its otherwise muted.

The fix was actually simple but I wanted to include it here in case anyone else finds it useful. Simply removing the kernel module responsible for the PC speaker resolved the issue for me.

[workpc ~]# rmmod pcspkr

To make it permanent and prevent the kernel loading it up at reboot, blacklist it:

[workpc ~]# echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf

Hope this helps!

Be the first to comment

Leave a Reply