Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
On Friday 28 July 2006 13:34, Steve G wrote:
And also the annoying pc speaker beep that showed up in the last
week or
two.
Blacklist the module.
echo "blacklist pcspkr" >> /etc/modprob.d/blacklist
-- Jesse Keating Release Engineer: Fedora
I tried the blacklist approach, but the module still gets loaded and the beeping continues, at least until I manually remove it with "rmmod pcspkr".
Some config info:
[root@chipmunk ~]# uname -a Linux chipmunk.rodent.net 2.6.18-1.2200.fc5smp #1 SMP Sat Oct 14 17:15:35 EDT 2006 i686 athlon i386 GNU/Linux
[root@chipmunk ~]# tail /etc/modprobe.d/blacklist blacklist tdfxfb blacklist virgefb blacklist vga16fb
# ISDN - see bugs 154799, 159068 blacklist hisax blacklist hisax_fcpcipnp
# disable annoying pc speaker beeping blacklist pcspkr
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
On Fri, 20 Oct 2006 00:34:16 -0500 Stephen Croll scroll@airmail.net wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module.
No need to be that drastic.
Just click on "main menu - system - preferences - sound" and un-check "enable system beep".
Frank Cox wrote:
On Fri, 20 Oct 2006 00:34:16 -0500 Stephen Croll scroll@airmail.net wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module.
No need to be that drastic.
Just click on "main menu - system - preferences - sound" and un-check "enable system beep".
This solution works, but appears to only apply to the currently running gnome session. It doesn't work for virtual terminals nor for KDE sessions.
I'd like to have it disabled globally, rather than figuring out the specifics of how to disable it on multiple different user/desktop/vt combinations.
Also, not that it really matters that much, but I imagine the pcspkr kernel module consumes some amount of memory. No reason to have it eat memory, particularly since I never intend to use it.
-- Steve Croll
Stephen Croll wrote:
I'd like to have it disabled globally, rather than figuring out the specifics of how to disable it on multiple different user/desktop/vt combinations.
Also, not that it really matters that much, but I imagine the pcspkr kernel module consumes some amount of memory. No reason to have it eat memory, particularly since I never intend to use it.
Good way to ensure a module isn't going to ruin your day: edit /etc/modprobe.conf and add a line
install evilmodule /bin/true
where evilmodule is pcspkr in this case. Subsequently modprobe will be unable to place it into the kernel, running /bin/true instead and thinking that all went well.
-Andy
Stephen Croll wrote:
... This solution works, but appears to only apply to the currently running gnome session. It doesn't work for virtual terminals nor for KDE sessions.
I haven't tried this for KDE, but I expect it will work for all bash sessions, no matter where they run:
head -2 /etc/inputrc # do not bell on tab-completion #set bell-style none
Just uncomment the second line.
That's system-wide. For one user, you can just login as the user and do
$ cat >>.inputrc set bell-style none (C-d)
I hear ya with wanting to 'terminate with extreme prejudice', but I think it's not necessarily wise to completely kill the functionality. Sometimes an audible alert can be useful.
<Joe
Well, since no one has mentioned it yet - pulling the wire off the motherboard speaker header works too (probably works better in a desktop system than a laptop though :-).
Heck, my totally silent Zalman TNN500AF case doesn't even have a speaker to connect to the motherboard (when they say totally silent, they mean it :-).
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
On Thursday 19 October 2006 23:37, Ric Moore wrote:
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
Shotgun is fun ;-)
--
My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ...the Sin of Ignorance, and ...the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/ http://www.sourceforge.net/projects/oar http://www.wayward4now.net
================================================
On Fri, 2006-10-20 at 07:18 -0700, Grumpy Penguin wrote:
On Thursday 19 October 2006 23:37, Ric Moore wrote:
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
Shotgun is fun ;-)
BFG is better! :~)
On Friday 20 October 2006 18:13, Ric Moore wrote:
On Fri, 2006-10-20 at 07:18 -0700, Grumpy Penguin wrote:
On Thursday 19 October 2006 23:37, Ric Moore wrote:
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
Shotgun is fun ;-)
BFG is better! :~)
Naw a barrett light .50BMG round don't leave anything for a 2nd shot [and that is Definitely a BFG
--
My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ...the Sin of Ignorance, and ...the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/ http://www.sourceforge.net/projects/oar http://www.wayward4now.net
================================================
On Fri, 2006-10-20 at 18:28 -0700, Grumpy Penguin wrote:
On Friday 20 October 2006 18:13, Ric Moore wrote:
On Fri, 2006-10-20 at 07:18 -0700, Grumpy Penguin wrote:
On Thursday 19 October 2006 23:37, Ric Moore wrote:
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
Shotgun is fun ;-)
BFG is better! :~)
Naw a barrett light .50BMG round don't leave anything for a 2nd shot [and that is Definitely a BF!
I saw one on the Discovery Channel ... awesome. That's the one in the nose of the A10, right? Ric
On Friday 20 October 2006 18:41, Ric Moore wrote:
On Fri, 2006-10-20 at 18:28 -0700, Grumpy Penguin wrote:
On Friday 20 October 2006 18:13, Ric Moore wrote:
On Fri, 2006-10-20 at 07:18 -0700, Grumpy Penguin wrote:
On Thursday 19 October 2006 23:37, Ric Moore wrote:
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote:
Apparently a recent FC5 update has enabled my internal PC speaker. The resultant beeping from shell tab completion and such is driving me nuts. Searching for a solution, I found a post on fedora-devel-list suggesting to blacklist the module. For reference, an excerpt from this post follows.
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
Shotgun is fun ;-)
BFG is better! :~)
Naw a barrett light .50BMG round don't leave anything for a 2nd shot [and that is Definitely a BF!
I saw one on the Discovery Channel ... awesome. That's the one in the nose of the A10, right? Ric
No an A10 Warthog has a 30mm with subcaliber ammo that's what is called a RBFG [it takes out t-72 tanks]
--
My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ...the Sin of Ignorance, and ...the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/ http://www.sourceforge.net/projects/oar http://www.wayward4now.net
================================================
On Friday 20 October 2006 19:35, Grumpy Penguin wrote:
On Friday 20 October 2006 18:41, Ric Moore wrote:
On Fri, 2006-10-20 at 18:28 -0700, Grumpy Penguin wrote:
On Friday 20 October 2006 18:13, Ric Moore wrote:
On Fri, 2006-10-20 at 07:18 -0700, Grumpy Penguin wrote:
On Thursday 19 October 2006 23:37, Ric Moore wrote:
On Fri, 2006-10-20 at 00:34 -0500, Stephen Croll wrote: > Apparently a recent FC5 update has enabled my internal PC > speaker. The resultant beeping from shell tab completion and > such is driving me nuts. Searching for a solution, I found a > post on fedora-devel-list suggesting to blacklist the module. > For reference, an excerpt from this post follows. > > Any ideas on how to disable the speaker by preventing the > module from being loaded in the first place?
Can't it be turned off in KDE helpcenter? Or disable it in the bios? Trouble shooting with a shotgun, Ric
Shotgun is fun ;-)
BFG is better! :~)
Naw a barrett light .50BMG round don't leave anything for a 2nd shot [and that is Definitely a BF!
I saw one on the Discovery Channel ... awesome. That's the one in the nose of the A10, right? Ric
No an A10 Warthog has a 30mm with subcaliber ammo that's what is called a RBFG [it takes out t-72 tanks
forgot Barrett http://www.barrettrifles.com/ I have the model 99 single shot
]
--
My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ...the Sin of Ignorance, and ...the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/ http://www.sourceforge.net/projects/oar http://www.wayward4now.net
================================================
On Fri, 2006-10-20 at 19:39 -0700, Grumpy Penguin wrote:
forgot Barrett http://www.barrettrifles.com/ I have the model 99 single shot
My Gawd, I just checked out the pricelist... I'm saving up for the T-shirt. <shudders> Ric
Stephen Croll wrote:
Any ideas on how to disable the speaker by preventing the module from being loaded in the first place?
Not exactly a clean solution, but to my /etc/rc.local, I appended a line that contains "rmmod pcspkr". Since this file is executed as the last script in the startup sequence, the module gets loaded by udev then unloaded manually before the boot is finished.
Hope that helps.