Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-04-2007, 09:12 AM   #1
Registered: Apr 2005
Location: USA
Distribution: Mageia,Fedora,RHEL,CentOS
Posts: 94

Rep: Reputation: 16
Beep/Bell in computer with no speaker

This is not a question but an answer. Thought I would share what I learned incase someone else runs into this issue:

Some programs we use require the BELL (BEL) function. This is the ancient teletype bell that rings when a ^G is sent to a terminal emulator.

Under Linux, you can tell if yours works by pressing Control-G in an Xterm. If you hear a beep- it works. Normally this used to be done through the "PC SPEAKER" which is a separate speaker in the computer. Under KDE/Gnome, there are functions to reroute this to the Linux sound system to simulate the bell.

But in our environment, we don't use KDE/Gnome, we use thin clients talking to a remote icewm. The solution on most of the machines was easy- just load the "pcspkr" kernel module and wham, you will hear beeps again.

But on the new Shuttle machines, they have no speaker or even connection for one. So I had a problem. Fortunately, I was not the only one with such a problem- and the solution was found on this site:

Which directed me to this site:

There is a kernel driver called "beep" that compiled perfectly under Mandriva 2007.0. It creates a /dev/beep device that a (supplied) daemon can use to play sounds (with aplay) when a BEL occurs. I
already sent the author Email thanking him.
Old 01-05-2007, 06:29 PM   #2
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There is also a visual beep that inverts the screen.
Old 01-05-2007, 09:01 PM   #3
Registered: Apr 2005
Location: USA
Distribution: Mageia,Fedora,RHEL,CentOS
Posts: 94

Original Poster
Rep: Reputation: 16
True, of course, that only inverts that one window, though... and doesn't do much good when not looking at the screen and for non xterm programs that ring the bell


beep, bell, driver, icewm, kernel, module, shuttle, speaker

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make pc speaker beep in slackware vrillusions Linux - Hardware 5 03-02-2010 10:15 PM
"set bell-style none" won't stop my internal speaker from beeping Lokathor Debian 7 11-26-2005 01:52 PM
obsd: constant pc speaker beep with gigabyte board Fonk *BSD 0 09-26-2005 03:07 AM
How do I beep PC speaker without a console? PFudd Linux - Hardware 1 08-30-2005 06:52 PM
Incredibly annoying pc speaker beep on error in MySql in Windows XP nazdrowie Programming 2 07-15-2005 01:26 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration