2009-06-15 14:41:51

by Michael Tokarev

[permalink] [raw]
Subject: PC speaker beeps in 2.6.30?

Anyone know what happened with PC speaker in 2.6.30?
Basically, it does not work anymore here, with the
config which is very similar to the one used for
previous 2.6.29 kernel (where PC speaker worked).
At least I don't see any relevant differences and
the (seemengly) relevant symbols -- which are
INPUT_PCSPKR and PCSPKR_PLATFORM -- are both set
to 'y' for both 2.6.29 and 2.6.30.

Help? :)

Thanks.

/mjt


2009-06-15 16:57:43

by Frans Pop

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

Michael Tokarev wrote:
> Anyone know what happened with PC speaker in 2.6.30?
> Basically, it does not work anymore here, with the
> config which is very similar to the one used for
> previous 2.6.29 kernel (where PC speaker worked).
> At least I don't see any relevant differences and
> the (seemengly) relevant symbols -- which are
> INPUT_PCSPKR and PCSPKR_PLATFORM -- are both set
> to 'y' for both 2.6.29 and 2.6.30.

For me the system beep has been replaced by a beep in ALSA with .30.

Do you have soundcard that uses HDA? Is CONFIG_SND_HDA_INPUT_BEEP set?
Does alsamixer show a "beep" control? Is that not muted and does it have
volume set?

Cheers,
FJP

2009-06-15 17:51:33

by Ken Witherow

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

On Mon, 15 Jun 2009, Frans Pop wrote:

> For me the system beep has been replaced by a beep in ALSA with .30.
>
> Do you have soundcard that uses HDA? Is CONFIG_SND_HDA_INPUT_BEEP set?
> Does alsamixer show a "beep" control? Is that not muted and does it have
> volume set?

