• J
    ALSA: hda_intel: Digital PC Beep - change behaviour for input layer · 123c07ae
    Jaroslav Kysela 提交于
    Original implementation was keeping registered input device for SND_BEEP
    and SND_TONE events all time. This patch changes this behaviour:
    If digital PC Beep is turned off using universal control switch,
    the input device is unregistered.
    
    Explanation: The kd_mksound() send SND_BEEP and SND_TONE only to last
    registered device acceping those events. It means that the HDA Intel
    audio driver blocks also the internal PC Speaker device (pcspkr.c
    driver) even if the HDA Beep is muted. The user can easy disable
    all beeps using 'setterm -blength 0' or 'xset b off' command.
    Signed-off-by: NJaroslav Kysela <perex@perex.cz>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    123c07ae
hda_beep.c 5.9 KB