How to work with touch screen ?

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

How to work with touch screen ?

3,103 Views
snan1z
Contributor I

Hi all,

 

I want to use my MCIMX28LCD Seiko 4.3" touch screen. but i can't. I tried to enable it from kernel configuration "Device Drivers/input device support / touch screens / MXS LRADC-based touchscreen" but it fails.

 

Please kindly help

 

Regards,

Sinan

Labels (1)
0 Kudos
12 Replies

1,897 Views
Nico
Contributor II

I'm using a touchscreen TSC2006 with LTIB (linux 2.6.35 ) on iMX28.

how to calibrate the touch screen

0 Kudos

1,897 Views
snan1z
Contributor I

Yi,

 

Can you use ts_calibrate command ?

0 Kudos

1,897 Views
YiLi
Contributor I

A related question, any one know how to configure the touch screen on ubuntu. I can see the pen up/down event from dmesg but could not press down any icon.

 

cat /dev/input/ 
event0 event2 event4 mice mouse1 
event1 event3 event5 mouse0

 

Thanks,

Yi

0 Kudos

1,897 Views
snan1z
Contributor I

Vladan,

 

I have "ts0, event0, mice" under /dev/input so i tried it with ts0 and event0 but i cant use touch screen with Qt.

 

Richard,

 

i didn't try OBDS.SB, but i think OBDS.SB tests only touch screen, not with Qt.

 

there may be problem with Qt/demos ? ( i used /demos/embedded/fluidlauncher to test like "./fluidlauncher -qws" )

0 Kudos

1,897 Views
RichardXiao
Contributor I

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX28_SW&fr=g

 



Sinan Emre Kutlu said:

Vladan,

 

I tried it with "/dev/input/ts0" and "/dev/input/event0", but nothing happened.

 

Richard,

 

What is it? i searched from google but it outputs nothing.

0 Kudos

1,897 Views
VladanJovanovic
NXP Employee
NXP Employee

Sorry, my mistake.

export TSLIB_TSDEVICE=/dev/input/event1

export QWS_MOUSE_PROTO=tslib:/dev/input/event1

 

First one tells tslib what to use as touch input. Second one tells Qt what to use as input.

0 Kudos

1,897 Views
snan1z
Contributor I

Vladan,

 

I tried it with "/dev/input/ts0" and "/dev/input/event0", but nothing happened.

 

Richard,

 

What is it? i searched from google but it outputs nothing.

0 Kudos

1,897 Views
RichardXiao
Contributor I
Test by OBDS.SB
0 Kudos

1,897 Views
VladanJovanovic
NXP Employee
NXP Employee

Did you run "export TSLIB_TSDEVICE=/dev/input/event2" before starting the Qt app?

0 Kudos

1,897 Views
snan1z
Contributor I

Ok, i solved the problem, but i got a newer one. i can calibrate touch screen and test with "ts_calibrate","ts_test". but i cant use it with QT. In qt conf, i add -qt-mouse-tslib option but i couldn't use it.

0 Kudos

1,897 Views
BryanJI
Contributor I

PLZ copy your boot message then you can know what's wrong.

There are too many reasons could cause this.

 

Using dmesg to check

0 Kudos

1,897 Views
snan1z
Contributor I
also i cant see it under /dev/input
0 Kudos