[alsa-devel] PC Beeps not working with HDA Intel module

Takashi Iwai tiwai at suse.de
Mon Jul 5 08:11:40 CEST 2010

At Sat, 26 Jun 2010 13:25:04 +0200,
Shérab wrote:
> Dear all,
> The problem is on a computer with an HDA Intel sound card, Intel G45
> DEVCTG chip and appears will all version s of the kernel.
> Running e.g.
> beep 440
> produces a beep whose audible frequency is very low, definitely not 440
> Hz.
> However, it is worth notiing that grub is able to produce a beep of the
> right frequency at boot time.
> Can this problem be fixed ?

There are a few ways.

If you build your kernel with SND_HDA_INPUT_BEEP_MODE=2, or set the
option of snd-hda-intel module beep_mode=2, you'll be able to switch
to the native beep from HD-audio codec digital beep via muting "Beep"
mixer switch.

Or, if the value above is 0, it'll be always the system-native beep.
This can be done also via writing sysfs codec hint, as documented in

Alternatively, you can reload pcspkr module so that it grabs the beep
output again over snd-hda-intel, "modprobe -r pcspkr; modprobe pcspkr"


More information about the Alsa-devel mailing list