[ltp] Re: HDA-Intel and Beeps

Elias Oltmanns linux-thinkpad@linux-thinkpad.org
Thu, 26 Nov 2009 08:01:23 +0100


Kevin Locke <kevin@kevinlocke.name> wrote:
> On Wed, 2009-11-25 at 20:52 +0100, Elias Oltmanns wrote:
>> 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.
>
> Kudos on figuring this out.  Very interesting.  Testing this solution
> on my T60p didn't work, unfortunately, but the root of the problem may
> still be related.  Looks like the alsa-base.conf currently shipped in
> Debian testing doesn't set power_save (and adding a line to set it to
> 0 explicitly had no effect).

There are various places to modify this parameter (including the kernel
config, I think). So, you may want to check

$ cat /sys/module/snd_hda_intel/parameters/power_save

in order to make absolutely sure that this parameter hasn't been
tampered with. If you change this parameter on the fly, it will only
take effect after you have accessed the card through alsa, e.g. by
calling

# alsactl restore

Regards,

Elias