[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#620652: linux-image-2.6.38-2-686-bigmem: fails to disable error beep



On Wed, 06 Apr 2011 09:40:22 +0200 henry atting wrote:

> Jonathan Nieder <jrnieder@gmail.com> writes:
> 
> > henry atting wrote:
> >> Jonathan Nieder <jrnieder@gmail.com> writes:
> >
> >>> 	# modprobe -r snd_hda_intel
> >>> 	# modprobe snd_hda_intel beep_mode=0
> >>>
> >>> If that works, maybe 2 ("mutable using the software mixer") would be a
> >>> good default for SND_HDA_INPUT_BEEP_MODE.
> >>
> >> This works indeed. Becaus I could not unload it (got a message that it
> >> is still in use) I put these two lines in /etc/rc.local... and the beep
> >> is gone. 
> >
> > Thanks.  One final test: if you use beep_mode=2 (instead of beep_mode=0)
> > and use your usual mixing app, can you cause the beep to go away (i.e.,
> > is there a control for that)?
> >
> > Depending on the answer, I think we should:
> >
> >  * use beep_mode=2 and find some way to advertise (release notes?)
> >    that the mixer can be used to turn the beep on and off, or
> >
> >  * keep using beep_mode=1 and find some way to advertise that adding
> >    a .conf file to /etc/modprobe.d with
> >
> > 	options snd_hda_intel beep_mode=0
> >
> >    will turn the beep off.  And if there is some sysfs way to change
> >    the setting at runtime, that would be worth advertising, too.
> >
> > Meanwhile I also think it would be a good idea to turn pc speaker
> > beeps in general off by default, but that's a separate story (and
> > probably should be filed as a separate bug).
> 
> Okay, as I could not find a control for the beep in alsamixer I
> installed gnome-alsamixer and, yes, there is a control for the beep. 
> That way I can turn the beep off.

Hi, I've just upgraded from linux-image-2.6.32-5-amd64 (version
2.6.32-31) to linux-image-2.6.38-2-amd64 (version 2.6.38-3) and I think
I see the the problem reported by henry atting.

I am also using an Intel integrated sound card (with snd_hda_intel).

To be more precise, with the default configuration (no change in
modprobe configuration) I had the following behavior with the previous
kernel (linux-image-2.6.32-5-amd64 version 2.6.32-31): the beeps used
to be redirected from the PC-speaker to the sound card, so that they
were not audible when the sound speakers were turned off; when using
headphones connected to the sound speakers, the beeps were only audible
through the headphones (this is especially important in a work
environment or office with a number of other co-workers which are not
be disturbed by your beeps).

Now with the current kernel (linux-image-2.6.38-2-amd64 version
2.6.38-3), again with the default configuration, I hear that the beeps
are coming from *both* the PC-speaker and the sound card, which means
that turning the sound speakers off leaves the beeps coming from the
PC-speaker audible and using headphones does not prevent the disturbing
sounds for co-workers.

I tried the following:

# modprobe -r snd_hda_intel
# modprobe snd_hda_intel beep_mode=0

No beep from the sound card, but beeps coming from the PC-speaker!

# modprobe -r snd_hda_intel
# modprobe snd_hda_intel beep_mode=1

Beeps from both the sound card and the PC-speaker!

# modprobe -r snd_hda_intel
# modprobe snd_hda_intel beep_mode=2

Beeps from both the sound card and the PC-speaker! Only the beeps
coming from the sound card are mutable with alsamixer.

Is there a way to obtain the previous behavior (beeps redirected to the
sound card, and configurable through alsamixer, no beep from the
PC-speaker) with the current kernel?

Please someone help me!
Thanks for your time.


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpWR5fB4X2H_.pgp
Description: PGP signature


Reply to: