All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs
@ 2013-04-05  1:56 Otavio Salvador
  2013-04-05  6:43 ` Eric Bénard
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2013-04-05  1:56 UTC (permalink / raw)
  To: meta-freescale Mailing List; +Cc: Otavio Salvador

From: Daiane Angolini <daiane.angolini@freescale.com>

This is being add here as an intering solution while OE-Core does not
have full XInput support.

Change-Id: I7d0553c70ced46febe2819b457e25a7749f17c71
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput           | 2 ++
 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend       | 2 ++
 2 files changed, 4 insertions(+)
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput
 create mode 100644 recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend

diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput b/recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput
new file mode 100644
index 0000000..59f7630
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput
@@ -0,0 +1,2 @@
+xinput set-int-prop "MXS touchscreen" "Evdev Axis Calibration" 32 194 3938 301 3878
+xinput set-int-prop "MXS touchscreen" "Evdev Axes Swap" 8 1
diff --git a/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend b/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend
new file mode 100644
index 0000000..a9c60f3
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend
@@ -0,0 +1,2 @@
+# Append path for freescale layer to include bsp pointercal.xinput
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-- 
1.8.1



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

* Re: [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs
  2013-04-05  1:56 [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs Otavio Salvador
@ 2013-04-05  6:43 ` Eric Bénard
  2013-04-05 11:22   ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Bénard @ 2013-04-05  6:43 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale Mailing List

Le Thu,  4 Apr 2013 22:56:45 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> From: Daiane Angolini <daiane.angolini@freescale.com>
> 
> This is being add here as an intering solution while OE-Core does not
> have full XInput support.
> 
> Change-Id: I7d0553c70ced46febe2819b457e25a7749f17c71
> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
>  .../xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput           | 2 ++
>  recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend       | 2 ++

you can't make this file generic for all mxs products : a calibration
file is specific to a touchscreen sensors _and_ one display. So it
should at least be board specific.

Eric


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

* Re: [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs
  2013-04-05  6:43 ` Eric Bénard
@ 2013-04-05 11:22   ` Otavio Salvador
  2013-04-05 11:55     ` RES: " Angolini Daiane-B19406
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2013-04-05 11:22 UTC (permalink / raw)
  To: Eric Bénard; +Cc: meta-freescale Mailing List

On Fri, Apr 5, 2013 at 3:43 AM, Eric Bénard <eric@eukrea.com> wrote:
> Le Thu,  4 Apr 2013 22:56:45 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> From: Daiane Angolini <daiane.angolini@freescale.com>
>>
>> This is being add here as an intering solution while OE-Core does not
>> have full XInput support.
>>
>> Change-Id: I7d0553c70ced46febe2819b457e25a7749f17c71
>> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>  .../xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput           | 2 ++
>>  recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend       | 2 ++
>
> you can't make this file generic for all mxs products : a calibration
> file is specific to a touchscreen sensors _and_ one display. So it
> should at least be board specific.

Agreed.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


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

* RES: [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs
  2013-04-05 11:22   ` Otavio Salvador
@ 2013-04-05 11:55     ` Angolini Daiane-B19406
  2013-04-05 11:57       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Angolini Daiane-B19406 @ 2013-04-05 11:55 UTC (permalink / raw)
  To: Otavio Salvador, Eric Bénard; +Cc: meta-freescale Mailing List

Thanks Eric and Otavio.

Otavio, I will talk to you latter today, I will need help on how to handle the calibration for imx28 properly (I mean, not this mxs stuff, but the right calibration approach pointercall/evdev)

Please, make sure this patch was reverted if it was already applied.


(I'm sorry about the format of this email, I'm using webmail)

Daiane
________________________________________
De: meta-freescale-bounces@yoctoproject.org [meta-freescale-bounces@yoctoproject.org] em nome de Otavio Salvador [otavio@ossystems.com.br]
Enviado: sexta-feira, 5 de abril de 2013 6:22
Para: Eric Bénard
Cc: meta-freescale Mailing List
Assunto: Re: [meta-freescale] [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs

On Fri, Apr 5, 2013 at 3:43 AM, Eric Bénard <eric@eukrea.com> wrote:
> Le Thu,  4 Apr 2013 22:56:45 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> From: Daiane Angolini <daiane.angolini@freescale.com>
>>
>> This is being add here as an intering solution while OE-Core does not
>> have full XInput support.
>>
>> Change-Id: I7d0553c70ced46febe2819b457e25a7749f17c71
>> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>>  .../xinput-calibrator/pointercal-xinput/mxs/pointercal.xinput           | 2 ++
>>  recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bbappend       | 2 ++
>
> you can't make this file generic for all mxs products : a calibration
> file is specific to a touchscreen sensors _and_ one display. So it
> should at least be board specific.

Agreed.



--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale




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

* Re: [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs
  2013-04-05 11:55     ` RES: " Angolini Daiane-B19406
@ 2013-04-05 11:57       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-04-05 11:57 UTC (permalink / raw)
  To: Angolini Daiane-B19406; +Cc: meta-freescale Mailing List

On Fri, Apr 5, 2013 at 8:55 AM, Angolini Daiane-B19406
<B19406@freescale.com> wrote:
> Thanks Eric and Otavio.
>
> Otavio, I will talk to you latter today, I will need help on how to handle the calibration for imx28 properly (I mean, not this mxs stuff, but the right calibration approach pointercall/evdev)

Sure; no problem.

> Please, make sure this patch was reverted if it was already applied.

It still on queue, not applied.

Regards,

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


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

end of thread, other threads:[~2013-04-05 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05  1:56 [meta-fsl-demos][PATCH] pointercal-xinput: Add pointercal.xinput to mxs Otavio Salvador
2013-04-05  6:43 ` Eric Bénard
2013-04-05 11:22   ` Otavio Salvador
2013-04-05 11:55     ` RES: " Angolini Daiane-B19406
2013-04-05 11:57       ` Otavio Salvador

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.