LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   No beeps from internal speaker? (https://www.linuxquestions.org/questions/linux-software-2/no-beeps-from-internal-speaker-336239/)

King V 06-22-2005 07:14 PM

No beeps from internal speaker?
 
All,

Ok, got some of the other issues I had with my new Mandrake 10.2 install worked out.

I've noticed an . . uh . . oddity, though.

For whatever reason, the interal speaker doesn't beep when I hit tab for a bad autocompletion, or when I'm doing something with VIM that would normally cause a beep, etc.

I know the speaker works, it beeps on bootup . . but for some reason, whether I'm at the console, or in X, doesn't matter, the speaker is just totally silent at times when it should beep.

Anyone know why this might be? Is there some sort of software or service that is supposed to run on startup to make sure it works?

Thanks in advance...

rose_bud4201 06-22-2005 07:36 PM

Well...since this is something I usually strive to turn off, I'll sort of be answering this backwards :) When I want to turn it off, I have to go to /etc/inputrc and add the line "set bell-style none" to it. Maybe you need to take it out?

King V 06-23-2005 01:54 PM

Ahh . . . bummer. No entry of any sort like that in my inputrc file. No entry of any type with the word "bell" in it.

:confused:

kencaz 06-23-2005 03:04 PM

You can test using this in Terminal:

echo -en "\007"

Then turn off or on using setterm:

setterm -blength [0-2000]

The numbers are millisecond inciments, 0=off

KC

rose_bud4201 06-23-2005 03:06 PM

Do you have the speaker module loaded? Try 'modprobe pcspkr'. If that works, add the module to /etc/modules.conf (or your equivalent file). Adding "set bell-style audible" to your /etc/inputrc ought to cement the speaker's usage.

King V 06-23-2005 06:41 PM

ahh . . apparently pcspkr wasn't in there. Modprobing it did the trick. Now I just gotta figure out where the right config file is!

Thanks!


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