[SLL] redirect PC speaker to sound card
Paul A. Franz, P.E.
paul at eucleides.com
Fri Sep 5 04:14:56 PDT 2008
On Thu, September 4, 2008 3:48 pm, William Kreuter wrote:
> I have two RHEL-4 machines on which the PC speaker is
> not functional. I'd like to redirect PC speaker beeps
> to something audible on the sound card. The machines
> use fvwm 1.24. I've defined "FvwmEvent beep" in
> .fvwmrc, although it's not obvious if "beep" is a
> supported event. I can't find any definition of the
> window manager events referenced by FvwmEvent.
>
> How can I redirect the PC speaker's traffic, whether
> or not by using some facility of fvwm?
>
> Billy
Extracted from section 6.28 of the Sound-HOWTO
<http://leb.net/pub/blinux/doc/Sound-HOWTO>
Try the oplbeep program, found at [ftp://www.ibiblio.org/pub/Linux/apps/sound
/oplbeep-2.3.tar.gz] ftp://www.ibiblio.org/pub/Linux/apps/sound/
oplbeep-2.3.tar.gz
Another variant is the beep program found at [ftp://www.ibiblio.org/pub/Linux
/kernel/patches/misc/modreq_beep.tgz] ftp://www.ibiblio.org/pub/Linux/kernel/
patches/misc/modreq_beep.tgz
The modutils package has an example program and kernel patch that supports
calling an arbitrary external program to generate sounds when requested by
the kernel.
Version 2.0 and later of KDE allows playing a sound file for the console beep
in KDE applications such as konsole.
Alternatively, with some sound cards you can connect the PC speaker output to
the sound card so that all sounds come from the sound card speakers.
--
Paul A. Franz, P.E.
PAF Consulting Engineers
Office 425.641.8202
FAX 425.641.1773
Cell 425.241.1618
More information about the linux-list
mailing list