public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PC speaker beeps in 2.6.30?
@ 2009-06-15 14:41 Michael Tokarev
  2009-06-15 16:57 ` Frans Pop
  2009-06-26  6:03 ` Michael Tokarev
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Tokarev @ 2009-06-15 14:41 UTC (permalink / raw)
  To: Linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-15 14:41 PC speaker beeps in 2.6.30? Michael Tokarev
@ 2009-06-15 16:57 ` Frans Pop
  2009-06-15 17:39   ` Ken Witherow
  2009-06-15 18:00   ` Michael Tokarev
  2009-06-26  6:03 ` Michael Tokarev
  1 sibling, 2 replies; 9+ messages in thread
From: Frans Pop @ 2009-06-15 16:57 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-15 16:57 ` Frans Pop
@ 2009-06-15 17:39   ` Ken Witherow
  2009-06-15 18:22     ` Michael Tokarev
  2009-06-15 18:00   ` Michael Tokarev
  1 sibling, 1 reply; 9+ messages in thread
From: Ken Witherow @ 2009-06-15 17:39 UTC (permalink / raw)
  To: Frans Pop; +Cc: Michael Tokarev, linux-kernel

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-15 16:57 ` Frans Pop
  2009-06-15 17:39   ` Ken Witherow
@ 2009-06-15 18:00   ` Michael Tokarev
  2009-06-15 18:10     ` Michael Tokarev
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Tokarev @ 2009-06-15 18:00 UTC (permalink / raw)
  To: Frans Pop; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-15 18:00   ` Michael Tokarev
@ 2009-06-15 18:10     ` Michael Tokarev
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Tokarev @ 2009-06-15 18:10 UTC (permalink / raw)
  To: Frans Pop; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-15 17:39   ` Ken Witherow
@ 2009-06-15 18:22     ` Michael Tokarev
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Tokarev @ 2009-06-15 18:22 UTC (permalink / raw)
  To: Ken Witherow; +Cc: Frans Pop, linux-kernel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-15 14:41 PC speaker beeps in 2.6.30? Michael Tokarev
  2009-06-15 16:57 ` Frans Pop
@ 2009-06-26  6:03 ` Michael Tokarev
  2009-06-29 12:47   ` Frans Pop
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Tokarev @ 2009-06-26  6:03 UTC (permalink / raw)
  To: Linux-kernel; +Cc: linux-input, alsa-devel

[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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-26  6:03 ` Michael Tokarev
@ 2009-06-29 12:47   ` Frans Pop
  2009-06-29 14:29     ` Michael Tokarev
  0 siblings, 1 reply; 9+ messages in thread
From: Frans Pop @ 2009-06-29 12:47 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: linux-kernel, linux-input, alsa-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: PC speaker beeps in 2.6.30?
  2009-06-29 12:47   ` Frans Pop
@ 2009-06-29 14:29     ` Michael Tokarev
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Tokarev @ 2009-06-29 14:29 UTC (permalink / raw)
  To: Frans Pop; +Cc: linux-kernel, linux-input, alsa-devel

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-29 14:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15 14:41 PC speaker beeps in 2.6.30? Michael Tokarev
2009-06-15 16:57 ` Frans Pop
2009-06-15 17:39   ` Ken Witherow
2009-06-15 18:22     ` Michael Tokarev
2009-06-15 18:00   ` Michael Tokarev
2009-06-15 18:10     ` Michael Tokarev
2009-06-26  6:03 ` Michael Tokarev
2009-06-29 12:47   ` Frans Pop
2009-06-29 14:29     ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox