[ltp] System bell volume

Glyn Kennington linux-thinkpad@linux-thinkpad.org
Wed, 10 Dec 2003 18:54:57 +0000


Uwe Walter wrote:
> Is it possible to lower the volume / mute the system bell without
> affecting the complete hardware volume (as it is when using the hardware
> volume buttons) on a T40?

I found the `beep' module to be perfect for this:

http://www.kevinboone.com/README_beep.html
http://www.kevinboone.com/beep.tar.gz

It redirects all system beeps to a fifo in /proc/ , and you then leave a daemon
listening on the other end of this fifo.  This daemon can be configured to play
any noise, at any given volume, whenever the kernel wants to make a beep.

Disclaimer:  Not for the faint-hearted.  Requires a small patch to the kernel,
and also some debug commenting out.

Glyn

-- 
glyn.kennington@ox.compsoc.net