Unusual Focaltech driver behavior

2015-04-17 Thread Dmitry Tunin
I noticed that myself and got some complaints like this. https://github.com/hanipouspilot/ubuntu-fixes/issues/2 General issue is that when one finger is on the touchpad, movement of a second finger is ignored, if the first finger does not move. Usually with other touchpads, when you have one fing

Re: Unusual Focaltech driver behavior

2015-04-17 Thread Dmitry Tunin
> I noticed that myself and got some complaints like this. > https://github.com/hanipouspilot/ubuntu-fixes/issues/2 > > General issue is that when one finger is on the touchpad, movement of a > second finger is ignored, if the first finger does not move. > Usually with other touchpads, when you h

Re: Unusual Focaltech driver behavior

2015-04-17 Thread Dmitry Tunin
> Hi Dmitry, > > On Fri, Apr 17, 2015 at 5:56 AM, Dmitry Tunin wrote: >>> I noticed that myself and got some complaints like this. >>> https://github.com/hanipouspilot/ubuntu-fixes/issues/2 >>> >>> General issue is that when one finger is on the

Re: Unusual Focaltech driver behavior

2015-04-17 Thread Dmitry Tunin
17.04.2015 16:57, Benjamin Tissoires пишет: > On Fri, Apr 17, 2015 at 9:39 AM, Dmitry Tunin wrote: >>> Hi Dmitry, >>> >>> On Fri, Apr 17, 2015 at 5:56 AM, Dmitry Tunin >>> wrote: >>>>> I noticed that myself and got some complaints like thi

Re: Unusual Focaltech driver behavior

2015-04-17 Thread Dmitry Tunin
17.04.2015 17:49, Dmitry Tunin пишет: > 17.04.2015 16:57, Benjamin Tissoires пишет: >> On Fri, Apr 17, 2015 at 9:39 AM, Dmitry Tunin >> wrote: >>>> Hi Dmitry, >>>> >>>> On Fri, Apr 17, 2015 at 5:56 AM, Dmitry Tunin >>>> wrote:

Re: Unusual Focaltech driver behavior

2015-04-17 Thread Dmitry Tunin
17.04.2015 18:43, Benjamin Tissoires пишет: > On Fri, Apr 17, 2015 at 10:56 AM, Dmitry Tunin > wrote: >> >> >> 17.04.2015 17:49, Dmitry Tunin пишет: >>> 17.04.2015 16:57, Benjamin Tissoires пишет: >>>> On Fri, Apr 17, 2015 at 9:39 AM

[PATCH] psmouse - pass finger width to userspace

2015-04-18 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5]. Range for width in raw format is 0x10 - 0x70. Second byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse/focaltech.c | 8 1

[PATCH v2] psmouse - focaltech pass finger width to userspace

2015-04-18 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

Re: [PATCH v2] psmouse - focaltech pass finger width to userspace

2015-04-18 Thread Dmitry Tunin
18.04.2015 16:35, Dmitry Tunin пишет: > Focaltech touchpads report finger width in packet[5] of absolute packet. > Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. > 0xff is reported, when a large contact area is detected. > This can be handled in userspace.

Re: [PATCH v2] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
> 18.04.2015 16:35, Dmitry Tunin пишет: >> Focaltech touchpads report finger width in packet[5] of absolute packet. >> Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. >> 0xff is reported, when a large contact area is detected. >> This

[PATCH v3] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

Re: [PATCH v3] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
> Focaltech touchpads report finger width in packet[5] of absolute packet. > Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. > 0xff is reported, when a large contact area is detected. > This can be handled in userspace. > > Signed-off-by: Dmitry Tunin

[PATCH v4] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

[PATCH v5] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

Re: [PATCH v5] psmouse - focaltech pass finger width to userspace

2015-04-19 Thread Dmitry Tunin
> Focaltech touchpads report finger width in packet[5] of absolute packet. > Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. > 0xff is reported, when a large contact area is detected. > This can be handled in userspace. > > Signed-off-by: Dmitry Tunin

[PATCH 0/1] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Now I made it in a correct way. No need to count fingers. Just send width after an abs packet is received. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.h

[PATCH v6] psmouse - focaltech pass finger width to userspace Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is

2015-04-23 Thread Dmitry Tunin
--- drivers/input/mouse/focaltech.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/focaltech.c b/drivers/input/mouse/focaltech.c index 23d2594..513a7e1 100644 --- a/drivers/input/mouse/focaltech.c +++ b/drivers/input/mouse/focaltech.c @@ -90

[PATCH 0/1 v7] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Fixed commit message -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v7] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. --- drivers/input/mouse/focaltech.c | 15 ++-

[PATCH] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. --- drivers/input/mouse/focaltech.c | 16 ++--

[PATCH v8] psmouse - focaltech pass finger width to userspace

2015-04-23 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

Re: [PATCH v8] psmouse - focaltech pass finger width to userspace

2015-04-24 Thread Dmitry Tunin
> > Hi, > > Some comments below. If it is not a problem that width values are > outdated as soon as there are two or more fingers on the touchpad, I > think the change is good. > > Regards, > Mathias > > Am 24.04.2015 um 01:15 schrieb Dmitry Tunin: >>

Re: [PATCH v8] psmouse - focaltech pass finger width to userspace

2015-04-24 Thread Dmitry Tunin
I see that I did not change that here. Width can be in state->width or fingers[finger]->width I think latter is mere correct.It should be that way in this patch. I moved ot back and forth and tested. Noticed no difference. 24.04.2015 13:44, Dmitry Tunin пишет: > >> >> Hi

[PATCH v9] psmouse - focaltech pass finger width to userspace

2015-04-24 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

[PATCH] psmouse - focaltech report finger width to userspace

2015-05-29 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse

Re: [PATCH] psmouse - focaltech report finger width to userspace

2015-05-29 Thread Dmitry Tunin
30.05.2015 02:37, Dmitry Torokhov пишет: > On Sat, May 30, 2015 at 02:00:59AM +0300, Dmitry Tunin wrote: >> Focaltech touchpads report finger width in packet[5] of absolute packet. >> Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. >> 0xff is r

Re: [PATCH] psmouse - focaltech report finger width to userspace

2015-05-30 Thread Dmitry Tunin
30.05.2015 02:37, Dmitry Torokhov пишет: > On Sat, May 30, 2015 at 02:00:59AM +0300, Dmitry Tunin wrote: >> Focaltech touchpads report finger width in packet[5] of absolute packet. >> Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. >> 0xff is r

[PATCH v2] psmouse - focaltech report finger width to userspace

2015-05-30 Thread Dmitry Tunin
Focaltech touchpads report finger width in packet[5] of absolute packet. Range for width in raw format is 0x10 - 0x70. Second half-byte is always 0. 0xff is reported, when a large contact area is detected. This can be handled in userspace. Signed-off-by: Dmitry Tunin --- drivers/input/mouse