[meta-freescale] [meta-fsl-demos][PATCH] xserver-xorg: add evdev configuration for the cfa-10057 and cfa-10058 touchscreens

Otavio Salvador otavio at ossystems.com.br
Fri Sep 6 05:15:26 PDT 2013


On Thu, Sep 5, 2013 at 7:27 PM, Alexandre Belloni
<alexandre.belloni at free-electrons.com> wrote:
> On 05/09/2013 23:40, Otavio Salvador wrote:
>> On Thu, Sep 5, 2013 at 6:27 PM, Alexandre Belloni
>> <alexandre.belloni at free-electrons.com> wrote:
>>> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
>> I think this is not for -demos but for the BSP as the calibration is
>> the same for any image. Why you don't use pointercal-xinput for this?
>>
>
> Hum, I saw pointercal-xinput in -demos so I moved it there. I was under

This was there because pointercal-xinput were in meta-openembedded in
past; will fix it.

> the impression that for a resistive touchscreen, you need to calibrate
> each board but maybe I'm wrong. According to
> http://www.lindusembedded.com/blog/2013/02/07/adding-touch-support-in-yocto/,
> xinput-calibrator<https://github.com/tias/xinput_calibrator> is only
> working when the touchscreen has already been calibrated once. This does
> exactly that but without pointercal.xinput being created so we get
> xinput-calibrator on first boot.

In fact xinput-calibrator spawns the process only if it does not find
a usable calibration; so in case you provide it, it won't start as it
can reuse the provided data.

> I didn't exactly test everything myself (my touchscreen is not working)
> and I may be wrong. I'm really open on that particular topic as long as
> we get the touchscreen working ;)

Good; I will send the patch to move pointercal-xinput to meta-fsl-arm,
as it is where it ought to be. Please check the possibility of using
it as it'd avoid a bbappend for xorg and it will be  easier to
maintain in long term.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list