aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-07 14:05:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-07 14:05:42 +0000
commit58843a1012d423e70a9bd6bc8e7ecd6dfe48ecf2 (patch)
tree68ffeab78ee1edfeafcea4e912c03edc12f3b52a
parentbbc7a4c8c72e105f4d1d43007e821534e34de1bc (diff)
downloadupstream-58843a1012d423e70a9bd6bc8e7ecd6dfe48ecf2.tar.gz
upstream-58843a1012d423e70a9bd6bc8e7ecd6dfe48ecf2.tar.bz2
upstream-58843a1012d423e70a9bd6bc8e7ecd6dfe48ecf2.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15684 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk17
-rw-r--r--target/linux/generic-2.6/config-2.6.212
-rw-r--r--target/linux/generic-2.6/config-2.6.232
-rw-r--r--target/linux/generic-2.6/config-2.6.252
-rw-r--r--target/linux/generic-2.6/config-2.6.272
-rw-r--r--target/linux/generic-2.6/config-2.6.282
-rw-r--r--target/linux/generic-2.6/config-2.6.292
-rw-r--r--target/linux/generic-2.6/config-2.6.302
8 files changed, 24 insertions, 7 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 9ea0f1885d..fcac951cac 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 c4757e6242..ddb549aab0 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 4416450367..cd9298b79b 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 608ad0a563..3acb84320b 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 1d41c3e37a..1ca04cc479 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 0bad55758e..1a193fb78a 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 a324ef54b3..8b3b1c5206 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 e367eb778f..8a41c71c0a 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