[PATCH] Added support for host sleep feature

Alberto Panizzo maramaopercheseimorto at gmail.com
Tue Jul 13 04:33:42 EDT 2010


On ven, 2010-07-09 at 06:01 -0700, Amitkumar Karwar wrote:
> 
> > amitkumar wrote:
> >  > From: Amitkumar Karwar <akarwar at marvell.com>
> >  >
> >  > Existing "ethtool -s ethX wol X" command configures hostsleep
> >  > parameters, but those are activated only during suspend/resume,
> >  > there is no way to configure host sleep without actual suspend.
> > 
> > as background, can you expand on how this is useful?  i just spent
> > a bunch of time debugging issues with HOST_SLEEP_CFG and
> > HOST_SLEEP_ACTIVATE (which doesn't work on an 8388) on the XO-1
> > OLPC laptop, and i'm wondering whether or how this would have
> > helped.
> 
> This patch is useful if someone wants to enable host sleep feature without the device entering suspend state.
> 
> The host sleep using device suspend feature is also intact.
> 
> Thanks,
> Amitkumar Karwar

Regards current consumption, maintaining a wireless connection active,
the device consumes circa 30 mA instead of 180 mA of full power idle
mode.
So for embedded devices powered from battery, enabling the Power Save
mode is a huge battery save task.

Best Regards,

-- 
Alberto!

        Be Persistent!
                - Greg Kroah-Hartman (FOSDEM 2010)




More information about the libertas-dev mailing list