Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-31 Thread Peter Hutterer
On Mon, Jul 25, 2016 at 04:59:17PM +0200, Pali Rohár wrote: > On Friday 22 July 2016 10:12:19 Peter Hutterer wrote: > > On Thu, Jul 21, 2016 at 11:04:29AM +0200, Pali Rohár wrote: > > > On Thursday 21 July 2016 10:54:21 Pavel Machek wrote: > > > > On Thu 2016-07-21 16:42:41, Peter Hutterer wrote: >

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-28 Thread Pavel Machek
Hi! On Mon 2016-07-25 16:56:20, Pali Rohár wrote: > On Thursday 21 July 2016 08:32:34 Pavel Machek wrote: > > Ok.. so out of the box, touchscreen is "upside down" and miscalibrated > > on n900. So I need to run > > > > xinput --set-prop --type=float 8 115 1.10 0.00 -0.05 0.00 1.18 -0.10 0.00 >

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-25 Thread Pali Rohár
On Friday 22 July 2016 10:12:19 Peter Hutterer wrote: > On Thu, Jul 21, 2016 at 11:04:29AM +0200, Pali Rohár wrote: > > On Thursday 21 July 2016 10:54:21 Pavel Machek wrote: > > > On Thu 2016-07-21 16:42:41, Peter Hutterer wrote: > > > > On Thu, Jul 21, 2016 at 08:32:34AM +0200, Pavel Machek wrote:

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-25 Thread Pali Rohár
On Thursday 21 July 2016 08:32:34 Pavel Machek wrote: > Ok.. so out of the box, touchscreen is "upside down" and miscalibrated > on n900. So I need to run > > xinput --set-prop --type=float 8 115 1.10 0.00 -0.05 0.00 1.18 -0.10 0.00 > 0.00 1.00 > xinput --set-prop --type=int 8 249 0 1 What the

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-21 Thread Dmitry Torokhov
On Thu, Jul 21, 2016 at 5:10 PM, Peter Hutterer wrote: > On Thu, Jul 21, 2016 at 10:54:21AM +0200, Pavel Machek wrote: >> Should we have calibration info in the device tree, with kernel >> passing it to the x? >> >> Should kernel somehow do the calibration itself? > > if the kernel knows about the

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-21 Thread Peter Hutterer
On Thu, Jul 21, 2016 at 11:04:29AM +0200, Pali Rohár wrote: > On Thursday 21 July 2016 10:54:21 Pavel Machek wrote: > > On Thu 2016-07-21 16:42:41, Peter Hutterer wrote: > > > On Thu, Jul 21, 2016 at 08:32:34AM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > > > In the mean time you can adj

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-21 Thread Peter Hutterer
On Thu, Jul 21, 2016 at 10:54:21AM +0200, Pavel Machek wrote: > On Thu 2016-07-21 16:42:41, Peter Hutterer wrote: > > On Thu, Jul 21, 2016 at 08:32:34AM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > > In the mean time you can adjust the name or use XID instead. > > > > > > > > X has partiall

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-21 Thread Pali Rohár
On Thursday 21 July 2016 10:54:21 Pavel Machek wrote: > On Thu 2016-07-21 16:42:41, Peter Hutterer wrote: > > On Thu, Jul 21, 2016 at 08:32:34AM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > > In the mean time you can adjust the name or use XID instead. > > > > > > > > X has partially fixed

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-21 Thread Pavel Machek
On Thu 2016-07-21 16:42:41, Peter Hutterer wrote: > On Thu, Jul 21, 2016 at 08:32:34AM +0200, Pavel Machek wrote: > > Hi! > > > > > > In the mean time you can adjust the name or use XID instead. > > > > > > X has partially fixed this a few years ago. All input drivers (that > > > matter) export a

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Peter Hutterer
On Thu, Jul 21, 2016 at 08:32:34AM +0200, Pavel Machek wrote: > Hi! > > > > In the mean time you can adjust the name or use XID instead. > > > > X has partially fixed this a few years ago. All input drivers (that > > matter) export a Device Node property that sets the device node for each > > dev

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Pavel Machek
Hi! > > In the mean time you can adjust the name or use XID instead. > > X has partially fixed this a few years ago. All input drivers (that > matter) export a Device Node property that sets the device node for each > device. > > $ xinput list-props "SynPS/2 Synaptics TouchPad" | grep "Device N

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Peter Hutterer
On Wed, Jul 20, 2016 at 03:20:02PM -0700, Dmitry Torokhov wrote: > On Thu, Jul 21, 2016 at 07:47:36AM +1000, Peter Hutterer wrote: > > On Wed, Jul 20, 2016 at 09:23:56AM -0700, Dmitry Torokhov wrote: > > > On Wed, Jul 20, 2016 at 08:25:58AM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > >

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Dmitry Torokhov
On Thu, Jul 21, 2016 at 07:47:36AM +1000, Peter Hutterer wrote: > On Wed, Jul 20, 2016 at 09:23:56AM -0700, Dmitry Torokhov wrote: > > On Wed, Jul 20, 2016 at 08:25:58AM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > > > > > > > drivers/input/touchscreen/tsc2005.c: > > > > > > > > >

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Peter Hutterer
On Wed, Jul 20, 2016 at 09:23:56AM -0700, Dmitry Torokhov wrote: > On Wed, Jul 20, 2016 at 08:25:58AM +0200, Pavel Machek wrote: > > Hi! > > > > > > > > > > > drivers/input/touchscreen/tsc2005.c:input_dev->name = > > > > > > > > > "TSC2005 > > > > > > > > > touchscreen"; > > > > > > > > > >

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Pavel Machek
Hi! > > > > > > > > > drivers/input/touchscreen/tsc2005.c:input_dev->name = > > > > > > > > > "TSC2005 > > > > > > > > > touchscreen"; > > > > > > > > > > > > > > > > > > to "TSC200X touchscreen". Unfortunately, X seems to propagate > > > > > > > > > that > > > > > > > > > name to userspace

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Pali Rohár
On Wednesday 20 July 2016 02:53:07 Dmitry Torokhov wrote: > On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > > > On Sun, Jul 17, 2016 at 10

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-20 Thread Dmitry Torokhov
On Wed, Jul 20, 2016 at 08:25:58AM +0200, Pavel Machek wrote: > Hi! > > > > > > > > > drivers/input/touchscreen/tsc2005.c: input_dev->name = > > > > > > > > "TSC2005 > > > > > > > > touchscreen"; > > > > > > > > > > > > > > > > to "TSC200X touchscreen". Unfortunately, X seems to propagate

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Pavel Machek
Hi! > > > > > > > drivers/input/touchscreen/tsc2005.c:input_dev->name = > > > > > > > "TSC2005 > > > > > > > touchscreen"; > > > > > > > > > > > > > > to "TSC200X touchscreen". Unfortunately, X seems to propagate that > > > > > > > name to userspace, where it is needed to be able to do >

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Michael Welling
On Wed, Jul 20, 2016 at 04:26:44AM +0300, Aaro Koskinen wrote: > On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > > > On Sun, Jul 17, 2016

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Michael Welling
On Tue, Jul 19, 2016 at 06:44:24PM -0700, Dmitry Torokhov wrote: > On Tue, Jul 19, 2016 at 08:34:57PM -0500, Michael Welling wrote: > > On Tue, Jul 19, 2016 at 05:53:07PM -0700, Dmitry Torokhov wrote: > > > On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > > > > On Tue, Jul 19, 201

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Dmitry Torokhov
On Tue, Jul 19, 2016 at 08:34:57PM -0500, Michael Welling wrote: > On Tue, Jul 19, 2016 at 05:53:07PM -0700, Dmitry Torokhov wrote: > > On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > > > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > > > On Sun, Jul 17, 201

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Michael Welling
On Tue, Jul 19, 2016 at 05:53:07PM -0700, Dmitry Torokhov wrote: > On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > > > On Sun, Jul 17, 201

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Aaro Koskinen
On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > > On Sun, Jul 17, 2016 at 10:03:39PM +0200, Pavel Machek wrote: > > > > Ok, thanks for the inf

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Dmitry Torokhov
On Tue, Jul 19, 2016 at 07:39:08PM -0500, Michael Welling wrote: > On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > > On Sun, Jul 17, 2016 at 10:03:39PM +0200, Pavel Machek wrote: > > > > On Sun 2016-07-17 13:5

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Michael Welling
On Tue, Jul 19, 2016 at 04:51:20PM -0700, Dmitry Torokhov wrote: > On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > > On Sun, Jul 17, 2016 at 10:03:39PM +0200, Pavel Machek wrote: > > > On Sun 2016-07-17 13:51:34, Michael Welling wrote: > > > > On Sun, Jul 17, 2016 at 08:42:09PM +

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-19 Thread Dmitry Torokhov
On Sun, Jul 17, 2016 at 05:56:36PM -0500, Michael Welling wrote: > On Sun, Jul 17, 2016 at 10:03:39PM +0200, Pavel Machek wrote: > > On Sun 2016-07-17 13:51:34, Michael Welling wrote: > > > On Sun, Jul 17, 2016 at 08:42:09PM +0200, Pavel Machek wrote: > > > > On Sun 2016-07-17 13:24:45, Michael Wel

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-17 Thread Michael Welling
On Sun, Jul 17, 2016 at 10:03:39PM +0200, Pavel Machek wrote: > On Sun 2016-07-17 13:51:34, Michael Welling wrote: > > On Sun, Jul 17, 2016 at 08:42:09PM +0200, Pavel Machek wrote: > > > On Sun 2016-07-17 13:24:45, Michael Welling wrote: > > > > On Sun, Jul 17, 2016 at 07:52:57PM +0200, Pavel Mache

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-17 Thread Pavel Machek
On Sun 2016-07-17 13:51:34, Michael Welling wrote: > On Sun, Jul 17, 2016 at 08:42:09PM +0200, Pavel Machek wrote: > > On Sun 2016-07-17 13:24:45, Michael Welling wrote: > > > On Sun, Jul 17, 2016 at 07:52:57PM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > tsc2005 driver changed input dev

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-17 Thread Michael Welling
On Sun, Jul 17, 2016 at 08:42:09PM +0200, Pavel Machek wrote: > On Sun 2016-07-17 13:24:45, Michael Welling wrote: > > On Sun, Jul 17, 2016 at 07:52:57PM +0200, Pavel Machek wrote: > > > Hi! > > > > > > tsc2005 driver changed input device name, from > > > > > > drivers/input/touchscreen/tsc2005.c

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-17 Thread Pavel Machek
On Sun 2016-07-17 13:24:45, Michael Welling wrote: > On Sun, Jul 17, 2016 at 07:52:57PM +0200, Pavel Machek wrote: > > Hi! > > > > tsc2005 driver changed input device name, from > > > > drivers/input/touchscreen/tsc2005.c: input_dev->name = "TSC2005 > > touchscreen"; > > > > to "TSC200X

Re: v4.1 to v4.7: regression in tsc2005 driver

2016-07-17 Thread Michael Welling
On Sun, Jul 17, 2016 at 07:52:57PM +0200, Pavel Machek wrote: > Hi! > > tsc2005 driver changed input device name, from > > drivers/input/touchscreen/tsc2005.c:input_dev->name = "TSC2005 > touchscreen"; > > to "TSC200X touchscreen". Unfortunately, X seems to propagate that > name to userspace