LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2009, 12:27 AM   #1
remusb
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
trigger pc speaker to beep when boot up finished


Hi all,

I've just setup a computer with ubuntu server 9.10 to be a print server, and is doing fine. As this computer has no monitor attached I would like to get the computer to make a sound when its finished booting up, as a signal that its ready for print jobs.

I've installed the > beep < program with the following command

Quote:
sudo apt-get install beep
While the installation went fine, I am still unable to get the pc-speakers to make a beeping sound when typing in the beep command

Quote:
beep
Any suggestions would be appreciated.

Thx Remusb
 
Old 12-08-2009, 12:52 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Slap it into rc.local (or ubuntus version thereof).
 
Old 12-08-2009, 06:44 PM   #3
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by remusb View Post
Hi all,

I've just setup a computer with ubuntu server 9.10 to be a print server, and is doing fine. As this computer has no monitor attached I would like to get the computer to make a sound when its finished booting up, as a signal that its ready for print jobs.

I've installed the > beep < program with the following command



While the installation went fine, I am still unable to get the pc-speakers to make a beeping sound when typing in the beep command



Any suggestions would be appreciated.

Thx Remusb
Go to /etc/modprobe.d/blacklist.conf and comment out the line
Code:
blacklist pcspkr

Last edited by Bratmon; 12-08-2009 at 06:45 PM. Reason: Minor error
 
Old 12-08-2009, 09:34 PM   #4
remusb
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Go to /etc/modprobe.d/blacklist.conf and comment out the line
Code:

Code:
blacklist pcspkr
Ok, i've done that and then rebooted the computer, however I can still not get he machine to make any sound with the pc speaker.

Heres how I've tried,

Code:
beep
and

Code:
echo -e '\a'
No luck so far.
 
Old 12-08-2009, 10:53 PM   #5
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 815

Rep: Reputation: 254Reputation: 254Reputation: 254
Unless you actually have a PC speaker connected in your computer you won't hear any beeps. You will have to play the sound through your sound card. Some sound cards can be connected to the speaker output on the motherboard but you usually have to get the correct cable separately.

Look at "man aplay" for the command line utility to play sound files. Use "aplay" instead of "beep". You will have to create or copy a sound file with the beep that you want to play.
 
  


Reply


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 11:15 PM
Speaker beep hbar Debian 1 04-24-2008 03:42 PM
Beep/Bell in computer with no speaker crxssi Linux - Hardware 2 01-05-2007 10:01 PM
obsd: constant pc speaker beep with gigabyte board Fonk *BSD 0 09-26-2005 04:07 AM
How do I beep PC speaker without a console? PFudd Linux - Hardware 1 08-30-2005 07:52 PM


All times are GMT -5. The time now is 03:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration