All of lore.kernel.org
 help / color / mirror / Atom feed
* How to calibrate touch screen?
@ 2013-11-19 14:40 Wilhelm Pflüger
       [not found] ` <528B7C9E.7010704@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Wilhelm Pflüger @ 2013-11-19 14:40 UTC (permalink / raw)
  To: meta-freescale

I have build qte-in-use-image for target imx6qsabresd. Now I wonder
how to calibrate touch screen. I can run
/usr/bin/qtopia/examples/qws/mousecalibration/mousecalibration -qws

but if I test the result it is not satisfactory - cursor jumps as if I
had an 4" screen instead of the 10". So - how can I adapt the touch
parameters?

Wilhelm Pflüger


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to calibrate touch screen?
       [not found] ` <528B7C9E.7010704@gmail.com>
@ 2013-11-19 17:04   ` Wilhelm Pflüger
  2013-11-20 10:25     ` Philippe Mangaud
       [not found]     ` <CAHQNVWBd2mqmz0pJTRyvxjgASgWA7mbNGMiGR4xT0U=f9YqnmQ@mail.gmail.com>
  0 siblings, 2 replies; 6+ messages in thread
From: Wilhelm Pflüger @ 2013-11-19 17:04 UTC (permalink / raw)
  To: Marco Cavallini, meta-freescale

I added tslib and ts_calibrate to the IMAGE_INSTALL in
qte-in-use-image.bbappend. But after ts_calibrate the pointer is still
out of sync.
Content of /etc/pointercal is
2053 -15 192576 3 1526 114976 65536 1024 768

Has someone an idea what I do wrong?

2013/11/19 Marco <koansoftware@gmail.com>:
> Il 19/11/2013 15:40, Wilhelm Pflüger ha scritto:
>
>> I have build qte-in-use-image for target imx6qsabresd. Now I wonder
>> how to calibrate touch screen. I can run
>> /usr/bin/qtopia/examples/qws/mousecalibration/mousecalibration -qws
>>
>> but if I test the result it is not satisfactory - cursor jumps as if I
>> had an 4" screen instead of the 10". So - how can I adapt the touch
>> parameters?
>>
>> Wilhelm Pflüger
>
>
>
> Hi,
> IIRC you must use ts_calibrate
>
>
> Cordiali Saluti / Kindest Regards / Mit freundlichen Grüßen
> --
> Marco Cavallini | KOAN sas | Bergamo - Italia
>  embedded and real-time software engineering
> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
>       http://www.KoanSoftware.com
>      Mini PC : http://www.Koala.it


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to calibrate touch screen?
  2013-11-19 17:04   ` Wilhelm Pflüger
@ 2013-11-20 10:25     ` Philippe Mangaud
  2013-11-20 15:11       ` Wilhelm Pflüger
       [not found]     ` <CAHQNVWBd2mqmz0pJTRyvxjgASgWA7mbNGMiGR4xT0U=f9YqnmQ@mail.gmail.com>
  1 sibling, 1 reply; 6+ messages in thread
From: Philippe Mangaud @ 2013-11-20 10:25 UTC (permalink / raw)
  To: Wilhelm Pflüger, Marco Cavallini,
	meta-freescale@yoctoproject.org

Remember we had to add manually an /etc/ts.conf with following parameter for the libts :
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear

My 2 cents, Philippe.

-----Original Message-----
From: Wilhelm Pflüger [mailto:wpflueger.dev@gmail.com] 
Sent: Tuesday, November 19, 2013 6:04 PM
To: Marco Cavallini; meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] How to calibrate touch screen?

I added tslib and ts_calibrate to the IMAGE_INSTALL in qte-in-use-image.bbappend. But after ts_calibrate the pointer is still out of sync.
Content of /etc/pointercal is
2053 -15 192576 3 1526 114976 65536 1024 768

Has someone an idea what I do wrong?

2013/11/19 Marco <koansoftware@gmail.com>:
> Il 19/11/2013 15:40, Wilhelm Pflüger ha scritto:
>
>> I have build qte-in-use-image for target imx6qsabresd. Now I wonder 
>> how to calibrate touch screen. I can run 
>> /usr/bin/qtopia/examples/qws/mousecalibration/mousecalibration -qws
>>
>> but if I test the result it is not satisfactory - cursor jumps as if 
>> I had an 4" screen instead of the 10". So - how can I adapt the touch 
>> parameters?
>>
>> Wilhelm Pflüger
>
>
>
> Hi,
> IIRC you must use ts_calibrate
>
>
> Cordiali Saluti / Kindest Regards / Mit freundlichen Grüßen
> --
> Marco Cavallini | KOAN sas | Bergamo - Italia  embedded and real-time 
> software engineering
> Phone:+39-035-255.235 - Fax:+39-178-22.39.748
>       http://www.KoanSoftware.com
>      Mini PC : http://www.Koala.it


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to calibrate touch screen?
  2013-11-20 10:25     ` Philippe Mangaud
