Giovanni Foiani

Yocto and Qt-embedded problem on iMX53 QSB

Discussion created by Giovanni Foiani on May 10, 2012
Latest reply on Aug 2, 2012 by Paul Eggleton

Hi all,


I successfully built an image for iMX53 QSB using Yocto.

I included qt4-embedded in the build and I need to interact with a Qt application using a MCIMX-LVDS touchscreen.

The display seems to work good in viewing but running a demo application (qtdemoE) I can't interact with the application, hence the touchscreen doesn't work fine as input device.

I set

QWS_MOUSE_PROTO=Tslib:/dev/input/event2  (default was touchscreen0)


The device seems to be correctly recognized as "eGalax Touch Screen" because running:


root@imx53qsb:~# cat /proc/bus/input/devices

I: Bus=0018 Vendor=0eef Product=0020 Version=0001
N: Name="eGalax Touch Screen"
P: Phys=I2C
S: Sysfs=/devices/platform/imx-i2c.2/i2c-2/2-0004/input/input2
U: Uniq=
H: Handlers=mouse0 event2
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003


and trying if the input works..


root@imx53qsb:~# cat /dev/input/event2 | hexdump
0000000 7f09 097f 1e7f 7f09 0900 0045 8939 09f1
0000010 0f77 8939 09f1 0f77 8939 09f1 0f77 0029
0000020 39ff ef87 0008 0900 0f78 0008 3900 cbdd



I got an output when I touch the screen..

Any idea about why the touch doesn't work?