LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   System beeps at shutdown (https://www.linuxquestions.org/questions/slackware-14/system-beeps-at-shutdown-304540/)

alagenchev 03-21-2005 10:20 PM

System beeps at shutdown
 
OK I hate starting threads when I am pretty sure that my question has been answered somewhere else, but I wasn't able to find anything helpful on this one. I am running Slack 10 and everytime I do shutdown -r 0 or halt or shutdown -h 0 , I get this annoying system beep. I know it's fixable without removing the system speaker, because I have had this problem only in Slack and SuSe, furthermore I don't want to open my laptop. I found this solution for SuSe:

//------------------------
//this is exact copy from a SuSe thread on this forum

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).
//--------------------------------------------------

But I don't know how to implement it under Slack.

Anyone had this problem before? Thanks a lot.

detpenguin 03-21-2005 10:37 PM

is it just one beep? or a continuos beep?

alagenchev 03-21-2005 11:55 PM

just a single beep

eelriver 03-22-2005 12:14 AM

Is it a laptop with a pcmcia network card? Mine does that when it gets to pcmcia shutdown.

alagenchev 03-22-2005 12:28 AM

Laptop Dell inspiron 8600, No pcmcia

bornhj 03-22-2005 12:35 AM

Follow the instructions at http://shilo.is-a-geek.com/slack/annoy13.html
That should fix it.

My desktop doesn't do this... it's strange.

alagenchev 03-22-2005 01:08 AM

That's a fix to the system beep in the console, not the beep at shutdown ;)
Quote:

Follow the instructions at http://shilo.is-a-geek.com/slack/annoy13.html


Thank you for trying though
Quote:

Disable system beep. This is one of those things that just annoys me. When I'm typing away at the command line, I make a mistake and I get an annoying beep from the PC speaker

numb 03-22-2005 05:31 AM

why not just run alsamixer (assuming you are running alsa) and mute the system speaker?

alagenchev 03-22-2005 12:56 PM

Hey numb, that sounded like a really good idea. Only bad part is that it didn't work. :-) I ran alsamixer and the only thing that resemples a system speaker is the PC speaker. I muted it, but still right after I write halt or shutdown, I get a beep. It is not at some other point, but only right after I press enter for those two commands. I am wondering if there is anything to do with the broadcast message that root is supposed to send to all users, but I didn't think halt sends broadcast.

artificialGekko 03-22-2005 04:16 PM

Did you save the new settings to alsamixer after closing it? Try "alsactl store" as root...

Good luck with solving your prob... :)

alagenchev 03-23-2005 03:45 AM

:confused: :( :cry:

This doesn't work . Damn I am getting tired of this. Any other suggestions out there. Pleaseeee

keefaz 03-23-2005 05:12 AM

Recompile your kernel without PC Speaker support
Device Drivers -->Input device support->PC Speaker support

bornhj 03-29-2005 04:17 AM

Where does it beep in your shutdown sequence?

Quote:

That's a fix to the system beep in the console, not the beep at shutdown ;)
Ah, but it is a console beep I believe.

alagenchev 03-29-2005 12:51 PM

thank you for sticking with me bornhj, I get a beep right after I press enter. I know it's not a console beep , because I tried fixing SuSe using the exact same instructions that you posted and it didn't work. Now I run Slack and I have the same problem. I know it is a configuration setting, because I don't get it under RH or Fedora. I am planning on doing a kernel recompile, but I am going to wait until my semester is over. I go to school, and it's pretty busy right now. I'll post the results from the recompile later.

Thanks for everyone's support here.


Note: I am still open to suggestions.

bornhj 03-30-2005 01:17 AM

That really is odd.

A recompile isn't that hard, just copy your current config and disable the stuff you're _certain_ you don't need.

Ah, and I too go to school :D


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