Bugzilla – Bug 340657
globally turning off beep
Last modified: 2009-03-04 17:04:20 UTC
On the ThinkPad notebook line, the system beep can be extremely loud (googling for 'thinkpad beep hearing' will conform this).
One suggestion to get rid of the beep is to remove the 'pcspkr' kernel module. However this module is compiled into the SUSE kernels, so it cannot be removed.
Other suggested workarounds are:
- add 'set bell-style none' to /etc/inputrc
- add 'setterm -blength 0' to /etc/profile.local
- xset b off
None of these are very user friendly. So it would be nice to add a global knob to YaST, possibly automatically turning off beep at install time for ThinkPads, or at least asking the user.
Please reassign to the YaST team if you think this should be solved at the yast level.
yes, I think this should be done at YaST2 level, adding new
SuSEconfig scripts is "frowned upon" ...
I would also love the ability to disable the beeping globally. This should definitely be compiled as a module. What is the reasoning behind building it into the kernel?
Any news on this topic?
I moved the product version to 11.0 since this still exists in factory.
This is not only ThinkPad related problem, it's in every computer without possibility of turning off pc-speaker in BIOS.
I agree that pcspkr would be better off as a kernel module than directly compiled on to kernel. It's very easy to just edit the file "blacklist" in /etc/modprobe.d/ in order to disable it. Afterwards it could be easily implemented to YaST, since assigning a new button would require a very simple script, something like this:
echo blacklist pcspkr > /etc/modprobe.d/blacklist
So if we'd take the first step in creating pcspkr as a separate kernel module, then further modifications regarding pcspkr functionality were easier to accomplish.
Assigning to the kernel team instead of yast.
CONFIG_INPUT_PCSPKR is m in the stable kernel, and partially m/y in the 11.0 kernel. I don't see a problem with setting it to m everywhere. Could you get that changed with Jiri though, please?
As per bug 225221 (https://bugzilla.novell.com/show_bug.cgi?id=225221) this should be very easy, 'modprobe -r pcspkr' works now as suggested in comment #6 (https://bugzilla.novell.com/show_bug.cgi?id=340657#c6). Perhaps it can be implemented now and included in the final release of openSUSE 11.1. Laptop owners all over the world will thank you for it and it will change the image of GNU/Linux for the better:
> "Why is computer bleeping like crazy all the time?"
> "oh you're running Linux or something."
< "Yeah ..."
> "Seems very annoying, am I glad I'm running Windows."
Takashi changed CONFIG_INPUT_PCSPKR to =m on all configs last August. Closing as FIXED.