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. Qt and tslib, connected and disconnected touch screen
QtWS25 Last Chance

Qt and tslib, connected and disconnected touch screen

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.1k Views
  • 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.
  • W Offline
    W Offline
    webquinty
    wrote on last edited by
    #1

    Hello,

    I have surf in the net looking for a solution or explanation about a problem that I have in my embedded device.

    I use Qt embedded 4.6.2 with tslib to support my touch screen. All works fine.
    But days ago I have found a problem. If I disconnet / connect touch screen from USB while Qt app is running, touch screen doesnt work again. But If I restart Qt app, touch screen works fine again.

    I supposed that problem is linux driver (INPUT driver). I reboot my CPU and linux detect touch screen as input0, event0. Well, now I disconnect and connect again and linux detect my touch screen as input1, event0.

    Ok, the problem is my kernel detect touch screen as different device.
    At the same time, when I disconnect touch screen, Qt app show me this message:
    "tslib: Selected device is not a Linux input event device".

    Any advice.
    Thank you very much.

    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