diff options
author | Jaroslav Kysela <perex@perex.cz> | 2009-11-13 12:41:52 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-16 05:35:10 -0500 |
commit | 2dca0bba70ce3c233be152e384580c134935332d (patch) | |
tree | bd82dd7b15104f8ea2fa682a444099f7eb23443f /sound/pci/hda/Kconfig | |
parent | 5f81669750504b1e7e00acde5068d972af466f29 (diff) |
ALSA: hda - add beep_mode module parameter
The beep_mode parameter for snd-hda-intel module allows to choose among
different digital beep device registation to the input layer.
0 = do not register to the input layer
1 = register to the input layer all time
2 = use "Beep Switch" control exported to user space mixer applications
Also, introduce CONFIG_SND_HDA_INPUT_BEEP_MODE for default value.
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/Kconfig')
-rw-r--r-- | sound/pci/hda/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index 55545e0818b5..25ae10e16f59 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig | |||
@@ -38,6 +38,17 @@ config SND_HDA_INPUT_BEEP | |||
38 | Say Y here to build a digital beep interface for HD-audio | 38 | Say Y here to build a digital beep interface for HD-audio |
39 | driver. This interface is used to generate digital beeps. | 39 | driver. This interface is used to generate digital beeps. |
40 | 40 | ||
41 | config SND_HDA_INPUT_BEEP_MODE | ||
42 | int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)" | ||
43 | depends on SND_HDA_INPUT_BEEP=y | ||
44 | default "1" | ||
45 | range 0 2 | ||
46 | help | ||
47 | Set 0 to disable the digital beep interface for HD-audio by default. | ||
48 | Set 1 to always enable the digital beep interface for HD-audio by | ||
49 | default. Set 2 to control the beep device registration to input | ||
50 | layer using a "Beep Switch" in mixer applications. | ||
51 | |||
41 | config SND_HDA_INPUT_JACK | 52 | config SND_HDA_INPUT_JACK |
42 | bool "Support jack plugging notification via input layer" | 53 | bool "Support jack plugging notification via input layer" |
43 | depends on INPUT=y || INPUT=SND_HDA_INTEL | 54 | depends on INPUT=y || INPUT=SND_HDA_INTEL |