Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qt5 Raspbian eGalax Failing touchscreen interaction
Forum Updated to NodeBB v4.3 + New Features

Qt5 Raspbian eGalax Failing touchscreen interaction

Scheduled Pinned Locked Moved QtonPi
20 Posts 6 Posters 19.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    migsada
    wrote on last edited by
    #7

    I`ve followed instructions but qt app ignore touchscreen events.

    Could be a calibration problem?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      learc83
      wrote on last edited by
      #8

      Do you get a message in the Qt terminal about using evdevtouch with your touchscreen right after you launch the app?

      [quote author="migsada" date="1358780864"]I`ve followed instructions but qt app ignore touchscreen events.

      Could be a calibration problem?[/quote]

      1 Reply Last reply
      0
      • M Offline
        M Offline
        migsada
        wrote on last edited by
        #9

        I launch qt app directly, without loading windows manager (startX), and it shows this:

        evdevtouch: Using device /dev/input/event0
        min X:0 max X:0
        min Y:0 max Y:0
        min pressure: 0 maxpressure: 0
        device name: HID 04e7:0020
        protocol type A

        1 Reply Last reply
        0
        • L Offline
          L Offline
          learc83
          wrote on last edited by
          #10

          Reading the evdevtouch plugin readme, it looks like single touch devices that only pass the absolute value of x and y are not supported.

          The readme says to try tslib or evdevmouse instead.

          Try passing the same paramters but replace evdevtouch with tslib and evdevmouse instead.

          Here is the readme if you want to check it out.

          http://qt.gitorious.org/qt/qtbase/blobs/bb4e8e37d2934147c3654d25c6688bb24f30a2f2/src/plugins/generic/evdevtouch/README

          1 Reply Last reply
          0
          • M Offline
            M Offline
            migsada
            wrote on last edited by
            #11

            Thank you learc83, with evdevmouse works.

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koalo
              wrote on last edited by
              #12

              Is there any possibility to calibrate evdevmouse?

              1 Reply Last reply
              0
              • T Offline
                T Offline
                Tannyveer
                wrote on last edited by
                #13

                Hi
                I am working on touch based Qt appliction in raspberry pi.
                after running my Qt app touch screen cannot respond. It shows error on qt app terminal like "evdevtouch: Could not read from input device (No such device) "
                i will try the plugin s
                -plugin evdevmouse:dev/input/event1
                -plugin tslib:dev/input/event1 cannt work for me

                but when i used the -plugin evdevtouch:dev/input/event1 it shows
                evdevtouch: Invalid ABS limits behaviour unspecified

                please give me any suggestions

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  learc83
                  wrote on last edited by
                  #14

                  Your touchscreen is definitely event1? Is your touchscreen multitouch? Does it work outside of Qt?

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    Tannyveer
                    wrote on last edited by
                    #15

                    My touch screen is egalax 7 inch touch screen i check the touch scrren event i.e is 1 only

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      learc83
                      wrote on last edited by
                      #16

                      Is it working outside of Qt, that is can you use it in Raspbian or whatever OS you're using?

                      Looking through the Qt source code the warning you're getting is caused when the touchscreen doesn't respond correctly to a system call asking for the minimum and maximum of the x y values.

                      If that is the case then I'm not really sure what you can do about it.

                      There was, however, a fairly recent patch to this system call in the source code. Are you running the latest version of Qt5?

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        learc83
                        wrote on last edited by
                        #17

                        I also found another person using your touchscreen who got it to work with tslib instead of evdevtouch.

                        http://qt-project.org/forums/viewthread/24199

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          Tannyveer
                          wrote on last edited by
                          #18

                          Yep i am using raspbian os and Qt5.
                          Is it posible to rut Qt5 apps with this egalax touchscreen.
                          If it is working please guide me, i was struck from last 5 days.

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            learc83
                            wrote on last edited by
                            #19

                            I haven't used a egalax touchscreen so I don't know. However the person on the thread I posted above seemed to be able to get one working With Qt5 using tslib.

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Sebastian82
                              wrote on last edited by
                              #20

                              PING
                              I uses actually an eGalax 7" Touchscreen. Touch input inside of the QT Application is done by TSLIB, but an interaction with the desktop in the background is still there ... why ??? is there a way to fix this ?

                              Regards

                              Sebastian

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved