i.MX53 Qt LVDS Display

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX53 Qt LVDS Display

i.MX53 Qt LVDS Display

This is a workaround—this page needs to be updated to add instructions for multi-touch support.


Based on Freescale BSP 11.05.

The LVDS panel (MCIMX-LVDS1) has a serial multi-touch controller, eGalax. As a workaround to have it supported on directly on Qt, we can force the driver to behave as a single touch. To do this:

1 - Edit the file ltib/rpm/BUILD/linux-2.6.35.3/drivers/input/touchscreen/egalax_ts.c adding the following line:

+ #define FORCE_SINGLE_POINTER_SUPPORT 1

2 - Compile the kernel

./ltib -m scbuild -p kernel

3 - Copy the new kernel to Card/Memory and boot it.

4 - Start your Qt app:

$ Xfbdev -screen 1024x768 -mouse tslib,,device=/dev/input/event0  &
$ export DISPLAY=:0.0
$ ./yourQTapp

Note: You can read the touch events with "evtest"

$ evtest  /dev/input/event0

or tslib apps:

$ export TSLIB_TSDEVICE=/dev/input/event0
$ ts_print
Labels (1)
No ratings
Version history
Last update:
‎09-10-2020 02:52 AM
Updated by: