AnsweredAssumed Answered

imx53qsb with ubuntu 10.04 and MCIMX-LVDS1 touchscreen

Question asked by Maciej Łaski on Nov 22, 2012
Latest reply on Oct 30, 2013 by Florian Ludwig
Branched to a new discussion

Hello,

 

I've seen a lot of posts in this forum on how to run MCIMX-LVDS touchscreen using ltib. I think I've managed to do this. With minimal distro build I get output of:

 

lucid@lucid-desktop:~$ sudo cat /dev/input/event2

 

there are a lot of binary data everytime I touch the screen.

 

So I took this kernel and applyed it to the ubuntu image that came with the board (dd it to sdcard) and copy compiled kernel modules.

 

Unfortunately under Ubuntu command:

 

lucid@lucid-desktop:~$ sudo cat /dev/input/event2

 

is totally quiet.

 

The behaviour of touchscreen changed after applying new kernel. Previously after touching it mouse cursor moved to the center of screen. Now it moves to the right bottom corner and generates mouse click (trash folder opens up).

 

I got:

 

lucid@lucid-desktop:~$ sudo lsinput

 

[...]

 

/dev/input/event2

 

   bustype : BUS_I2C

 

   vendor  : 0xeef

 

   product : 0x20

 

   version : 1

 

   name    : "eGalax Touch Screen"

 

   phys    : "I2C"

 

   bits ev : EV_SYN EV_KEY EV_ABS

 

[...]

 

Using evtest I get the event from eGalax but they are always in the same point: (9088, 12224)

 

lucid@lucid-desktop:~$ sudo evtest /dev/input/event2

 

Input driver version is 1.0.0

 

Input device ID: bus 0x18 vendor 0xeef product 0x20 version 0x1

 

Input device name: "eGalax Touch Screen"

 

Supported events:

 

  Event type 0 (Sync)

 

  Event type 1 (Key)

 

    Event code 330 (Touch)

 

  Event type 3 (Absolute)

 

    Event code 0 (X)

 

      Value   9088

 

      Min        0

 

      Max    32767

 

    Event code 1 (Y)

 

      Value  12224

 

      Min        0

 

      Max    32767

 

    Event code 24 (Pressure)

 

      Value      0

 

      Min        0

 

      Max        0

 

Testing ... (interrupt to exit)

 

eGalax is compiled as part of kernel not module.

 

Linux image generated by ltib is unusable for early development. Example ubuntu image has everything needed (besides working touchscreen) and working fine.

 

If someone have already configured MCIMX-LVDS1 to work with example Ubuntu 10.04 please help.

 

Regards

 

Maciej Łaski


Outcomes