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:
Quote:
Thx Remusb |
Hi, welcome to LQ!
Slap it into rc.local (or ubuntus version thereof). |
Quote:
Code:
blacklist pcspkr |
Quote:
Heres how I've tried, Code:
beep Code:
echo -e '\a' |
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. |
All times are GMT -5. The time now is 05:04 PM. |