Permanently Disable the PC Speaker in Linux

Posted in Linux , howto

Removing the pcspkr module is fine for an instant halt to all beeping noises coming out of the machine, and sure you could just add this to your profile in .bashrc or .bash_profile

admica@rootninja ~$ sudo modprobe -r pcspkr

or

admica@rootninja ~$ sudo rmmod pcspkr

But the right/best/most complete way is to do it system-wide where it doesn’t even get enabled in the first place by blacklisting it in the modprobe configuration.

admica@rootninja ~$ sudo echo blacklist pcspkr >> /etc/modprobe.d/blacklist
Posted by admica   @   19 March 2009

Related Posts

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Name

Email

Website

Previous Post
« How to find a device’s UUID and use it in fstab
Next Post
Aliases in lighttpd are easy one-liners »
Powered by Wordpress   |   Lunated designed by ZenVerse