[PATCH] HID: usbhid: Add a quirk for Xin-Mo Dual Arcade

2015-10-24 Thread Michele Baldessari
The Xin-Mo Dual Arcade controller (16c0:05e1) needs this quirk in order to have the two distinct joysticks working. Before the change: $ jstest /dev/input/js0 Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y) ... $ jstest /dev/input/js1 jstest: No such file or directory After the change: $

Re: [PATCH] HID: usbhid: Add a quirk for Xin-Mo Dual Arcade

2015-10-24 Thread Jiri Kosina
On Sat, 24 Oct 2015, Michele Baldessari wrote: > The Xin-Mo Dual Arcade controller (16c0:05e1) needs this quirk in order > to have the two distinct joysticks working. > > Before the change: > $ jstest /dev/input/js0 > Joystick (Xin-Mo Xin-Mo Dual Arcade) has 2 axes (X, Y) > ... > $ jstest

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

2015-10-24 Thread Dmitry Torokhov
Hi Stephen, On Fri, Oct 23, 2015 at 04:47:46PM -0400, cp...@redhat.com wrote: > 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

Re: [PATCH] Input: evdev - add event-mask API

2015-10-24 Thread Dmitry Torokhov
Hi David, On Thu, Sep 03, 2015 at 06:14:01PM +0200, David Herrmann wrote: > +static int bits_from_user(unsigned long *bits, unsigned int maxbit, > + unsigned int maxlen, const void __user *p, int compat) > +{ > + int len; > + > +#if IS_ENABLED(CONFIG_COMPAT) > + if

Re: [PATCH v3] Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl

2015-10-24 Thread Dmitry Torokhov
Hi Benjamin, On Tue, Aug 25, 2015 at 11:12:59AM -0400, Benjamin Tissoires wrote: > +static int uinput_abs_setup(struct uinput_device *udev, > + struct uinput_setup __user *arg, size_t size) > +{ > + struct uinput_abs_setup setup = {}; > + struct input_dev *dev; > +

Re: [PATCH] Add support for SiS i2c touch driver

2015-10-24 Thread Dmitry Torokhov
Hi, On Tue, Oct 13, 2015 at 03:48:47PM +0800, Ko-Hao, Yu wrote: > Hi, This patch is to add support for SiS i2c touch panel. > Thanks a lot. Thank you for cleaning up the driver. The first question first: it is not compatible with the standard HID spec, is it? It is not possible to have the