Search Linux Wireless

Re: [PATCH] Added support for host sleep feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



amitkumar wrote:
 > From: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
 > 
 > 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.

as an aside, since i know you've helped OLPC with some of these
issues in the past, the pertinent results of my debugging are:
 http://dev.laptop.org/git/olpc-2.6/commit/?h=olpc-2.6.31&id=515dc7313c37218fa02888eb19fba065ca0ab63c
and
 http://dev.laptop.org/git/olpc-2.6/commit/?h=olpc-2.6.31&id=8db05fd8301980cf48ff10f61c977256e1f136b5

other nearby commits, all dated 6/22/2010, are related, but were
less central to the problems we were having.)

paul

 > 
 > This patch adds debugfs command to enable/disable host sleep based on
 > already configured host sleep parameters using wol command.
 > 
 > Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
 > Signed-off-by: Kiran Divekar <dkiran@xxxxxxxxxxx>
 > ---
 >  drivers/net/wireless/libertas/README    |   12 ++++++
 >  drivers/net/wireless/libertas/cmd.c     |   61 ++++++++++++++++++++++++++++-
 >  drivers/net/wireless/libertas/cmd.h     |    2 +
 >  drivers/net/wireless/libertas/debugfs.c |   66 +++++++++++++++++++++++++++++++
 >  drivers/net/wireless/libertas/main.c    |   34 +---------------
 >  5 files changed, 142 insertions(+), 33 deletions(-)
 > 
....

=---------------------
 paul fox, pgf@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux