From: John Crispin Date: Thu, 2 Apr 2015 14:31:02 +0000 (+0000) Subject: kernel: add uinput module X-Git-Tag: reboot~3506 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=023a05fe7a2f9f4a90ef385a7366655d3aa26b9e;p=openwrt%2Fstaging%2Flynxis.git kernel: add uinput module This module is needed for bluetooth audio playback with pulseaudio 6 and bluez5. a working guide can be found in the wiki: http://wiki.openwrt.org/wiki/bluetooth.audio (additional packages/modifications are required and submitted to github feeds) tested with: Android mobile (Sony Xperia M) as audio source TI omap BeagleBoard as audio sink Signed-off-by: Dirk Neukirchen SVN-Revision: 45231 --- diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk index b44136b78c..86ff33cb26 100644 --- a/package/kernel/linux/modules/input.mk +++ b/package/kernel/linux/modules/input.mk @@ -205,3 +205,21 @@ define KernelPackage/keyboard-imx/description endef $(eval $(call KernelPackage,keyboard-imx)) + + +define KernelPackage/input-uinput + SUBMENU:=$(INPUT_MODULES_MENU) + TITLE:=user input module + DEPENDS:=+kmod-input-core + KCONFIG:= \ + CONFIG_INPUT_MISC=y \ + CONFIG_INPUT_UINPUT + FILES:=$(LINUX_DIR)/drivers/input/misc/uinput.ko + AUTOLOAD:=$(call AutoProbe,uinput) +endef + +define KernelPackage/input-uinput/description + user input modules needed for bluez +endef + +$(eval $(call KernelPackage,input-uinput))