kernel: modules: input: add modules for PS/2 mouse support
Package kernel modules for PS/2 mouse support, mostly to allow using touchpads and trackpoints built-into laptops (many of those are connected using classic i8052-compatible PS/2 I/O). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -246,3 +246,71 @@ define KernelPackage/input-uinput/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-uinput))
|
||||
|
||||
|
||||
define KernelPackage/input-mouse-ps2
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=PS/2 mouse support
|
||||
DEPENDS:=+kmod-i2c-core +kmod-input-core +kmod-input-serio-libps2
|
||||
KCONFIG:= \
|
||||
CONFIG_INPUT_MOUSE=y \
|
||||
CONFIG_MOUSE_PS2 \
|
||||
CONFIG_MOUSE_PS2_ALPS=y \
|
||||
CONFIG_MOUSE_PS2_BYD=y \
|
||||
CONFIG_MOUSE_PS2_LOGIPS2PP=y \
|
||||
CONFIG_MOUSE_PS2_SYNAPTICS=y \
|
||||
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y \
|
||||
CONFIG_MOUSE_PS2_CYPRESS=y \
|
||||
CONFIG_MOUSE_PS2_LIFEBOOK=y \
|
||||
CONFIG_MOUSE_PS2_TRACKPOINT=y \
|
||||
CONFIG_MOUSE_PS2_ELANTECH=y \
|
||||
CONFIG_MOUSE_PS2_ELANTECH_SMBUS=y \
|
||||
CONFIG_MOUSE_PS2_SENTELIC=y \
|
||||
CONFIG_MOUSE_PS2_TOUCHKIT=y \
|
||||
CONFIG_MOUSE_PS2_OLPC=y \
|
||||
CONFIG_MOUSE_PS2_FOCALTECH=y \
|
||||
CONFIG_MOUSE_PS2_VMMOUSE=y
|
||||
FILES:=$(LINUX_DIR)/drivers/input/mouse/psmouse.ko
|
||||
AUTOLOAD:=$(call AutoProbe,psmouse)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-mouse-ps2/description
|
||||
Support for standard 2 or 3-button PS/2 mouse, as well as PS/2
|
||||
mice with wheels and extra buttons, Microsoft, Logitech or Genius
|
||||
compatible, and many touchpads as well.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-mouse-ps2))
|
||||
|
||||
|
||||
define KernelPackage/input-serio
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=Serial I/O support
|
||||
KCONFIG:= CONFIG_SERIO
|
||||
FILES:=$(LINUX_DIR)/drivers/input/serio/serio.ko
|
||||
AUTOLOAD:=$(call AutoProbe,serio,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-serio/description
|
||||
Kernel module to support input device that uses serial I/O to
|
||||
communicate with the system
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-serio))
|
||||
|
||||
|
||||
define KernelPackage/input-serio-libps2
|
||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||
TITLE:=PS/2 Serial I/O support
|
||||
DEPENDS:=+kmod-input-serio
|
||||
KCONFIG:= CONFIG_SERIO_LIBPS2
|
||||
FILES:=$(LINUX_DIR)/drivers/input/serio/libps2.ko
|
||||
AUTOLOAD:=$(call AutoProbe,libps2,1)
|
||||
endef
|
||||
|
||||
define KernelPackage/input-serio-libps2/description
|
||||
Kernel module to support devices connected to a PS/2 port, such
|
||||
as PS/2 mouse or standard AT keyboard.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,input-serio-libps2))
|
||||
|
||||
Reference in New Issue
Block a user