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:
parent
719c9059b2
commit
c5a6dc31d2
3 changed files with 78 additions and 0 deletions
|
@ -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))
|
||||
|
|
|
@ -3738,6 +3738,8 @@ CONFIG_MODULE_UNLOAD=y
|
|||
# CONFIG_MOST is not set
|
||||
# CONFIG_MOTORCOMM_PHY is not set
|
||||
# CONFIG_MOUSE_APPLETOUCH is not set
|
||||
# CONFIG_MOUSE_BCM5974 is not set
|
||||
# CONFIG_MOUSE_CYAPA is not set
|
||||
# CONFIG_MOUSE_ELAN_I2C is not set
|
||||
# CONFIG_MOUSE_GPIO is not set
|
||||
# CONFIG_MOUSE_INPORT is not set
|
||||
|
@ -3745,8 +3747,10 @@ CONFIG_MODULE_UNLOAD=y
|
|||
# CONFIG_MOUSE_PC110PAD is not set
|
||||
# CONFIG_MOUSE_PS2_FOCALTECH is not set
|
||||
# CONFIG_MOUSE_PS2_SENTELIC is not set
|
||||
# CONFIG_MOUSE_SERIAL is not set
|
||||
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
|
||||
# CONFIG_MOUSE_SYNAPTICS_USB is not set
|
||||
# CONFIG_MOUSE_VSXXXAA is not set
|
||||
# CONFIG_MOXTET is not set
|
||||
# CONFIG_MPL115 is not set
|
||||
# CONFIG_MPL115_I2C is not set
|
||||
|
@ -5810,6 +5814,7 @@ CONFIG_SERIAL_EARLYCON=y
|
|||
# CONFIG_SERIO_RAW is not set
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
# CONFIG_SERIO_SUN4I_PS2 is not set
|
||||
# CONFIG_SERIO_XILINX_XPS_PS2 is not set
|
||||
# CONFIG_SFC is not set
|
||||
# CONFIG_SFC_FALCON is not set
|
||||
# CONFIG_SFC_SIENA is not set
|
||||
|
|
|
@ -3625,7 +3625,10 @@ CONFIG_MODULE_UNLOAD=y
|
|||
# CONFIG_MODVERSIONS is not set
|
||||
# CONFIG_MOST is not set
|
||||
# CONFIG_MOTORCOMM_PHY is not set
|
||||
# CONFIG_MOUSE_SERIAL is not set
|
||||
# CONFIG_MOUSE_APPLETOUCH is not set
|
||||
# CONFIG_MOUSE_BCM5974 is not set
|
||||
# CONFIG_MOUSE_CYAPA is not set
|
||||
# CONFIG_MOUSE_ELAN_I2C is not set
|
||||
# CONFIG_MOUSE_GPIO is not set
|
||||
# CONFIG_MOUSE_INPORT is not set
|
||||
|
@ -3635,6 +3638,7 @@ CONFIG_MODULE_UNLOAD=y
|
|||
# CONFIG_MOUSE_PS2_SENTELIC is not set
|
||||
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
|
||||
# CONFIG_MOUSE_SYNAPTICS_USB is not set
|
||||
# CONFIG_MOUSE_VSXXXAA is not set
|
||||
# CONFIG_MOXTET is not set
|
||||
# CONFIG_MPL115 is not set
|
||||
# CONFIG_MPL115_I2C is not set
|
||||
|
@ -5651,6 +5655,7 @@ CONFIG_SERIAL_EARLYCON=y
|
|||
# CONFIG_SERIO_RAW is not set
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
# CONFIG_SERIO_SUN4I_PS2 is not set
|
||||
# CONFIG_SERIO_XILINX_XPS_PS2 is not set
|
||||
# CONFIG_SFC is not set
|
||||
# CONFIG_SFC_FALCON is not set
|
||||
# CONFIG_SFC_SIENA is not set
|
||||
|
|
Loading…
Reference in a new issue