mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
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
This commit is contained in:
parent
2eba59293a
commit
955b9896b7
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user