yioryos wrote: > > > --- On Thu, 8/13/09, Paul Fox <[email protected]> wrote: > > > From: Paul Fox <[email protected]> > > Subject: Re: New F11 for the XO-1 build 5 > > To: "Yioryos Asprobounitis" <[email protected]> > > Cc: "OLPC Development" <[email protected]>, "OLPC Testing" > <[email protected]>, "Fedora OLPC List" <[email protected]> > > Date: Thursday, August 13, 2009, 5:50 PM > > hi yioryos -- > > > > yioryos wrote: > > > > > > --- On Thu, 8/13/09, James Cameron <[email protected]> wrote: > > > > > > > > rtcwake testing has shown that it needs --utc after the > > > > first shutdown. > > > > Prior to then the /etc/adjtime file is zero. > > > > > > > > > > In my hands both time 'rtcwake -um mem -a -s 10' and 'time > > > rtcwake -m mem -a -s 10' are a hit and miss. '-um' is better > > > (~50%) while without the UCT option is hardly 10%. Usually > > > > what exactly do you mean, by "50%" and "10%". rtcwake > > doesn't wake at all? wakes too soon? > > Either. 10, 50% sucess means wakeup in 11-12sec
okay. waking too soon means you were woken by something other than the RTC. you can "cat /sys/power/wakeup-source" to see what it was. > > hmm. i think we need to step back a bit. > > > > let's ignore powerd for now -- please disable it with: > > # initctl stop powerd > > > > then, let's get rid of spurious wakeups, by turning off > > most wakeup events: > > # echo 0 > > > /sys/power/wakeup_events/all > > > > the lid, the power button, and the RTC alarm should still > > be > > capable of waking the system at this point. > > > > now run: > > # rtcwake --utc -m mem -s 10 > > > > As JC reported, under these conditions the XO wakes up reliably. excellent. so rtcwake is reliable, except for the timezone issue. thanks for your testing. olpc-powerd-10-1.fc11 should be available soon, which contains a workaround for the rtcwake issue. (you can try it sooner by simply adding "--utc" to each of the rtcwake commandlines in the powerd script.) and quozl and i have brought the issue to the attention of the util-linux-ng folks. (it actually seems that the kernel might be treating the daylight savings time field from the RTC a little too casually.) paul =--------------------- paul fox, [email protected]
_______________________________________________ Testing mailing list [email protected] http://lists.laptop.org/listinfo/testing
