Re: [PATCH v8] Input: Add userio module

2015-10-09 Thread Stephen Chandler Paul
On Fri, 2015-10-09 at 16:52 +0200, LABBE Corentin wrote: > On Fri, Oct 09, 2015 at 10:30:53AM -0400, cp...@redhat.com wrote: > > From: Stephen Chandler Paul > > + > > +static ssize_t userio_char_read(struct file *file, char __user > > *user_buffer, > > + size_t count, lof

Re: [PATCH v8] Input: Add userio module

2015-10-09 Thread LABBE Corentin
On Fri, Oct 09, 2015 at 10:30:53AM -0400, cp...@redhat.com wrote: > From: Stephen Chandler Paul > + > +static ssize_t userio_char_read(struct file *file, char __user *user_buffer, > + size_t count, loff_t *ppos) > +{ > + struct userio_device *userio = file->private_

[PATCH v8] Input: Add userio module

2015-10-09 Thread cpaul
From: Stephen Chandler Paul 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 devi