LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Enable System Beep (https://www.linuxquestions.org/questions/debian-26/enable-system-beep-4175490222/)

bookie 01-05-2014 08:34 AM

Enable System Beep
 
Hi folks!
I know most will have a quite computer - but on my server since an upgrade to Debian Squeeze I haven't been able to hear a system beep when OS is loaded or when shutting down.

I am one of those that would like it working....lol


bookie

Dman58 01-05-2014 08:45 AM

System Beep is controlled in the BIOS settings of the computer. Enter BIOS by pressing appropriate key upon system startup. Example: DEL, F10, F12, etc. Depending on the MB.

bookie 01-05-2014 09:38 AM

Hi Dman58
Yes, they are enabled - but it is the sound that Linux gives when system is loaded....

bookie

bookie 01-08-2014 03:25 AM

Is there no one that knows how to get system sounds?

bookie

aus9 01-08-2014 05:38 AM

system beep has 2 independent properties

module called pcspkr ----check if its already loaded or not and report back

Code:

lsmod | grep pcspkr
2) some sound cards also need the beep enabled but its not a part of my sound card so google the image shows

http://4.bp.blogspot.com/-cZs44GT_b5...utePCbeep.jpeg

to get there you open a terminal and run as a local user

Code:

alsamixer
if you have that slider control use right arrow to get to it
use m key to mute or unmute it
use page up to raise volume

that image shows MM meaning muted the yellow number =0 says volume is 0

good luck


EDIT

if you can't see the module, then its blacklisted

I use sid but have a gander at /etc/modprobe.d/somefilename

the file will have contents

blacklist pcspkr

use root powers to put a hash in front of it and save and reboot = #

bookie 01-09-2014 01:00 AM

Hi aus9
Thanks for dropping by

Code:


lsmod | grep pcspkr

gives me:

Code:


pcspkr 16990


alsamixer isn't installed in openmediavault...


module not blacklisted....


It is a bit strange...my mobo has a small speaker for system sounds....

bookie

aus9 01-09-2014 08:20 AM

ok you have the module loaded....well done now

2) are you allowed to install alsa-utils which will give you the alsamixer command?

3) speaking of which....if this is some kind of media server

are you using a low latency kernel?

are you using alsa / pulseaudio / jack / OSS etc ?

4) do you have a intel sound card by any chance?

show us your output to

aplay -l
aplay -L (as well pls....proves if you are using PA)

#################

Leaping ahead, it appears that
a you need the module
b you need the alsamixer control enabled and volume raised BUT
c some sound software may be disabling the beep such as PA

we can get around that but we need to eliminate your alsamixer first pls

#############

leaping ahead (2)

pretend you see intel as the analog output device then

pretending you have checked your bios settings have not disabled beep as per Dman58 request you may like to read this thread
http://askubuntu.com/questions/96511...peaker-to-beep

##############

leaping ahead you need to install x11-xkb-utils which will give you a bell command called xkbbell

run it and report if you hear the bell.....if you do....don't do below
if you don't try below

Quote:

Load the module pcspkr (like you already did via /etc/modprobe.d/blacklist.conf)
Remove the package pulseaudio-module-x11 (that seems to absorb all XBell events)
Put options snd-hda-intel beep_mode=2 into /etc/modprobe.d/enable-beep.conf (you only need that case you own a system with an intel sound chip like my Latitude E6420). Unmute the speaker in alsamixer after that.

NOTE that instruction needs edit....if it needs to be done your line changes to

snd_hda_intel beep_mode=2

aus9 01-09-2014 08:24 AM

I might add a separate post that I am a bit suss about this beep_mode as I have no such option in my kernel YMMV

check

Code:

sudo modinfo snd_hda_intel
shows no such option for me, and only if you have intel snd may it have relevance to you

ukiuki 01-09-2014 01:11 PM

You also want to have a look at the file inputrc in /etc, it controls some beeps, and may do what you need.

Regards

bookie 01-10-2014 02:02 AM

Hi guys!
Yes, I use the computer for media storage with Openmediavault...

I have problems on that computer and will need to reinstall it....at the moment pressure of work is getting me....

I will get back to you on this when I get the time...

I do thank you for your input!

Much appreciated!

bookie


All times are GMT -5. The time now is 12:25 AM.