aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/miscdevice.h
diff options
context:
space:
mode:
authorStephen Chandler Paul <cpaul@redhat.com>2015-10-24 13:10:29 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-10-27 18:55:31 -0700
commit5523662edd4fe937267053c2018b75be2ac17860 (patch)
tree64358d8a317de262886f62181c9c61d69b7394b5 /include/linux/miscdevice.h
parentInput: evdev - add event-mask API (diff)
downloadlinux-dev-5523662edd4fe937267053c2018b75be2ac17860.tar.xz
linux-dev-5523662edd4fe937267053c2018b75be2ac17860.zip
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>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r--include/linux/miscdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
index 81f6e427ba6b..543037465973 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -49,6 +49,7 @@
#define LOOP_CTRL_MINOR 237
#define VHOST_NET_MINOR 238
#define UHID_MINOR 239
+#define USERIO_MINOR 240
#define MISC_DYNAMIC_MINOR 255
struct device;