LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   disable reboot/shutdown beep (https://www.linuxquestions.org/questions/linux-newbie-8/disable-reboot-shutdown-beep-257383/)

yiang 11-20-2004 06:20 PM

disable reboot/shutdown beep
 
Hello

I'm using SUSE 9.1. Is there a way to disable the two system beeps at end of a reboot/shutdown session?

Thanks

Dummy-in-Linux 11-20-2004 08:20 PM

Hello yiang,

I belief that the beeps at boot/reboot are generated by the BIOS of your mainboard.

If you want to disable this beeps you have to disconnect the small speaker from your mainboard.

With kind regards,

Richard

yiang 11-20-2004 09:01 PM

okay, i just thought there was somewhere in the configuration file where you could specify to disable it because when i tried other distros, not all of them have the beeps during a reboot/shutdown session.

thanks for the reply

lixy 12-12-2004 05:55 PM

In YAST -> System -> /etc/sysconfig editor and search for the word beep; Set the values to no

Cheers,

yiang 12-12-2004 08:04 PM

do you know exactly where in sysconfig? I looked through it but couldn't find anything referencing to it. I might have skipped it but I don't think I saw anything with a beep.

Thanks for your reply

bitmand 02-10-2005 04:35 PM

I am using Suse 9.2 and I also would like to stop the two beeps from the pc
speaker on shutdown / reboot.

The first advice about disconnecting the pc speaker is impossible for me, I'm
on a laptop. Besides, I am pretty sure this is OS related, cause no other OS
I have tried beeps on shutdown (Win2000, WinXP, FreeBSD).

The second advice about searching for beeps in /etc/sysconfig editor: I have
done that and it did find 2 entries, but both were allready set to 'no'.

Doesn't anyone have some idea of what is making the 2 beeps and/or how to stop
them? They are really loud and really anoying :(

jluckett 02-27-2005 10:05 AM

This worked for me. In my case, I'm using SuSE 9.2 and it was the pcmcia setting that was set to "yes".

Maybe try switching the pcmcia to "yes", save, restart, and then switch it back to "no", save, and restart? It's just a guess as I'm not sure why yours is set to "no" and you're still hearing the beeps.

Just to clarify, I'd found the setting in sysconfig by searching for "beep". One of the two results was already set to "no". The pcmcia one was set to "yes".

Northpole 02-28-2005 10:20 AM

Edit the /etc/rc.d/halt script and remove or comment out (add a # in front of) the lines containing

echo -en "\033[<some things here>]\a"
and
echo -en "\a"

which are not in the case for $HALT_SOUND in "yes", "quint" or "octave" (line 138, 143 and 147 in my script).

No more beeps during shutdown or reboot :D

bitmand 03-01-2005 05:18 AM

*WOW*

It really works :)

I have searched the entire web (i feel like it) and haven't found any clue to the problem - and suddenly, BAM, Northpole is writing the solution. I thank you so much Northpole :)

Btw. i changed a total of 5 lines with echo - but it worked - and I'm happy :)

yiang 03-05-2005 03:10 PM

Finally! Thanks Northpole. No more beeps!!! :D

deargin 10-18-2005 01:49 PM

excellent !

i wanted to ADD shutdown beeps to my machine, a box i use as a server with no monitor etc.

it's old and doesn't have the ability to power off the psu when done.

so i wanted to know the shutdown sequence was finished.

this done the trick nicely, i downloaded "beep" in debian "apt-get install beep", and added the following to /etc/init.d/halt

#
#beeps
#d, 2005-10-18
/usr/bin/beep -l 75 -f 3000
/usr/bin/beep -l 75 -f 2000
/usr/bin/beep -l 75 -f 1000
/usr/bin
#/beeps

nice jingle (thanks to ipcop also)

d

Jdlyn 04-25-2006 09:50 AM

Quote:

Originally Posted by Northpole
Edit the /etc/rc.d/halt script and remove or comment out (add a # in front of) the lines containing

echo -en "\033[<some things here>]\a"
and
echo -en "\a"

which are not in the case for $HALT_SOUND in "yes", "quint" or "octave" (line 138, 143 and 147 in my script).

No more beeps during shutdown or reboot :D

Sorry for asking such a newbie ?... but where can I find the above script to edit.

lixy 04-25-2006 02:05 PM

Welcome to LQ Jdlyn!

Like he said, it's in /etc/rc.d/halt !
If you can't figure out what that means, I urge you to drop that for now and read about more vital issues than a beep.

And remember that we're always here to help you.

Jdlyn 04-26-2006 11:47 PM

Fair enough... never installed linux before, never seen running for that matter. I found it ok... all done thanks for the tips, im like'n this.


All times are GMT -5. The time now is 08:30 PM.