clemens fischer wrote: > On Fri-2009/08/07-15:21 Jan Ploski wrote: > >> "modprobe snd_hda_intel" causes my PC speaker beep to become >> redirected to the sound card output (unloading the module brings it >> back to the internal speaker). I would like to get rid of this >> behavior, that is, always keep the internal PC speaker output for >> bell/beeps (partly because I'm unable to reduce the beep volume to an >> acceptable level after redirection). How can I do it? > > This might well be a problem of the newer kernel versions like 2.6.30.4 > with CONFIG_SND_HDA_INPUT_BEEP set in the .config. See > <url:http://bugzilla.kernel.org/show_bug.cgi?id=13651>. > > --- From Takashi Iwai --- > To avoid someone misunderstanding: the beep routed through HD-audio > can also go to the built-in speaker. It's just mixed up with the > normal audio output, and the volume is controlled via ALSA mixer volume > element. > > But, once after it's hooked up to the codec, the beep can't be output > separately to the speaker. It's always with other audio signal to the > same output target. > > Or, on some systems (mostly laptops), the beep is hooked up to the codec > automatically no matter whether you set CONFIG_SND_HDA_INPUT_BEEP once > when the codec chip is initialized. So, the behavior depends pretty > much on the hardware implementation. > --- end --- > > What nobody explained was how to do this "the beep routed through > HD-audio can also go to the built-in speaker". I assume this routing > would have to be done by way of an "asound.conf" or ~/.asoundrc or so. > > Until there's a runtime tunable your only option is to build your own > kernel with this configuration item unset: it is in > > Location: > -> Device Drivers > -> Sound card support (SOUND [=m]) > -> Advanced Linux Sound Architecture (SND [=m]) > -> PCI sound devices (SND_PCI [=y]) > -> Intel HD Audio (SND_HDA_INTEL [=m]) > > It certainly fixed my problem. Hi, Thanks for your reply. I now upgraded from 2.6.28.3, which didn't even have the CONFIG_SND_HDA_INPUT_BEEP option, to 2.6.30.4. The option is unset. However, the beep redirection through the sound card still happens when the module is loaded. Based on Takashi's comments above, it seems that I'm out of luck with this hardware. The only way to avoid becoming deaf is to mute the PC speaker entirely, unload the HDA module and/or buy a sound card which doesn't have this issue. Regards, Jan Ploski ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user