[ltp] Re: HDA-Intel and Beeps

Elias Oltmanns linux-thinkpad@linux-thinkpad.org
Wed, 25 Nov 2009 20:52:22 +0100


kionez <kionez@anche.no> wrote:
> Hi all, there is the results of our reports:
>
> http://kionez.org/thinkpad_beep/index.php
[...]
> Is there anyone subscribed to alsa-devel mailing lists?
>
> I'm not so able to write in english, but if no-one can submit a
> mail\request\bug to ALSA-developers I'll do it when I have some time (in
> the weekend, i hope..), we have to write a clear and understendable mail.

Have the alsa developers been notified or have they even responded yet?
If not, I've got something that might be of interest to you as well as
them. Finally, I started configuring my new X200s today. Remembering the
discussion about beeps on this list, I checked and did, indeed, observe
the same problem, i.e. no beeps generated through pcspkr or snd_pcsp,
respectively.

The simple workaround, it turned out, was to make sure that the
power_save parameter of the snd_hda_intel module was set to 0. On my
system I had to comment out the following line in
/etc/modprobe.d/asla-base.conf:

options snd-hda-intel power_save=10 power_save_controller=N

The correct solution, of course, would be for the alsa developers to
find a way that the sound card is woken up when pcspkr / snd_pcsp wants
to indulge in some beeping. I have verified that this works exactly as
expected when playing sounds through alsa by means of aplay, for
example.

Hope that helps,

Elias