From: John Crispin Date: Thu, 2 Apr 2015 14:31:02 +0000 (+0000) Subject: kernel: add uinput module X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=ec91d8a6540cbce79ab181bf152e1e392a62ca18;p=15.05%2Fopenwrt.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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45231 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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))