Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-06 Thread Dmitry Torokhov
On Mon, Jan 05, 2015 at 05:04:55PM -0500, Benjamin Tissoires wrote: > On Mon, Jan 5, 2015 at 5:00 PM, Gabriele Mazzotta > wrote: > > On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote: > >> Hi Gabriele, > >> > >> [Adding Peter and Hans as this change will impact both > >> xf86-input-synap

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-06 Thread Peter Hutterer
On Mon, Jan 05, 2015 at 02:24:30PM -0500, Benjamin Tissoires wrote: > Hi Gabriele, > > [Adding Peter and Hans as this change will impact both > xf86-input-synaptics and libinput] > > On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta > wrote: > > Despite claiming to be able to report ABS_TOOL_WI

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-06 Thread Peter Hutterer
On Mon, Jan 05, 2015 at 05:04:55PM -0500, Benjamin Tissoires wrote: > On Mon, Jan 5, 2015 at 5:00 PM, Gabriele Mazzotta > wrote: > > On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote: > >> Hi Gabriele, > >> > >> [Adding Peter and Hans as this change will impact both > >> xf86-input-synap

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-05 Thread Benjamin Tissoires
On Mon, Jan 5, 2015 at 5:00 PM, Gabriele Mazzotta wrote: > On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote: >> Hi Gabriele, >> >> [Adding Peter and Hans as this change will impact both >> xf86-input-synaptics and libinput] >> >> On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta >> wr

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-05 Thread Gabriele Mazzotta
On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote: > Hi Gabriele, > > [Adding Peter and Hans as this change will impact both > xf86-input-synaptics and libinput] > > On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta > wrote: > > Despite claiming to be able to report ABS_TOOL_WIDTH, im

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-05 Thread Gabriele Mazzotta
On Monday 05 January 2015 21:13:09 Gabriele Mazzotta wrote: > On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote: > > Hi Gabriele, > > > > [Adding Peter and Hans as this change will impact both > > xf86-input-synaptics and libinput] > > > > On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzo

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-05 Thread Gabriele Mazzotta
On Monday 05 January 2015 14:24:30 Benjamin Tissoires wrote: > Hi Gabriele, > > [Adding Peter and Hans as this change will impact both > xf86-input-synaptics and libinput] > > On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta > wrote: > > Despite claiming to be able to report ABS_TOOL_WIDTH, im

Re: [PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2015-01-05 Thread Benjamin Tissoires
Hi Gabriele, [Adding Peter and Hans as this change will impact both xf86-input-synaptics and libinput] On Sat, Dec 27, 2014 at 6:31 AM, Gabriele Mazzotta wrote: > Despite claiming to be able to report ABS_TOOL_WIDTH, image sensors > were not doing it. Make them report widths and use ABS_MT_TOUCH

[PATCH 1/2] input: synaptics - make image sensors report ABS_MT_TOUCH_MAJOR

2014-12-27 Thread Gabriele Mazzotta
Despite claiming to be able to report ABS_TOOL_WIDTH, image sensors were not doing it. Make them report widths and use ABS_MT_TOUCH_MAJOR instead ABS_TOOL_WIDTH. Since the 'w' slot is used to report the finger count when two or more fingers are on the touchpad, make sure that only meaningful value