Re: [PATCH 02/25] HID: multitouch: add support for Nexio 42 panel

2013-01-28 Thread Henrik Rydberg
Hi Benjamin, This device is the worst device I saw. It keeps TipSwitch and InRange at 1 for fingers that are not touching the panel. The solution is to rely on the field ContactCount, which is accurate as the correct information are packed at the begining of the frame. Unfortunately,

Re: [PATCH 1/4] USB: HID: SRW-S1 Gaming Wheel Driver

2013-01-28 Thread Jiri Kosina
On Thu, 24 Jan 2013, Simon Wood wrote: From: simon simon@simon-virtual-machine.(none) Add support the SRW-S1 by patching HID descriptor to read axis as Generic Desktop X, Y and Z (rather than Usage page being 'Simulation'). Signed-off-by: Simon Wood si...@mungewell.org tested-by: John

Re: [PATCH 01/25] HID: break out hid_extract_field

2013-01-28 Thread Henrik Rydberg
Hi Benjamin, Breaking out this function allows third parties hid drivers to retrieve the data fields of a hid report in the raw_event callback. No functional changes, only exports the function. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@gmail.com --- drivers/hid/hid-core.c |

Re: [PATCH 4/4] USB: HID: SRW-S1 Add support controlling all LEDs simultaneously

2013-01-28 Thread Jiri Kosina
On Thu, 24 Jan 2013, Simon Wood wrote: From: simon simon@simon-virtual-machine.(none) This patch to the SRW-S1 driver adds the ability to control all LEDs simultaneously as testing showed that it was slow (noticably!!) when seting or clearing all the LEDs in turn. It adds a 'RPMALL' LED,

Re: [PATCH 06/25] HID: multitouch: optimize FlatFrog panels

2013-01-28 Thread Henrik Rydberg
Hi Benjamin, Relying on ALWAYS_VALID enhance a little the processing time of the events. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@gmail.com --- drivers/hid/hid-multitouch.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Is there a measurement backing up this

Re: [PATCH 25/25] HID: multitouch: make MT_CLS_ALWAYS_TRUE the new default class

2013-01-28 Thread Henrik Rydberg
Hi Benjamin, By running a test on all the traces of the devices I have, I noticed that the class MT_CLS_ALWAYS_TRUE could handle all the devices I've seen so far without any other quirks. I guess this is the behavior Win 7 requires in its driver. We can change the default class then and

Re: [PATCH 4/4] USB: HID: SRW-S1 Add support controlling all LEDs simultaneously

2013-01-28 Thread simon
On Thu, 24 Jan 2013, Simon Wood wrote: From: simon simon@simon-virtual-machine.(none) This patch to the SRW-S1 driver adds the ability to control all LEDs simultaneously as testing showed that it was slow (noticably!!) when seting or clearing all the LEDs in turn. It adds a 'RPMALL' LED,

Re: [PATCH 1/4] USB: HID: SRW-S1 Gaming Wheel Driver

2013-01-28 Thread simon
On Thu, 24 Jan 2013, Simon Wood wrote: From: simon simon@simon-virtual-machine.(none) Add support the SRW-S1 by patching HID descriptor to read axis as Generic Desktop X, Y and Z (rather than Usage page being 'Simulation'). Signed-off-by: Simon Wood si...@mungewell.org tested-by: John

Re: [PATCH 00/25] Support of Nexio 42 and new default class for hid-multitouch

2013-01-28 Thread Henrik Rydberg
Hi Benjamin, finally, I managed to send a new bunch of patches. Sorry for the delay from the previous version, but meanwhile, I implemented an automatic regressions tests for hid device [1]. So this series seems pretty big, but it does not break any known devices (I ran 40 successful

Re: [PATCH 02/25] HID: multitouch: add support for Nexio 42 panel

2013-01-28 Thread Benjamin Tissoires
On Mon, Jan 28, 2013 at 4:01 PM, Henrik Rydberg rydb...@euromail.se wrote: Hi Benjamin, This device is the worst device I saw. It keeps TipSwitch and InRange at 1 for fingers that are not touching the panel. The solution is to rely on the field ContactCount, which is accurate as the correct

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-28 Thread ivan.khoronzhuk
On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: Rebased on linux_omap/master. During suspend/resume the key press can be lost if time of

Re: [PATCH 00/25] Support of Nexio 42 and new default class for hid-multitouch

2013-01-28 Thread Benjamin Tissoires
Hi Henrik, On Mon, Jan 28, 2013 at 4:23 PM, Henrik Rydberg rydb...@euromail.se wrote: Hi Benjamin, finally, I managed to send a new bunch of patches. Sorry for the delay from the previous version, but meanwhile, I implemented an automatic regressions tests for hid device [1]. So this

Re: [PATCH 1/4] USB: HID: SRW-S1 Gaming Wheel Driver

2013-01-28 Thread simon
On Mon, 28 Jan 2013, si...@mungewell.org wrote: From: simon simon@simon-virtual-machine.(none) Add support the SRW-S1 by patching HID descriptor to read axis as Generic Desktop X, Y and Z (rather than Usage page being 'Simulation'). Signed-off-by: Simon Wood si...@mungewell.org

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-28 Thread NeilBrown
On Mon, 28 Jan 2013 18:13:14 +0200 ivan.khoronzhuk ivan.khoronz...@ti.com wrote: On 01/22/2013 07:24 AM, NeilBrown wrote: On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Ivan, On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: