How to work with touch screen ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to work with touch screen ?

4,156件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
12 返答(返信)

2,950件の閲覧回数
Nico
Contributor II

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

how to calibrate the touch screen

0 件の賞賛
返信

2,950件の閲覧回数
snan1z
Contributor I

Yi,

 

Can you use ts_calibrate command ?

0 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
RichardXiao
Contributor I
Test by OBDS.SB
0 件の賞賛
返信

2,950件の閲覧回数
VladanJovanovic
NXP Employee
NXP Employee

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

0 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
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 件の賞賛
返信

2,950件の閲覧回数
snan1z
Contributor I
also i cant see it under /dev/input
0 件の賞賛
返信