Activity log for bug #486154

Date Who What changed Old value New value Message
2009-11-21 03:57:28 Grondr bug added bug
2009-12-01 05:11:41 Robert Schroll ubuntu: status New Confirmed
2009-12-08 04:55:21 Robert Schroll affects ubuntu pulseaudio (Ubuntu)
2009-12-09 05:30:20 Robert Schroll bug task added metacity (Ubuntu)
2009-12-09 05:31:13 Robert Schroll bug task added libcanberra (Ubuntu)
2009-12-09 05:31:42 Robert Schroll pulseaudio (Ubuntu): status Confirmed Invalid
2009-12-16 02:56:57 Grondr attachment added bug-characterization http://launchpadlibrarian.net/36854205/bug-characterization
2009-12-19 18:49:41 WeatherGod metacity (Ubuntu): status New Confirmed
2010-01-01 23:04:27 Robert Schroll attachment added Keep metacity from grabbing audible system bell events. http://launchpadlibrarian.net/37349157/metacity_2.28.0-0ubuntu2.debdiff
2010-01-24 04:58:45 Robert Schroll bug watch added https://bugzilla.gnome.org/show_bug.cgi?id=607906
2010-01-24 04:59:31 Robert Schroll bug task added metacity
2010-02-01 03:08:51 Robert Schroll branch linked lp:~rschroll/metacity/system-bell
2010-02-07 01:56:11 Robert Schroll nominated for series Ubuntu Lucid
2010-02-07 02:40:19 Robert Schroll description In a fully up-to-date AMD64 Karmic on an MSI MS-7511 aka a K9N2G Neo-FD motherboard (2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux): I -know- my hardware works, but I cannot get the motherboard-based system beep to work at all. I also know that lots of effort was expended in Karmic to silence the motherboard beep, but it went overboard---it is now apparently broken completely, and some of us need it. (This machine almost never has any speakers plugged into it---I depend absolutely on the onboard system beep to work, so don't waste your breath if your advice is to "just" use the audio-out jack and externally-powered speakers---this is absolutely a regression!) My test cases: both in and outside of X (e.g., booted normally, or booted directly into single-user mode): echo -e '\a' in bash, or echo -n '\007' in tcsh, or ^G in Emacs, or Rubout at an empty line in gnome-terminal and/or the X-less shell. Nothing. I -know- this hardware works: (a) Tried booting from a 6.06 LiveCD. All of the above tests work just fine. (b) Installed "beep" with synaptic. Beep itself works (showing that my hardware is good -and- that the kernel can talk to it), although apparently event0 isn't where my internal speaker is---I have to use beep -e /dev/input/by-path/platform-pcspkr-event-spkr and -then- the command beeps. (That's actually a symlink to event5 for some reason on this motherboard. Here are all the things I did to try to fix this; what's left? (This is not necessarily the exact order I tried things in, and there were multiple logouts and/or reboots to make sure old values weren't cached and that new values were sticking.) Commented-out the blacklisting of pcskpr in /etc/modprobe.d/blacklist.conf and did modprobe pcspkr. lsmod shows pcspkr there, and a reboot shows it still there. Went into alsamixer, raised Beep to 100%, and unmuted it. Made sure that "Terminal bell" in the profile for my gnome-terminal is checked. (Also tried unchecking it, from a report elsewhere that claimed the checkbox worked backwards from appearances.) Did xset q and noticed that the bell percent was 0. Did xset b 100 and now it's at 100. Tried xset b 100 1000 100 to change the default pitch from 400 to 1000; no effect. Did sudo gconf-editor and drilled down to desktop -> gnome -> peripherals -> keyboard and changed bell_mode from off to on. (Jeez, how many different places did they stab at to try kill the bell?) I've also read through about a dozen threads on launchpad where people were complaining about how to turn the bell -off-, as well as http://ubuntuforums.org/tags.php?tag=bell. I'm suspicious that beep required an explicit path because event0 wasn't the bell---could this lead to any of these symptoms? It's obvious (since it doesn't work in single-user mode either) that X or Gnome or gnome-terminal aren't implicated, but I'd tried all of those before just trying single-user. And, of course, the 6.06 LiveCD shows this is absolutely a regression---if a 3.5-year-old release works just fine on this 1-year-old hardware, I'd expect the current one to do so as well. Alternatively---is there any way of forcing "beep -e /dev/...." to be called in all instances when the system would otherwise be trying to use the system bell, e.g., when backspacing to empty lines, when echo or Emacs want to emit ^G, etc etc? That would be a gross kluge, but at least it would leave me with a bell that worked in most of the cases I care about... Between Jaunty and Karmic, a number of changes were made to keep the PC speaker from beeping. As part of this, system bell events are now captured by metacity, which uses libcanberra to play a sound. For users without speakers, this fails to be useful. The current setup makes restoring the old behavior extremely difficult. The absolute show stopper is that metacity traps audible system bell events. This behavior is, as best we can tell, not configurable. The attached patch keeps metacity from capturing system bell events. It also removes the sound playback capability. As Lucid will be using pulse audio's module-x11-bell to play sounds for system bell events, it is not necessary for this capability to be in metacity. Additionally, this removes the discrepancy between metacity's and compiz's handling of system bell events. There are several other difficulties in enabling the system bell: 1) Even if it is taken out of the blacklist, the pcspkr module may not load properly. Another modprobe may be necessary to get it loaded. See bug #398161. 2) Something in Gnome's startup does the equivalent of `xset b off`, so `xset b on` must be run on every login. (Note that bug #280767 keeps you from setting the bell volume with xset.) 3) A number of settings in gnome-terminal and gconf may keep the shell from sounding system bell events. Comments #28, #34, and #50 give more detailed summaries of the various problems.
2010-02-07 03:53:43 Philip Muškovac removed subscriber Philip Muškovac
2010-03-10 04:24:47 Daniel T Chen metacity (Ubuntu): importance Undecided Medium
2010-03-15 11:42:45 Daniel Holbach removed subscriber Ubuntu Sponsors for main
2010-03-16 22:30:23 Brian Murray tags patch
2010-03-19 15:35:38 Dimitri John Ledkov removed subscriber Ubuntu Review Team
2010-03-19 15:35:52 Dimitri John Ledkov tags patch patch-needswork
2010-03-24 11:52:00 Colin Watson removed subscriber Canonical Foundations Team
2010-03-29 03:06:08 Robert Schroll tags patch-needswork patch
2010-04-17 09:03:54 Bug Watch Updater metacity: status Unknown New
2010-06-09 17:01:03 Pedro Villavicencio metacity (Ubuntu): status Confirmed Triaged
2010-08-25 10:34:19 Sebastien Bacher removed subscriber Canonical Desktop Team
2010-09-16 20:05:53 Bug Watch Updater metacity: importance Unknown Medium
2010-10-11 15:59:06 Thomas Troesch bug added subscriber Thomas Troesch
2010-10-18 02:03:40 Anders Kaseorg bug added subscriber Anders Kaseorg
2010-11-18 21:46:33 Pete Ashdown bug added subscriber Pete Ashdown
2010-12-06 21:22:00 Kees Cook libcanberra (Ubuntu): status New Invalid
2010-12-06 21:22:14 Kees Cook metacity (Ubuntu): assignee Canonical Desktop Team (canonical-desktop-team)
2011-01-13 14:37:40 Linards Ticmanis bug added subscriber Linards Ticmanis
2011-02-09 17:51:48 Kees Cook removed subscriber Ubuntu Sponsors Team
2011-02-21 07:40:11 Martin Pitt metacity (Ubuntu): assignee Canonical Desktop Team (canonical-desktop-team)
2011-03-03 02:23:39 David Tiks bug added subscriber David Tiks
2011-04-01 04:35:50 Grondr bug watch added https://bugzilla.gnome.org/show_bug.cgi?id=171804
2011-04-08 07:38:11 Thomas Hood bug added subscriber Thomas Hood
2011-04-16 09:16:31 Alberto Mardegan bug added subscriber Alberto Mardegan
2011-06-18 19:46:34 eris23 bug added subscriber eris23
2012-01-18 16:05:30 Thomas Güttler bug added subscriber Thomas Güttler
2012-11-03 12:23:35 John Muir bug added subscriber John Muir
2014-01-28 17:58:21 Aminda Suomalainen bug added subscriber Mika Suomalainen
2016-07-06 17:36:44 Anthony bug task added linux-lts-xenial (Ubuntu)
2016-07-06 18:23:15 Anthony bug added subscriber Anthony
2019-04-17 21:24:45 Launchpad Janitor linux-lts-xenial (Ubuntu): status New Confirmed
2020-03-17 14:42:04 Alberts Muktupāvels metacity (Ubuntu): status Triaged Invalid