Re: [PATCH v6.1 1/1] Input: Add userio module

2015-10-05 Thread Stephen Chandler Paul
On Fri, 2015-10-02 at 10:37 -0700, Dmitry Torokhov wrote: > On Wed, Sep 23, 2015 at 01:54:59PM -0400, cp...@redhat.com wrote: > > +static int userio_device_write(struct serio *id, unsigned char > > val) > > +{ > > + struct userio_device *userio = id->port_data; > > + unsigned long flags; > > +

Re: [PATCH v6.1 1/1] Input: Add userio module

2015-10-02 Thread Dmitry Torokhov
On Wed, Sep 23, 2015 at 01:54:59PM -0400, cp...@redhat.com wrote: > +static int userio_device_write(struct serio *id, unsigned char val) > +{ > + struct userio_device *userio = id->port_data; > + unsigned long flags; > + > + if (!userio) > + return -1; I still have the same

[PATCH v6.1 1/1] Input: Add userio module

2015-09-23 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