i.MX53 Qt LVDS Display

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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
标签 (1)
无评分
版本历史
最后更新:
‎09-10-2020 02:52 AM
更新人: