#8177 NORM 1.5-F11: ds-backup uses "sleep()", won't wake out of idle suspend.

Zarro Boogs per Child bugtracker at laptop.org
Fri Nov 13 08:27:18 EST 2009


#8177: ds-backup uses "sleep()", won't wake out of idle suspend.
-------------------------------------+--------------------------------------
           Reporter:  cjb            |       Owner:  martin.langhoff
               Type:  enhancement    |      Status:  new            
           Priority:  normal         |   Milestone:  1.5-F11        
          Component:  school server  |     Version:  not specified  
         Resolution:                 |    Keywords:                 
        Next_action:  never set      |    Verified:  0              
Deployment_affected:                 |   Blockedby:                 
           Blocking:                 |  
-------------------------------------+--------------------------------------

Comment(by martin.langhoff):

 Once suspend/resume kinks are ironed out, what I will test here is that
 the /bin/sleep -> libc -> kernel internals stack does the right thing and
 (a) allows the machine to suspend and (b) sets an appropriate rtc wakeup.

 So test plan:

  1. set all "aggressive suspend" options to On
  2. run a test shell script from Terminal.xo and VT
 {{{
 #!/bin/bash -x
 echo Starttime `date -u ` >> /tmp/testsleep
 sleep 180
 echo `date -u `
 sleep 180
 echo Endtime `date -u `
 }}}

 Then start the script, leave machine idle (free to suspend - verify dmesg
 output) and return after 7 minutes.

-- 
Ticket URL: <http://dev.laptop.org/ticket/8177#comment:10>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list