#10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

Zarro Boogs per Child bugtracker at laptop.org
Fri Oct 15 05:44:25 EDT 2010


#10363: Auto-Suspend gets in the way when sharing over Salut
---------------------------------------+------------------------------------
           Reporter:  erikos           |       Owner:  erikos                           
               Type:  defect           |      Status:  new                              
           Priority:  normal           |   Milestone:  10.1.3                           
          Component:  telepathy-salut  |     Version:  Development build as of this date
         Resolution:                   |    Keywords:                                   
        Next_action:  diagnose         |    Verified:  0                                
Deployment_affected:                   |   Blockedby:                                   
           Blocking:                   |  
---------------------------------------+------------------------------------

Comment(by erikos):

 The patch from above does inhibit suspend by creating files based on the
 pid of the process in the powerd inhibit suspend directory.

 We inhibit suspend when we join an activity and when we share one. The
 invite case is handled as well: the inviter does inhibit suspend on his
 machine because he does a private share (handled by the share case) and
 the machine that gets the invite is woken up by the invitation (I guess a
 unicast package, tested with Salut on XO-1).

 Something to note is that the machine does not get into suspend that
 quickly when in shared mode. My loose timing varied from 1 minute to
 several minutes, to not at all. And the activities do not loose sync when
 one of the machines is suspended. They get synced when the machine wakes
 up. So that case is not as critical. The patch might still be worth it,
 since the learners might think that they have not received the information
 yet and wait.

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


More information about the Bugs mailing list