Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-21 Thread Dmitry Torokhov
On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: > 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : > > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: > >> On Wed, 16 Dec 2015 14:44:08 -0800 > >> Dmitry Torokhov

[PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Mika Westerberg
When an i2c-hid device is resumed from system sleep the driver resets the device to be sure it is in known state. The device is expected to issue an interrupt when reset is complete. This reset might take few milliseconds to complete so if the HID driver on top (hid-rmi) starts to set up the

Re: [PATCH] HID: i2c-hid: Prevent sending reports from racing with device reset

2015-12-21 Thread Benjamin Tissoires
On Dec 21 2015 or thereabouts, Mika Westerberg wrote: > When an i2c-hid device is resumed from system sleep the driver resets > the device to be sure it is in known state. The device is expected to > issue an interrupt when reset is complete. > > This reset might take few milliseconds to complete

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2015-12-21 Thread Allen Hung
On 12/18/2015 05:52 AM, Benjamin Tissoires wrote: > On Thu, Nov 26, 2015 at 3:21 PM, Jiri Kosina wrote: >> On Fri, 20 Nov 2015, Allen Hung wrote: >> >>> The usage Confidence is mandary to Windows Precision Touchpad devices. The >>> appearance of this usage is checked in

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-21 Thread Mika Westerberg
On Fri, Dec 18, 2015 at 05:10:31PM +0100, Benjamin Tissoires wrote: > After turning this around, I think I finally got what was going on (and > yes, it's basically a race that should have been caught long ago): > - during resume, the i2c-hid driver calls reset, which is a long (few > ms)