I had this exact same problem. I ran make oldconfig and was never prompted
for the new HDA config options. I could be wrong, but I can't remember
make oldconfig behaving this way in the past (or maybe it resulted in
changes that didn't have any noticeable effect). Having to reconfigure
the kernel over not being prompted for a new config option which changed
established behavior was annoying to say the least.

2009-06-15 18:03:39

by Michael Tokarev

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

Frans Pop wrote:
> Michael Tokarev wrote:
>> Anyone know what happened with PC speaker in 2.6.30?
>> Basically, it does not work anymore here, with the
>> config which is very similar to the one used for
>> previous 2.6.29 kernel (where PC speaker worked).
>> At least I don't see any relevant differences and
>> the (seemengly) relevant symbols -- which are
>> INPUT_PCSPKR and PCSPKR_PLATFORM -- are both set
>> to 'y' for both 2.6.29 and 2.6.30.
>
> For me the system beep has been replaced by a beep in ALSA with .30.

Hmm...

> Do you have soundcard that uses HDA? Is CONFIG_SND_HDA_INPUT_BEEP set?
> Does alsamixer show a "beep" control? Is that not muted and does it have
> volume set?

..Yes there is such a control and yes it is muted. When un-muting it I do
hear an ugly/scary beep from my soundcard (from the speakers). But I don't
have anything connected to the soundcard on any of my servers.

On a similar motherboard with 2.6.29 I've a "PC Speak" control which does
not do anything, at least not visible (or audible).

But I'd rather get my old good pc speaker back. One thing is the sound
card with speakers which are only sometimes on and which produces very
very bad sound when the 'beeper' control is turned on, and another is the
old good PC internal speaker with a good "beep" sound.

Thanks!

/mjt

2009-06-15 18:10:32

by Michael Tokarev

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

Michael Tokarev wrote:
> Frans Pop wrote:
>> Michael Tokarev wrote:
>>> Anyone know what happened with PC speaker in 2.6.30?
>>> Basically, it does not work anymore here, with the
>>> config which is very similar to the one used for
>>> previous 2.6.29 kernel (where PC speaker worked).
>>> At least I don't see any relevant differences and
>>> the (seemengly) relevant symbols -- which are
>>> INPUT_PCSPKR and PCSPKR_PLATFORM -- are both set
>>> to 'y' for both 2.6.29 and 2.6.30.
>>
>> For me the system beep has been replaced by a beep in ALSA with .30.
>
> Hmm...
>
>> Do you have soundcard that uses HDA? Is CONFIG_SND_HDA_INPUT_BEEP set?
>> Does alsamixer show a "beep" control? Is that not muted and does it
>> have volume set?
>
> ..Yes there is such a control and yes it is muted. When un-muting it I do
> hear an ugly/scary beep from my soundcard (from the speakers). But I don't
> have anything connected to the soundcard on any of my servers.

And this same config option (CONFIG_SND_HDA_INPUT_BEEP) is present in
2.6.29 kernel. Also set to y here.

> On a similar motherboard with 2.6.29 I've a "PC Speak" control which does
> not do anything, at least not visible (or audible).
>
> But I'd rather get my old good pc speaker back. One thing is the sound
> card with speakers which are only sometimes on and which produces very
> very bad sound when the 'beeper' control is turned on, and another is the
> old good PC internal speaker with a good "beep" sound.
>
> Thanks!
>
> /mjt

2009-06-15 18:23:02

by Michael Tokarev

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

Ken Witherow wrote:
> On Mon, 15 Jun 2009, Frans Pop wrote:
>
>> For me the system beep has been replaced by a beep in ALSA with .30.
>>
>> Do you have soundcard that uses HDA? Is CONFIG_SND_HDA_INPUT_BEEP set?
>> Does alsamixer show a "beep" control? Is that not muted and does it have
>> volume set?
>
> I had this exact same problem. I ran make oldconfig and was never
> prompted for the new HDA config options. I could be wrong, but I can't
> remember make oldconfig behaving this way in the past (or maybe it
> resulted in changes that didn't have any noticeable effect). Having to
> reconfigure the kernel over not being prompted for a new config option
> which changed established behavior was annoying to say the least.

As I noted in my other email, this option (CONFIG_SND_HDA_INPUT_BEEP)
is not new, it is present in 2.6.29 too. So it's a behavor change which
is not "backed up" by a config option -- there's no option to prompt
for.

/mjt

2009-06-26 06:04:08

by Michael Tokarev

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

[Adding some more Cc's...]

Am I the only concerned about this? My 2.6.30 is still
silent w.r.t. old good PC speaker beeps, and I wasn't
able to make it to produce any sound. Yes, as pointed
out by others there is a control now, in alsa, and I
can hear ugly and scary beeps from my stereo speakers
(when they're turned on and when the control is un-muted).
But that's.. not a solution/answer to the original
question... ;)

Thanks!

Michael Tokarev wrote at Mon, 15 Jun 2009 18:41:42 +0400:
> Anyone know what happened with PC speaker in 2.6.30?
> Basically, it does not work anymore here, with the
> config which is very similar to the one used for
> previous 2.6.29 kernel (where PC speaker worked).
> At least I don't see any relevant differences and
> the (seemengly) relevant symbols -- which are
> INPUT_PCSPKR and PCSPKR_PLATFORM -- are both set
> to 'y' for both 2.6.29 and 2.6.30.
>
> Help? :)
>
> Thanks.
>
> /mjt

2009-06-29 12:47:18

by Frans Pop

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

Michael Tokarev wrote:
> Am I the only concerned about this? My 2.6.30 is still
> silent w.r.t. old good PC speaker beeps, and I wasn't
> able to make it to produce any sound. Yes, as pointed
> out by others there is a control now, in alsa,

Did you actually try compiling a kernel without CONFIG_SND_HDA_INPUT_BEEP
set? If you do, does your PC speaker work again?

If it does work again, I don't think there is a bug, at least not in the
fact that the old PC speaker beep no longer works: if you have a HDA
soundcard in the system _and_ the driver is loaded _and_
CONFIG_SND_HDA_INPUT_BEEP is set, then it seems logical to me that that
takes over system beeps.
The fact that the config option also existed in 2.6.29 but did not work
the same seems a minor issue to me.

If your PC speaker still does not work when CONFIG_SND_HDA_INPUT_BEEP is
not set, then there is something to look into.

> and I can hear ugly and scary beeps from my stereo speakers
> (when they're turned on and when the control is un-muted).

This may be a separate issue. On my system the beep sounds "normal". It
has been changed in 2.6.31-rc1 to a slightly lower sound.

What exactly do you mean by "ugly and scary"? I have the volume for the
beep set to about 50% because otherwise it is just too loud. Have you
tried that?

If it really does sound bad, maybe the ALSA developers could look into
that, but you will have to describe it better (or maybe make a
recording?).

Cheers,
FJP

2009-06-29 14:29:39

by Michael Tokarev

[permalink] [raw]
Subject: Re: PC speaker beeps in 2.6.30?

Frans Pop wrote:
> Michael Tokarev wrote:
>> Am I the only concerned about this? My 2.6.30 is still
>> silent w.r.t. old good PC speaker beeps, and I wasn't
>> able to make it to produce any sound. Yes, as pointed
>> out by others there is a control now, in alsa,
>
> Did you actually try compiling a kernel without CONFIG_SND_HDA_INPUT_BEEP
> set? If you do, does your PC speaker work again?

Yes it works. Even with CONFIG_SND_HDA_INPUT_BEEP set,
but without the module loaded. See all the details at
http://bugzilla.kernel.org/show_bug.cgi?id=13651

> If it does work again, I don't think there is a bug, at least not in the
> fact that the old PC speaker beep no longer works: if you have a HDA
> soundcard in the system _and_ the driver is loaded _and_
> CONFIG_SND_HDA_INPUT_BEEP is set, then it seems logical to me that that
> takes over system beeps.
> The fact that the config option also existed in 2.6.29 but did not work
> the same seems a minor issue to me.

Original issue was that I didn't know what to do.

[]
> If it really does sound bad, maybe the ALSA developers could look into
> that, but you will have to describe it better (or maybe make a
> recording?).

There was another, unrelated bug, fixed for 2.6.31-tobe.

/mjt