Difference between revisions of "How to disable the pc speaker (beep!)"

From ThinkWiki
Jump to: navigation, search
 
(How to re-enable it)
Line 1: Line 1:
Get rid of the annoying beeps in Linux (Xubuntu 6.10 Edgy Eft): Remove the pc speaker module.
+
Get rid of the annoying beeps in Linux (Xubuntu 6.10 Edgy Eft): Remove the pc speaker module "pcspkr".
  
 
Open a terminal and issue this command as root:
 
Open a terminal and issue this command as root:
 
  rmmod pcspkr
 
  rmmod pcspkr
  
To prevent the pcspkr module from loading again at startup, open /etc/modprobe.d/blacklist with your favorite text editor (as root) and add following lines to the end of the file:
+
To prevent the "pcspkr" module from loading again at startup, open /etc/modprobe.d/blacklist with your favorite text editor (as root) and add following lines to the end of the file:
 
  # disable the **** pc speaker
 
  # disable the **** pc speaker
 
  blacklist pcspkr
 
  blacklist pcspkr
 +
 +
==Re-enabling the pc speaker==
 +
Temporarily activate it by loading the module (run this from a terminal with root privileges):
 +
modprobe pcspkr
 +
 +
If you don't want to prevent the module from loading during startup, delete the lines described in the previous section from /etc/modprobe.d/blacklist.

Revision as of 13:45, 2 March 2007

Get rid of the annoying beeps in Linux (Xubuntu 6.10 Edgy Eft): Remove the pc speaker module "pcspkr".

Open a terminal and issue this command as root:

rmmod pcspkr

To prevent the "pcspkr" module from loading again at startup, open /etc/modprobe.d/blacklist with your favorite text editor (as root) and add following lines to the end of the file:

# disable the **** pc speaker
blacklist pcspkr

Re-enabling the pc speaker

Temporarily activate it by loading the module (run this from a terminal with root privileges):

modprobe pcspkr

If you don't want to prevent the module from loading during startup, delete the lines described in the previous section from /etc/modprobe.d/blacklist.