Input: add userio module
authorStephen Chandler Paul <cpaul@redhat.com>
Sat, 24 Oct 2015 20:10:29 +0000 (13:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 28 Oct 2015 01:55:31 +0000 (18:55 -0700)
commit5523662edd4fe937267053c2018b75be2ac17860
tree64358d8a317de262886f62181c9c61d69b7394b5
parent06a16293f71927f756dcf37558a79c0b05a91641
Input: add userio module

Debugging input devices, specifically laptop touchpads, can be tricky
without having the physical device handy. Here we try to remedy that
with userio. This module allows an application to connect to a character
device provided by the kernel, and emulate any serio device. In
combination with userspace programs that can record PS/2 devices and
replay them through the /dev/userio device, this allows developers to
debug driver issues on the PS/2 level with devices simply by requesting
a recording from the user experiencing the issue without having to have
the physical hardware in front of them.

Signed-off-by: Stephen Chandler Paul <cpaul@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/input/userio.txt [new file with mode: 0644]
MAINTAINERS
drivers/input/serio/Kconfig
drivers/input/serio/Makefile
drivers/input/serio/userio.c [new file with mode: 0644]
include/linux/miscdevice.h
include/uapi/linux/userio.h [new file with mode: 0644]