PDA

View Full Version : How to implement touch screen in Qt-embedded-app for ARM based iMX25 processor board



sanjeet
23rd June 2011, 05:57
Hi,

I'm using qt-4.7.3 for embedded project, i have to implement touch screen feature, my board is ARM based iMX-25 processor board(from freescale).

Can anyone provide me suggestions/solutions for how can i do that...?

Regards,
Sanjeet

webquinty
23rd June 2011, 13:18
Hi,

I'm using qt-4.7.3 for embedded project, i have to implement touch screen feature, my board is ARM based iMX-25 processor board(from freescale).

Can anyone provide me suggestions/solutions for how can i do that...?

Regards,
Sanjeet

Hello,

I think that we need more information abuout your hardware.
Does your touchscreen suport under linux?
When you plug your touch screen, do you have a new event device??
Do you use Qt under framebuffer?
what information give you the follow command "cat /proc/bus/input/devices"

Best regards.
John Martin

sanjeet
25th June 2011, 05:41
Hi John,

First of all thanks for querying.

I am giving answer of query below :

1)My touch screen supporting Linux(2.6.31), and my Host PC is also under Linux(fedora-14).
2)My board having event device. There are four types of devices in /dev/input/ directory event0, event1, keyboard0, ts0. i am using /dev/input/ts0 for touch screen. One more thing i want to tell you that i am having touch screen(including LCD-display) not a separate touch pad.

3)I am using Qt under frame buffer.

4)Output of /proc/bus/input/devices is :

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="mxckpd"
P: Phys=
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=event0
B: EV=3
B: KEY=1c16c0 1d 38000000 10000000

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="imx_adc_ts"
P: Phys=
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003

Sorry for late reply, actually i was trying hard to sort out the problem.

Thanks & regards
Sanjeet

Added after 26 minutes:

Hi,

Now, let me change the question : My touch screen application program(example given by qt framework) not responding properly. Mean i am touching the screen but corresponding event happens some where else in touch area.(like : if am touching right bottom corner area then it's responding in left top area).

I have sort out my previous problem.