No image on touchscreen

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

No image on touchscreen

ソリューションへジャンプ
1,780件の閲覧回数
alexandrglukhov
Contributor III

Hello, I have a problem with image on touchscreen on i.MX28 with Linux.

When I run java awt application, I see image on VGA monitor, but there is nothing on touchscreen.

I typing:

export DISPLAY=:0

export TSLIB_TSDEVICE=/dev/input/ts0

Xfbdev -mouse tslib,2,device=/dev/input/ts0 &

But image is appearing only on VGA screen. When I touches touchscreen, I see cursor running on VGA screen.

Also I tried to calibrate

ts_calibrate

then I see on console of COM-port, that it is reading my touches, but there is nothing on touch anyway.

And i tried evtest too:

root@freescale ~$ evtest /dev/input/ts0

Input driver version is 1.0.0

Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0

Input device name: "MXS touchscreen"

Supported events:

  Event type 0 (Sync)

  Event type 3 (Absolute)

    Event code 0 (X)

      Value   1758

      Min        0

      Max     4095

    Event code 1 (Y)

      Value   2015

      Min        0

      Max     4095

    Event code 24 (Pressure)

      Value      0

      Min        0

      Max        1

Testing ... (interrupt to exit)

And when I touch it:

Event: time 43.599315, type 3 (Absolute), code 24 (Pressure), value 1

Event: time 43.639031, type 3 (Absolute), code 0 (X), value 2110

Event: time 43.639031, type 3 (Absolute), code 1 (Y), value 2857

Event: time 43.639063, -------------- Report Sync ------------

Event: time 43.682999, type 3 (Absolute), code 0 (X), value 2105

Event: time 43.683031, type 3 (Absolute), code 1 (Y), value 2851

Event: time 43.683031, type 3 (Absolute), code 24 (Pressure), value 0

Event: time 43.683031, -------------- Report Sync ------------

Event: time 44.163057, type 3 (Absolute), code 24 (Pressure), value 1

Event: time 44.203028, type 3 (Absolute), code 0 (X), value 3686

Event: time 44.203059, type 3 (Absolute), code 1 (Y), value 3326

Event: time 44.203059, -------------- Report Sync ------------

Event: time 44.243062, type 3 (Absolute), code 0 (X), value 3704

Event: time 44.243093, type 3 (Absolute), code 1 (Y), value 3281

Event: time 44.243093, -------------- Report Sync ------------

Event: time 44.287000, type 3 (Absolute), code 0 (X), value 3708

Event: time 44.287031, type 3 (Absolute), code 1 (Y), value 1939

Event: time 44.287031, type 3 (Absolute), code 24 (Pressure), value 0

Event: time 44.287031, -------------- Report Sync ------------

So, what should I do, to see something on touchscreen?

ラベル(3)
タグ(3)
0 件の賞賛
返信
1 解決策
1,504件の閲覧回数
alexandrglukhov
Contributor III

Well, I just download another version of Linux image and replace files uImage and imx28_ivt_linux.sb and all works now! That was easy)

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,505件の閲覧回数
alexandrglukhov
Contributor III

Well, I just download another version of Linux image and replace files uImage and imx28_ivt_linux.sb and all works now! That was easy)

0 件の賞賛
返信