#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 09:55:21 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 pgf):

 i thought i had mentioned this earlier on this ticket, but it must have
 been in a different forum:  powerd uses iptables rules to do crude
 monitoring of type and frequency of traffic on the network in order to
 inhibit suspend.  (see the function init_netactivity_tracking() in
 /usr/sbin/powerd.)  (and remember, this is about inhibiting suspend, not
 about causing wakeups.)

 if certain types of traffic occur within 5 seconds of the anticipated
 suspend time, it won't suspend. in particular, powerd currently looks for
 incoming ICMP pings, incoming TCP traffic for already connected sessions,
 and for any outgoing TCP or UDP traffic at all, _except_ for MDNS traffic.
 these choices were partly tuned to letting the laptop go to sleep.  since
 the current problem is that it goes to sleep too much, perhaps some
 tweaking is in order.

 i don't have a suggestion for changing the behavior, but this might give
 those of you who better understand our sharing protocols an idea of what
 might be possible.

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


More information about the Bugs mailing list