Skip to contentSkip to conversation

PC Beeps not working with HDA Intel module

DISCUSSION Shérab 2 participants 2 messages Jun 26, 2010 – Jul 5, 2010

lore
Share & tools
lore

Shérab

author
#0 lore raw

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 ?

Should you need any additional bit of information or testing, please ask.

Many thanks in advance for your help,
Shérab.

#1 lore raw

At Sat, 26 Jun 2010 13:25:04 +0200,

Quoted 11 lines · Shérab

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.

Quoted 4 lines

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 HD-Audio.txt.

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

Takashi
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel