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 Application prevents Linux going to sleep on ARM9
Forum Updated to NodeBB v4.3 + New Features

QT Application prevents Linux going to sleep on ARM9

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.0k 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
    mmaaxx
    wrote on last edited by
    #1

    Hi, I'm, writing Qt application that will run on 2.6 Linux on ARM9 board (i.MX28). And I ran into the problem: the OS doesn't go to sleep, if Qt application is running. Here is the log:

    [code]
    root@HOST/opt$ ./digiflip -qws
    Could not read calibration: "/etc/pointercal"
    Initializing QFontEngineQPF failed for /lib/fonts/DejaVuSans.ttf
    Initializing QFontEngineQPF failed for /lib/fonts/DejaVuSans-Bold.ttf
    [ 481.990000] pswitch goto suspend
    [ 481.990000] PM: Syncing filesystems ...
    [ 482.040000] done.
    [ 482.050000] PM: Preparing system for standby sleep
    [ 482.050000] PM: pm_prepare_console
    [/code]

    It should look like this:
    [code]
    root@HOST ~$ [ 292.410000] pswitch goto suspend
    [ 292.410000] PM: Syncing filesystems ...
    [ 292.450000] done.
    [ 292.450000] PM: Preparing system for standby sleep
    [ 292.450000] PM: pm_prepare_console
    [ 292.480000] PM: pm_notifier_call_chain
    [ 292.490000] PM: usermodehelper_disable
    [ 292.490000] PM: suspend_freeze_processes
    [ 292.500000] Freezing user space processes ... (elapsed 0.01 seconds) done.
    [ 292.520000] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
    [/code]

    Any suggestions on where to start debugging?
    Thanks!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      messi
      wrote on last edited by
      #2

      Hi mmaaxx,

      have you made the same test with a simple endless counting program in C/C++?
      Maybe the same problem occurs there too.

      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