powerd and wlanpacket [PATCH] revised patches

Paul Fox pgf at laptop.org
Mon Feb 27 07:54:17 EST 2012

jerry wrote:
 > On Sun, 2012-02-26 at 10:46 -0500, Paul Fox wrote:
 > > 
 > > first, to clarify:  "DCON" doesn't take over the system.  powerd uses
 > > the DCON to blank the screen -- that's all it does.  it has no effect
 > > whatsoever on wireless.  i don't believe there can be a race condition
 > > there.
 > > 
 > > what _does_ happen, soon after we prepare for sleeping by setting the
 > > wireless wakeup conditions with ethtool, is we call rtcwake.  that's
 > > where the system suspends.
 > > 

i don't think i answered this:

 > After every almost every rtcwake there is DCON activity, is that not
 > what causes the need to re-set the wol setting? 

no.  the wol setting is lost when the system comes out of suspend,
i.e., when rtcwake completes, in this case.  the loss of wol settings
is a bug, which is no longer present in 3.0 and later kernels.

 paul fox, pgf at laptop.org

More information about the Devel mailing list