Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPA 5.8 evdevtouch error
Forum Updated to NodeBB v4.3 + New Features

QPA 5.8 evdevtouch error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 1.8k 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.
  • KutyusK Offline
    KutyusK Offline
    Kutyus
    wrote on last edited by Kutyus
    #1

    Hi!

    Sorry for my bad english, i am newbie in qt. I developing a qt embedded app with linuxfb and spi touchscreen. The touchscreen works in evtest, but not in my app. If i switch on the QT_QPA_EVDEV_DEBUG variable, it is the output:

    evdevtouch: Using device /dev/input/event1
    evdevtouch: Protocol type B (mtdev) (multi)
    evdevtouch: min X: 0 max X: 0
    evdevtouch: min Y: 0 max Y: 0
    evdevtouch: min pressure: 0 max pressure: 65535
    evdevtouch: device name: ADS7846 Touchscreen.

    The max values is the interesting parts, all of them are zero, in the evtest they are 4065.

    It is a bug? Any ideas?

    Thanks!

    A 1 Reply Last reply
    0
    • KutyusK Kutyus

      Hi!

      Sorry for my bad english, i am newbie in qt. I developing a qt embedded app with linuxfb and spi touchscreen. The touchscreen works in evtest, but not in my app. If i switch on the QT_QPA_EVDEV_DEBUG variable, it is the output:

      evdevtouch: Using device /dev/input/event1
      evdevtouch: Protocol type B (mtdev) (multi)
      evdevtouch: min X: 0 max X: 0
      evdevtouch: min Y: 0 max Y: 0
      evdevtouch: min pressure: 0 max pressure: 65535
      evdevtouch: device name: ADS7846 Touchscreen.

      The max values is the interesting parts, all of them are zero, in the evtest they are 4065.

      It is a bug? Any ideas?

      Thanks!

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @Kutyus That could be a bug. It's more likely an issue with the driver on your device though. Do you have a way to test the touch screen with another application to see if it is working properly on the device?

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0
      • KutyusK Offline
        KutyusK Offline
        Kutyus
        wrote on last edited by
        #3

        Thank you for answer, i tested it by another app, it was the evtest, whit it working correctly.

        Sorry, i have a mistake, the qt version is 5.3, not 5.8.

        1 Reply Last reply
        0
        • KutyusK Offline
          KutyusK Offline
          Kutyus
          wrote on last edited by
          #4

          I compiled the Qt 5.8.0, and it is solved the problem, the touch pad is working fine.

          A 1 Reply Last reply
          2
          • KutyusK Kutyus

            I compiled the Qt 5.8.0, and it is solved the problem, the touch pad is working fine.

            A Offline
            A Offline
            ambershark
            wrote on last edited by
            #5

            @Kutyus Oh good, that means it was a bug, and that it has been fixed.

            My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

            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