Can't get touch event on Angstrom Linux 2.6.37 and QT



  • Hello!
    My goal is to make a QT application for Technexion DevKit TDM-3730 BlizzardPack. Everything is OK, but it is impossible to click a button with a touchscreen, while with mouse it's ok.

    I've tried evtest, here its output:

    root@devkit:/dev/input# evtest touchscreen0
    Input driver version is 1.0.1
    Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
    Input device name: "prism_st"
    Supported events:
    Event type 0 (Sync)
    Event type 1 (Key)
    Event code 330 (Touch)
    Event type 3 (Absolute)
    Event code 0 (X)
    Value 115
    Min 0
    Max 1499
    Event code 1 (Y)
    Value 397
    Min 0
    Max 899
    Event code 24 (Pressure)
    Value 0
    Min 0
    Max 255
    Testing ... (interrupt to exit)
    Event: time 10551.906098, type 3 (Absolute), code 0 (X), value 735
    Event: time 10551.906129, type 3 (Absolute), code 1 (Y), value 461
    Event: time 10551.906129, type 3 (Absolute), code 24 (Pressure), value 255
    Event: time 10551.906129, -------------- Report Sync ------------
    Event: time 10551.915772, type 3 (Absolute), code 0 (X), value 734
    Event: time 10551.915772, type 3 (Absolute), code 1 (Y), value 460
    Event: time 10551.915802, -------------- Report Sync ------------
    Event: time 10551.925201, type 3 (Absolute), code 0 (X), value 733
    Event: time 10551.925201, type 3 (Absolute), code 1 (Y), value 459
    Event: time 10551.925232, -------------- Report Sync ------------
    Event: time 10551.934570, type 3 (Absolute), code 0 (X), value 732
    Event: time 10551.934600, -------------- Report Sync ------------
    Event: time 10551.943999, type 3 (Absolute), code 0 (X), value 730
    Event: time 10551.944030, type 3 (Absolute), code 1 (Y), value 460
    Event: time 10551.944030, -------------- Report Sync ------------
    Event: time 10551.951659, type 3 (Absolute), code 0 (X), value 728
    Event: time 10551.951690, type 3 (Absolute), code 1 (Y), value 462
    Event: time 10551.951690, type 3 (Absolute), code 24 (Pressure), value 28
    Event: time 10551.951690, -------------- Report Sync ------------
    Event: time 10551.959014, type 3 (Absolute), code 0 (X), value 726
    Event: time 10551.959044, type 3 (Absolute), code 1 (Y), value 464
    Event: time 10551.959044, type 3 (Absolute), code 24 (Pressure), value 1
    Event: time 10551.959044, -------------- Report Sync ------------

    No matter how much I tapped there is no touch event (330).
    I've made a GTK application and it's ok, but it isn't convenient at all. And it seems that touch-event processing realized inside GTK GUI. Am I right?

    Here is my system parameters:
    Host - Linux Mint 15, Linux version 3.8.0-19-generic, QT 5
    Target - Angstrom, Linux version 2.6.37, qt4-embedded - 4.7.3-r33.1.9, tslib
    Cpu- TI Sitara DM3730 1Ghz
    DSP Core - TMS320C64x+ 800Mhz

    Thank you in advance.
    Egor


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.