Sponsored Content
Full Discussion: System audible beep
Operating Systems Linux Slackware System audible beep Post 302483254 by Corona688 on Friday 24th of December 2010 06:23:01 PM
Old 12-24-2010
Quote:
Originally Posted by slak0
It does beep during boot so it is working somewhere somehow.
That's just the system POST beep.
Quote:
Can someone show me how to get bash echo to produce a beep from the system speaker?
First of all, you have to be logged into a local console for that to work. xterm or ssh won't cut it.

Second, your kernel has to be configured to use it. device drivers -> input device support -> miscellaneous devices -> <M> PC Speaker support which should produce CONFIG_INPUT_PCSPKR=m in your .config file.

Third, the module actually has to be loaded.
Code:
$ modprobe pcspkr

Fourth, depending on your system and soundcard, you may need to enable the pcspkr channel in your mixer settings.

You might also try installing the beep utility. While this won't fix your terminals, you can use it to at least confirm the kernel is using the PC speaker...
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

no beep in shell??

hiho, who has an idea how i can tell my shell that it should not beep on errors or when i'm using the TAB in bash to complete noone needs to know when i make mistakes ;-) solaris 9 (SPARC) bash 2.05 thx a lot Preßy (1 Reply)
Discussion started by: pressy
1 Replies

2. HP-UX

Turn off awful beep

. (1 Reply)
Discussion started by: Driver
1 Replies

3. UNIX for Dummies Questions & Answers

Need to shut off beep

I need to know how to turn off the beep in my unix environment. I tried with the Common Desktop Environment on solaris but it didn't work. I used to know the environment variable to set but I have forgotten it. (1 Reply)
Discussion started by: jpedicone
1 Replies

4. UNIX for Dummies Questions & Answers

How do I make 'tail -f' beep?

Hi, I'm moniroting numerous logs in my new job (tail -f JOE.log | grep ALERT) and I want to be able to make the Terminal BEEP when ever something comes up. Is this something I can do easily? Any help with the above (or an alternative) would be appreciated, so I can stop staring at the... (1 Reply)
Discussion started by: the_big_v
1 Replies

5. Linux

the old question: how to disable the beep ?

still the old question (didn't find the satisfied answer in the forum) how to disable the awful beep in linux workstation? i tried this: /etc/inputrc -〉set bell-style none but it can only disable the beep whenever you input wrongly in the console. in some othercases, i still can hear... (1 Reply)
Discussion started by: princelinux
1 Replies

6. UNIX for Dummies Questions & Answers

How to get ride of the BEEP in Solaris

Hello, I did a search on this forum and a global search to try and find out how to disable that annoying beep that you get when you mistype or hit the esc key in VI and i didn't have that problem last week. I'm using Solaris and bash shell and i've put these commands into my .profile file: ... (2 Replies)
Discussion started by: bobk544
2 Replies

7. Ubuntu

I can't make my pc speakers beep

I don't know why, but when I issue echo -e '\a' or beep. I get only some sound, set in my OS (Ubuntu Karmic). I tried to run these on Lenovo Y510KA and Lenovo S10-2. Is there another way to make my laptops beep?.. (3 Replies)
Discussion started by: Sapfeer
3 Replies

8. Solaris

System hangs (freezes) on system bell/beep

I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600. Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays. I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
Discussion started by: DeadBadger
3 Replies
beep(3XCURSES)						  X/Open Curses Library Functions					    beep(3XCURSES)

NAME
beep, flash - activate audio-visual alarm SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib -R /usr/xpg4/lib -lcurses [ library... ] c89 [ flag... ] file... -lcurses [ library... ] #include <curses.h> int beep(void); int flash(void); DESCRIPTION
The beep() and flash() functions produce an audio and visual alarm on the terminal, respectively. If the terminal has the capability, beep() sounds a bell or beep and flash() flashes the screen. One alarm is substituted for another if the terminal does not support the capability called (see terminfo(4) bel and flash capabilities). For example, a call to beep() for a terminal without that capability results in a flash. RETURN VALUES
These functions always return OK. ERRORS
None. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
libcurses(3XCURSES), terminfo(4), attributes(5), standards(5) SunOS 5.11 5 Jun 2002 beep(3XCURSES)
All times are GMT -4. The time now is 01:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy