Bug#532005: gnome: Bell beep on PC speaker no longer works

2011-11-26 Thread Jonathan Nieder
found 532005 linux-2.6/2.6.32-39
# It turns out that the HDA digital beep overriding the pc speaker is
# a feature, not a bug, since it allows controlling the volume of (and
# in particular, muting) the beep.  Bug#540831 has details.
retitle 532005 PC speaker bell makes a hideous buzzing honk, not a nice beep
quit

Hi Matthew and Nick,

Jonathan Nieder wrote:
 Matthew Wakeling wrote:

 Today I upgraded from Lenny to Squeeze. The console beep no longer works.
 Some hideous sound now emerges from the sound card instead.

 Reproduced on an HP G71-445US laptop.  The honk that replaced the bell
 is like a quick buzzer sound.  Could you try this patchset (the first
 patch of which seems to help on that machine, at least)?

Are you still interested in pursuing this?  Instructions for building
and testing a patched kernel can be found at [1].

Thanks again for a clear report.  Finding the fix was fun.

[1] http://kernel-handbook.alioth.debian.org/ch-common-tasks.html



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#532005: gnome: Bell beep on PC speaker no longer works

2011-10-31 Thread Jonathan Nieder
tags 532005 + patch
quit

Hi,

Matthew Wakeling wrote:

 Today I upgraded from Lenny to Squeeze. The console beep no longer works.
 Some hideous sound now emerges from the sound card instead.

Reproduced on an HP G71-445US laptop.  The honk that replaced the bell
is like a quick buzzer sound.  Could you try this patchset (the first
patch of which seems to help on that machine, at least)?

FWIW, when I unload and load the pcspkr driver, it doesn't fix
anything on that machine.  One of two things happens, and which
happens on each trial seems random: (A) the beep stays the same, or
(B) the beep goes away entirely.
From: Daniel J Blueman daniel.blue...@gmail.com
Date: Tue, 3 Aug 2010 11:09:13 +0100
Subject: ALSA: hda - Fix beep frequency on IDT 92HD73xx and 92HD71Bxx codecs

commit 1b0e372d7b52c9fc96348779015a6db7df7f286e upstream.

Fix HDA beep frequency on IDT 92HD73xx and 92HD71Bxx codecs.
These codecs use the standard beep frequency calculation although the
datasheet says it's linear frequency.

Other IDT/STAC codecs might have the same problem.  They should be
fixed individually later.

Signed-off-by: Daniel J Blueman daniel.blue...@gmail.com
Signed-off-by: Takashi Iwai ti...@suse.de
Signed-off-by: Jonathan Nieder jrnie...@gmail.com
---
 sound/pci/hda/patch_sigmatel.c |   12 +++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 01da10bd8715..9f6205dd1996 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -200,6 +200,7 @@ struct sigmatel_spec {
unsigned int spdif_mute: 1;
unsigned int check_volume_offset:1;
unsigned int auto_mic:1;
+   unsigned int linear_tone_beep:1;
 
/* gpio lines */
unsigned int eapd_mask;
@@ -3757,7 +3758,7 @@ static int stac92xx_parse_auto_config(struct hda_codec 
*codec, hda_nid_t dig_out
if (err  0)
return err;
/* IDT/STAC codecs have linear beep tone parameter */
-   codec-beep-linear_tone = 1;
+   codec-beep-linear_tone = spec-linear_tone_beep;
/* if no beep switch is available, make its own one */
caps = query_amp_caps(codec, nid, HDA_OUTPUT);
if (codec-beep 
@@ -4852,6 +4853,7 @@ static int patch_stac9200(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 1;
spec-num_pins = ARRAY_SIZE(stac9200_pin_nids);
spec-pin_nids = stac9200_pin_nids;
spec-board_config = snd_hda_check_board_config(codec, STAC_9200_MODELS,
@@ -4914,6 +4916,7 @@ static int patch_stac925x(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 1;
spec-num_pins = ARRAY_SIZE(stac925x_pin_nids);
spec-pin_nids = stac925x_pin_nids;
 
@@ -4998,6 +5001,7 @@ static int patch_stac92hd73xx(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 0;
codec-slave_dig_outs = stac92hd73xx_slave_dig_outs;
spec-num_pins = ARRAY_SIZE(stac92hd73xx_pin_nids);
spec-pin_nids = stac92hd73xx_pin_nids;
@@ -5145,6 +5149,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 1;
codec-slave_dig_outs = stac92hd83xxx_slave_dig_outs;
spec-digbeep_nid = 0x21;
spec-mux_nids = stac92hd83xxx_mux_nids;
@@ -5294,6 +5299,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 0;
codec-patch_ops = stac92xx_patch_ops;
spec-num_pins = STAC92HD71BXX_NUM_PINS;
switch (codec-vendor_id) {
@@ -5553,6 +5559,7 @@ static int patch_stac922x(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 1;
spec-num_pins = ARRAY_SIZE(stac922x_pin_nids);
spec-pin_nids = stac922x_pin_nids;
spec-board_config = snd_hda_check_board_config(codec, STAC_922X_MODELS,
@@ -5656,6 +5663,7 @@ static int patch_stac927x(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 1;
codec-slave_dig_outs = stac927x_slave_dig_outs;
spec-num_pins = ARRAY_SIZE(stac927x_pin_nids);
spec-pin_nids = stac927x_pin_nids;
@@ -5790,6 +5798,7 @@ static int patch_stac9205(struct hda_codec *codec)
return -ENOMEM;
 
codec-spec = spec;
+   spec-linear_tone_beep = 1;
spec-num_pins = ARRAY_SIZE(stac9205_pin_nids);
spec-pin_nids = stac9205_pin_nids;
spec-board_config = snd_hda_check_board_config(codec, STAC_9205_MODELS,
@@ -5945,6 +5954,7 @@ static int patch_stac9872(struct hda_codec *codec)
if 

Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-08 Thread Matthew Wakeling

On Sun, 7 Jun 2009, Josselin Mouette wrote:

Le vendredi 05 juin 2009 à 17:43 +0100, Matthew Wakeling a écrit :

Today I upgraded from Lenny to Squeeze. The console beep no longer works.
Some hideous sound now emerges from the sound card instead. There does not
seem to be any knob to switch this back.


Is pulseaudio running? I guess you can configure this in the sound
preferences.


Pulseaudio isn't even installed. Would that help? I can't see what a sound 
server would have to do with the PC speaker.


If I go to the sound preferences, then I am presented with a window that 
has two tabs. The device selector has only one option HDA Intel (Alsa 
mixer). The first tab is labelled Playback and contains volume 
controls. The second tab is labelled Sound Theme, and contains a page of 
disabled controls. The Preferences button at the bottom merely allows me 
to choose which volume controls appear in the Playback tab.


Matthew

--
Richards' Laws of Data Security:
1. Don't buy a computer.
2. If you must buy a computer, don't turn it on.

Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-08 Thread Josselin Mouette
Le lundi 08 juin 2009 à 12:39 +0100, Matthew Wakeling a écrit :
 Pulseaudio isn't even installed. Would that help? I can't see what a sound 
 server would have to do with the PC speaker.

I don’t think this would change anything. ISTR this issue now, and it
might be caused by the kernel or X. Does it happen as well in a console
login?

My personal advice would be to replace the ignominious audible bell by a
visible bell, by changing the /apps/metacity/general/audible_bell
and /apps/metacity/general/visible_bell GConf keys.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling


signature.asc
Description: Ceci est une partie de message numériquement signée


Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-08 Thread Matthew Wakeling

On Mon, 8 Jun 2009, Josselin Mouette wrote:

I don’t think this would change anything. ISTR this issue now, and it
might be caused by the kernel or X. Does it happen as well in a console
login?


After doing a little bit of rebooting, it seems that it is the kernel that 
is redirecting the sound to the sound card. I'll file a bug there. Feel 
free to close this one.



My personal advice


Thanks, but I can't stand visible bell.

Matthew

--
Those who do not understand Unix are condemned to reinvent it, poorly.
   -- Henry Spencer

Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-08 Thread Josselin Mouette
reassign 532005 linux-2.6 2.6.29-5
thanks

Le lundi 08 juin 2009 à 14:31 +0100, Matthew Wakeling a écrit :
 After doing a little bit of rebooting, it seems that it is the kernel that 
 is redirecting the sound to the sound card. I'll file a bug there. Feel 
 free to close this one.

Let’s just reassign.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling


signature.asc
Description: Ceci est une partie de message numériquement signée


Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-08 Thread Matthew Wakeling

On Mon, 8 Jun 2009, Josselin Mouette wrote:

Le lundi 08 juin 2009 à 14:31 +0100, Matthew Wakeling a écrit :

After doing a little bit of rebooting, it seems that it is the kernel that
is redirecting the sound to the sound card. I'll file a bug there. Feel
free to close this one.


Let’s just reassign.


Having had a look over the kernel bugs, it appears that this bug is a 
duplicate of #520232.


I'll try blacklisting the pcspkr module.

Matthew

--
The problem with defending the purity of the English language is that
English is about as pure as a cribhouse whore. We don't just borrow words;
on occasion, English has pursued other languages down alleyways to beat
them unconscious and rifle their pockets for new vocabulary. - James Nicoll

Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-08 Thread Matthew Wakeling

On Mon, 8 Jun 2009, Matthew Wakeling wrote:
Having had a look over the kernel bugs, it appears that this bug is a 
duplicate of #520232.


Okay, scratch that.


I'll try blacklisting the pcspkr module.


Just tried blacklisting the pcspkr module and rebooting, and the same 
problem existed. I then did a modprobe pcspkr, and suddenly the PC speaker 
worked properly again. This looks like it is an order of loading issue. 
When the pcspkr module is loaded last, it works, but if it is loaded 
early, it doesn't.


This is on linux-image-2.6.29-2-amd64

Matthew

--
If you let your happiness depend upon how somebody else feels about you,
now you have to control how somebody else feels about you. -- Abraham Hicks



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-07 Thread Josselin Mouette
Le vendredi 05 juin 2009 à 17:43 +0100, Matthew Wakeling a écrit :
 Today I upgraded from Lenny to Squeeze. The console beep no longer works.
 Some hideous sound now emerges from the sound card instead. There does not
 seem to be any knob to switch this back.

Is pulseaudio running? I guess you can configure this in the sound
preferences.

-- 
 .''`.  Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `- future understand things”  -- Jörg Schilling


signature.asc
Description: Ceci est une partie de message numériquement signée


Bug#532005: gnome: Bell beep on PC speaker no longer works

2009-06-05 Thread Matthew Wakeling

Package: gnome
Version: 1:2.24.3~2
Severity: important


Today I upgraded from Lenny to Squeeze. The console beep no longer works.
Some hideous sound now emerges from the sound card instead. There does not
seem to be any knob to switch this back. In any case, changing the behaviour
behind the user's back is a nono.

This applies to the beep command, echoing CTRL-G to a terminal, and all other
terminal beeps.

I would welcome any suggestions on how to return this to the previous operation.

No idea what package broke this, so I'm filing against gnome.

Matthew

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome depends on:
ii  arj   3.10.22-6  archiver for .arj files
ii  avahi-daemon  0.6.25-1   Avahi mDNS/DNS-SD daemon
ii  bluez-gnome   1.8-1  Bluetooth utilities for GNOME
ii  epiphany-extensions   2.26.1-1   Extensions for Epiphany web browse
ii  evolution-exchange2.26.1-2   Exchange plugin for the Evolution
ii  evolution-plugins 2.26.2-2   standard plugins for Evolution
ii  evolution-webcal  2.24.0-1   webcal: URL handler for GNOME and
ii  gdm-themes0.6.2  Themes for the GNOME Display Manag
ii  gedit-plugins 2.26.1-1   set of plugins for gedit
ii  gnome-app-install 0.5.24-1   GNOME Application Installer
ii  gnome-desktop-environment 1:2.24.3~2 The GNOME Desktop Environment
ii  gnome-games   1:2.24.3-1 games for the GNOME desktop
ii  gnome-themes-extras   2.22.0-3   extra themes for the GNOME desktop
ii  gstreamer0.10-ffmpeg  0.10.7-1   FFmpeg plugin for GStreamer
ii  gstreamer0.10-plugins-ugly0.10.11-1  GStreamer plugins from the ugly
ii  libpam-gnome-keyring  2.26.1-1   PAM module to unlock the GNOME key
ii  rhythmbox 0.12.1-1   music player and organizer for GNO
ii  serpentine0.9-6  An application for creating audio
ii  swfdec-mozilla0.8.2-1Mozilla plugin for SWF files (Macr
ii  synaptic  0.62.5+b1  Graphical package manager
ii  system-config-printer 1.0.0-5graphical interface to configure t
ii  totem-mozilla 2.26.2-1   Totem Mozilla plugin
ii  transmission-gtk  1.61-2 lightweight BitTorrent client (gra

Versions of packages gnome recommends:
ii  epiphany-extensions-more 2.26.0  Collection of third-party extensio
pn  gdebinone  (no description available)
pn  gnome-games-extra-data   none  (no description available)
pn  gnome-office none  (no description available)
ii  gparted  0.4.5-1 GNOME partition editor
ii  gthumb   3:2.10.11-1 an image viewer and browser
ii  hal-cups-utils   0.6.16-3Utilities to detect and configure
ii  hardinfo 0.5c-1  Displays system information
ii  liferea  1.4.27-1feed aggregator for GNOME
ii  menu-xdg 0.4 freedesktop.org menu compliant win
ii  network-manager-gnome0.7.1-1 network management framework (GNOM
pn  tomboy   none  (no description available)
ii  tsclient 0.150-1 front-end for viewing of remote de
ii  update-notifier  0.70.7.debian-5 Daemon which notifies about packag

Versions of packages gnome suggests:
pn  gnome-dbg none (no description available)
ii  openoffice.org-evolution  1:3.1.0-4  full-featured office productivity
ii  openoffice.org-gnome  1:3.1.0-4  full-featured office productivity

Versions of packages gnome-desktop-environment depends on:
ii  alacarte  0.12.1-1   easy GNOME menu editing tool
ii  cheese2.24.3-2   A tool to take pictures and videos
ii  deskbar-apple 2.24.3-1+b2universal search and navigation ba
ii  desktop-base  5.0.5  common files for the Debian Deskto
ii  dmz-cursor-th 0.4.1  Style neutral, scalable cursor the
ii  ekiga 3.2.1~git20090515.9d0263-1 H.323 and SIP compatible VoIP clie
ii  empathy   2.26.2-1   High-level library and user-interf
ii  epiphany-brow 2.26.1-1   Intuitive web browser - dummy pack
ii  epiphany-geck 2.26.1-1   Intuitive GNOME web browser - Geck
ii  evince2.26.1-2   Document (postscript, pdf) viewer
ii  evolution 2.26.2-2   groupware suite with mail client a
ii  evolution-dat 2.26.2-1   evolution database backend server