#9967 NORM 1.0-sof: 2.6.31.6: libertas suspend fails on XO-1

Zarro Boogs per Child bugtracker at laptop.org
Fri Mar 12 12:39:36 EST 2010


#9967: 2.6.31.6: libertas suspend fails on XO-1
------------------------------------+---------------------------------------
           Reporter:  sascha_silbe  |       Owner:  dsaxena                           
               Type:  defect        |      Status:  assigned                          
           Priority:  normal        |   Milestone:  1.0-software-later                
          Component:  kernel        |     Version:  Development source as of this date
         Resolution:                |    Keywords:  libertas suspend                  
        Next_action:  diagnose      |    Verified:  0                                 
Deployment_affected:                |   Blockedby:                                    
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by sascha_silbe):

 Thanks for the explanations, it's slowly starting to make sense.
 With your patches in olpc-2.6.31-updates, it's working fine for the first
 suspend/resume cycle. But after the cycle WOL is disabled, so it doesn't
 wake up after the next resume. What puzzles me is that resetting the WOL
 state seems to be intentional:

 {{{drivers/net/wireless/libertas/main.c:

 int lbs_resume(struct lbs_private *priv)
 {
         int ret;

         lbs_deb_enter(LBS_DEB_FW);

         priv->fw_ready = 1;
         priv->wol_criteria |= EHS_REMOVE_WAKEUP;

         ret = lbs_host_sleep_cfg(priv, priv->wol_criteria,
                         (struct wol_config *)NULL);

         netif_device_attach(priv->dev);
         if (priv->mesh_dev)
                 netif_device_attach(priv->mesh_dev);

         lbs_deb_leave_args(LBS_DEB_FW, "ret %d", ret);
         return ret;
 }
 }}}

 After commenting out the priv->wol_criteria change and the
 lbs_host_sleep_cfg() call, it works as expected.

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


More information about the Bugs mailing list