Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-21 Thread Andreas Kemnade
Hi, [...] > > Hm. Why not touching pixel (0,0) on the touch is always pixel (0,0) > > on the screen and touching pixel (639,479) is always (639,479)? > > Important is that there is no 1:1 mapping between input evdev device > and drm/fb output device. These are two independent devices. There is >

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-21 Thread Christ van Willegen
Hi all, On Tue, Feb 21, 2017 at 9:47 AM, Pali Rohár wrote: > But it really make sense to set input_abs_set_res() from DT. And _not_ add the 1 or two lines of code that checks some DT variable, and then fixes _everybody's_ userland? That means those lines of code need to go into _every_ userland

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
> Am 20.02.2017 um 21:22 schrieb H. Nikolaus Schaller : > > Hi, > >> Am 20.02.2017 um 20:32 schrieb Pavel Machek : >> >> Hi! >> But if you have userspace that depends on touchscreen to be calibrated... that _is_ wrong. >>> >>> User-space people and real users have the opposite opini

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi, > Am 20.02.2017 um 20:32 schrieb Pavel Machek : > > Hi! > >>> But if you have userspace that depends on touchscreen to be >>> calibrated... that _is_ wrong. >> >> User-space people and real users have the opposite opinion. They >> prefer if a touch is plug&play. I.e. without need for calibr

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread Pavel Machek
Hi! > > But if you have userspace that depends on touchscreen to be > > calibrated... that _is_ wrong. > > User-space people and real users have the opposite opinion. They > prefer if a touch is plug&play. I.e. without need for calibration. Some people prefer to calibrate their touchscreens; bec

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-20 Thread H. Nikolaus Schaller
Hi Pavel, > Am 19.02.2017 um 23:39 schrieb Pavel Machek : > > Hi! > And note that I am not making things different from others in tree, I am making the tsc2007 right (incl. following the touchscreen bindings which define the touchscreen size in "Pixels"). >>> >>> Your touch scree

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-19 Thread Pavel Machek
Hi! > > > And note that I am not making things different from others in tree, > > > I am making the tsc2007 right (incl. following the touchscreen > > > bindings which define the touchscreen size in "Pixels"). > > > > Your touch screen is not in any way special, so it has to behave in > > the sam

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-19 Thread Andreas Kemnade
Hi, On Sun, 19 Feb 2017 21:57:08 +0100 Pavel Machek wrote: > Hi! > > > > But as said I don't think we need float or fixed point for > > practical systems at all. > > So you are going to loose precision. And if userspace decides to > calibrate it slightly differently from kernel, lost precisio

Re: [Letux-kernel] [PATCH v9 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2017-02-18 Thread Andreas Kemnade
Hi Dmitry, On Fri, 17 Feb 2017 12:40:41 -0800 Dmitry Torokhov wrote: [...] > > Let me cite myself: > > > > >> This makes it possible to pre-calibrate the touch so that is > > >> (almost) > > Yes, it allows you to pre-calibrate, I get it. But you still do > properly calibrate later, right? So