@ 2013-11-20 15:11       ` Wilhelm Pflüger
  0 siblings, 0 replies; 6+ messages in thread
From: Wilhelm Pflüger @ 2013-11-20 15:11 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org; +Cc: Philippe Mangaud

2013/11/20 Philippe Mangaud <Philippe.Mangaud@freescale.com>:
> Remember we had to add manually an /etc/ts.conf with following parameter for the libts :
> module pthres pmin=1
> module variance delta=30
> module dejitter delta=100
> module linear

Hi Philippe,

this is exactly what I already have in the ts.conf:
---------------
# Uncomment if you wish to use the linux input layer event interface
module_raw input
...
module pthres pmin=1
module variance delta=30
module dejitter delta=100
module linear
-------------------

So - thanks for the guess, but this is already part of the build.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to calibrate touch screen?
       [not found]     ` <CAHQNVWBd2mqmz0pJTRyvxjgASgWA7mbNGMiGR4xT0U=f9YqnmQ@mail.gmail.com>
@ 2013-11-21 12:26       ` Wilhelm Pflüger
  2013-11-21 14:29         ` Marco
  0 siblings, 1 reply; 6+ messages in thread
From: Wilhelm Pflüger @ 2013-11-21 12:26 UTC (permalink / raw)
  To: Marco Cavallini, meta-freescale@yoctoproject.org

2013/11/19 Marco Cavallini <koansoftware@gmail.com>:
> try building bitbake qt4-demo-image and verify please

I let my computer work overnight and got a baked qt-in-use-image
(instead of qt4-demo-image):
works like a charm!
And without any calibration utility.
But this option does not use tslib (this is not part of the image).
So I still wonder which component manages the touch screen.

Wilhelm


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to calibrate touch screen?
  2013-11-21 12:26       ` Wilhelm Pflüger
@ 2013-11-21 14:29         ` Marco
  0 siblings, 0 replies; 6+ messages in thread
From: Marco @ 2013-11-21 14:29 UTC (permalink / raw)
  To: Wilhelm Pflüger, meta-freescale@yoctoproject.org

Il 21/11/2013 13:26, Wilhelm Pflüger ha scritto:
> 2013/11/19 Marco Cavallini <koansoftware@gmail.com>:
>> try building bitbake qt4-demo-image and verify please
>
> I let my computer work overnight and got a baked qt-in-use-image
> (instead of qt4-demo-image):
> works like a charm!
> And without any calibration utility.
> But this option does not use tslib (this is not part of the image).
> So I still wonder which component manages the touch screen.
>

IIRC with my i.MX6Q I built qt4-demo-image ans calibrated with ts_calibrate

just my 2 cents
-- 
Marco Cavallini | KOAN sas | Bergamo - Italia
  embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
       http://www.KoanSoftware.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-21 14:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-19 14:40 How to calibrate touch screen? Wilhelm Pflüger
     [not found] ` <528B7C9E.7010704@gmail.com>
2013-11-19 17:04   ` Wilhelm Pflüger
2013-11-20 10:25     ` Philippe Mangaud
2013-11-20 15:11       ` Wilhelm Pflüger
     [not found]     ` <CAHQNVWBd2mqmz0pJTRyvxjgASgWA7mbNGMiGR4xT0U=f9YqnmQ@mail.gmail.com>
2013-11-21 12:26       ` Wilhelm Pflüger
2013-11-21 14:29         ` Marco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.