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. Wake up from suspend-mode on touchscreen
Forum Updated to NodeBB v4.3 + New Features

Wake up from suspend-mode on touchscreen

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

    Platform: Embedded Linux
    Device: 7 inch touchscreen with arm v7
    Qt Version: 4.7.2

    I currently have a QTimer configured to start every X seconds. And a SLOT which is signaled on timeout that has a system command: #
    @system("echo mem > /sys/power/state");@

    This puts my processor into deep sleep mode. The device is configured to wake up on a touchscreen event.
    This is a very sloppy implementation of the touch screen wake/sleep. Ideally I would like to have suggestions to improve on this with the following capabilities.

    I don't want the 'first' touch to be recorded on the device which is used to wake up the device.

    I want to be able to check for touch events before I timeout.

    Any help is appreciated!

    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