LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-05-2014, 08:34 AM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
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
 
Old 01-05-2014, 08:45 AM   #2
Dman58
Member
 
Registered: Nov 2010
Location: The Danger Zone
Distribution: Slackware & everything else in a VM
Posts: 294

Rep: Reputation: 31
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.
 
Old 01-05-2014, 09:38 AM   #3
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi Dman58
Yes, they are enabled - but it is the sound that Linux gives when system is loaded....

bookie
 
Old 01-08-2014, 03:25 AM   #4
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Is there no one that knows how to get system sounds?

bookie
 
Old 01-08-2014, 05:38 AM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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 = #

Last edited by aus9; 01-08-2014 at 05:45 AM.
 
Old 01-09-2014, 01:00 AM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
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
 
Old 01-09-2014, 08:20 AM   #7
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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
 
Old 01-09-2014, 08:24 AM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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
 
Old 01-09-2014, 01:11 PM   #9
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

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

Regards
 
Old 01-10-2014, 02:02 AM   #10
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
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
 
  


Reply



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
[SOLVED] Enable Beep on every Keystroke T-Dub116 Linux - Newbie 4 08-19-2021 11:51 AM
Flash Videos beep-beep-beep Audio Quantumstate Linux - Desktop 1 07-24-2011 08:57 AM
How do I enable system beep in Slackware 12.2? Slacker Steve Slackware 2 12-23-2008 01:35 PM
route system bell (system beep) through ALSA... mr.v. Linux - Software 1 07-03-2006 07:26 AM
How can i enable the plugin in beep-media-player? hkl8324 Linux - General 1 10-04-2005 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:24 PM.

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