Sorry for the late reply.
On Mon, Nov 17, 2008 at 17:53:34PM +0100, Takashi Iwai wrote:
Thanks for the patch. Do these beep widgets have the mute amp bits? If not, we'd likely need to add mute switches as well (otherwise it gets too annoying) controlling on software. Check patch_sigmatel.c in the latest master branch or topic/fix/hda branch of sound git tree: git://git.kernel.org/pub/scm/linux/kernel/tiwai/sound-2.6.git
Every codec can mute beep.
Another concern is that I don't want to add the digital beep control unconditionally. On many devices, the beep is implemented in the old good analog way. We'd need to add the check of analog/digital beep in a new spec field and in the preset table not to duplicate beep controls on these.
I don't think such a check is needed. I presume that analog beep in is disabled while digital beep generetor is being used. Furthermore, keyboard bell rings only one device even if both HDA Digital PCBeep and PC Speaker have been registered.