diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-07 14:05:42 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-07 14:05:42 +0000 |
commit | e5aa5ddc36b6beee83aac1fb70cc3396e6adb43e (patch) | |
tree | c16e7aae964d6d20fb2f9f176f5966ad434096a3 | |
parent | 7da25b844cdf1944755a2ceb95543184776fa8e5 (diff) | |
download | mtk-20170518-e5aa5ddc36b6beee83aac1fb70cc3396e6adb43e.zip mtk-20170518-e5aa5ddc36b6beee83aac1fb70cc3396e6adb43e.tar.gz mtk-20170518-e5aa5ddc36b6beee83aac1fb70cc3396e6adb43e.tar.bz2 |
Add support for pc speaker PC speaker could be very useful on platforms which implement it. One could easily use the speaker to produce a sound where its pitch or duration varies according to signal strength or SNR of a wireless link.
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15684
-rw-r--r-- | package/kernel/modules/other.mk | 17 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.21 | 2 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.23 | 2 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.25 | 2 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.27 | 2 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.28 | 2 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.29 | 2 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-2.6.30 | 2 |
8 files changed, 24 insertions, 7 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 9ea0f18..fcac951 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -103,6 +103,23 @@ endef $(eval $(call KernelPackage,lp)) +define KernelPackage/pcspkr + SUBMENU:=$(OTHER_MENU) + TITLE:=PC speaker support + DEPENDS:=@LINUX_2_6 + KCONFIG:=CONFIG_INPUT_PCSPKR + FILES:= \ + $(LINUX_DIR)/drivers/input/misc/pcspkr.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50, \ + pcspkr \ + ) +endef + +define KernelPackage/pcspkr/description + This enables sounds (tones) through the pc speaker +endef + +$(eval $(call KernelPackage,pcspkr)) define KernelPackage/pcmcia-core SUBMENU:=$(OTHER_MENU) diff --git a/target/linux/generic-2.6/config-2.6.21 b/target/linux/generic-2.6/config-2.6.21 index c4757e6..ddb549a 100644 --- a/target/linux/generic-2.6/config-2.6.21 +++ b/target/linux/generic-2.6/config-2.6.21 @@ -446,7 +446,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set diff --git a/target/linux/generic-2.6/config-2.6.23 b/target/linux/generic-2.6/config-2.6.23 index 4416450..cd9298b 100644 --- a/target/linux/generic-2.6/config-2.6.23 +++ b/target/linux/generic-2.6/config-2.6.23 @@ -495,7 +495,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set diff --git a/target/linux/generic-2.6/config-2.6.25 b/target/linux/generic-2.6/config-2.6.25 index 608ad0a..3acb843 100644 --- a/target/linux/generic-2.6/config-2.6.25 +++ b/target/linux/generic-2.6/config-2.6.25 @@ -523,7 +523,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set diff --git a/target/linux/generic-2.6/config-2.6.27 b/target/linux/generic-2.6/config-2.6.27 index 1d41c3e..1ca04cc 100644 --- a/target/linux/generic-2.6/config-2.6.27 +++ b/target/linux/generic-2.6/config-2.6.27 @@ -582,7 +582,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set diff --git a/target/linux/generic-2.6/config-2.6.28 b/target/linux/generic-2.6/config-2.6.28 index 0bad557..1a193fb 100644 --- a/target/linux/generic-2.6/config-2.6.28 +++ b/target/linux/generic-2.6/config-2.6.28 @@ -628,7 +628,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set diff --git a/target/linux/generic-2.6/config-2.6.29 b/target/linux/generic-2.6/config-2.6.29 index a324ef5..8b3b1c5 100644 --- a/target/linux/generic-2.6/config-2.6.29 +++ b/target/linux/generic-2.6/config-2.6.29 @@ -641,7 +641,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set diff --git a/target/linux/generic-2.6/config-2.6.30 b/target/linux/generic-2.6/config-2.6.30 index e367eb7..8a41c71 100644 --- a/target/linux/generic-2.6/config-2.6.30 +++ b/target/linux/generic-2.6/config-2.6.30 @@ -661,7 +661,7 @@ CONFIG_INITRAMFS_COMPRESSION_NONE=y # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_KEYSPAN_REMOTE is not set -# CONFIG_INPUT_MISC is not set +CONFIG_INPUT_MISC=y # CONFIG_INPUT_MOUSEDEV is not set # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_PCSPKR is not set |