Yocto and Qt-embedded problem on iMX53 QSB

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

Yocto and Qt-embedded problem on iMX53 QSB

1,222 Views
GiovanniFoiani
Contributor I

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?

Thanks

Giovanni

Labels (1)
Tags (2)
0 Kudos
1 Reply

603 Views
PaulEggleton
Contributor I

Hi Giovanni,


Sorry for not responding sooner. I've seen you posting recently on the Yocto Project mailing list and did not see your question there, so I assume you eventually got this fixed?

Cheers,
Paul

0 Kudos