(fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )

Yioryos Asprobounitis mavrothal at yahoo.com
Mon Mar 29 15:35:12 EDT 2010


--- On Sun, 3/28/10, Paul Fox <pgf at laptop.org> wrote:

> From: Paul Fox <pgf at laptop.org>
> Subject: Re: (fwd) Re: powerd on XO-1 (was Re: New release ... OS13 )
> To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
> Cc: "OLPC Devel" <devel at lists.laptop.org>, "fedora-olpc-list" <fedora-olpc-list at redhat.com>
> Date: Sunday, March 28, 2010, 11:40 AM
> yioryos wrote:
>  > So SLEEP basically drops connections and then the
> XO-1 fails
>  > to DIM or BLANK.  Setting SLEEP time _after_ DIM
> and BLANK has
> 
> sounds like something's going wrong for you that isn't
> going wrong
> for me:  dim and blank happen correctly after sleep
> for me.
> 
>  > the expected behavior.  In all cases the XO
> fails to reconnect
>  > to the preferred network after wakeup from
> SLEEP.  I settled
> 
> i haven't tested networking robustness on os13, so can't
> speak to
> this.
> 
> please file tickets for the problems you're seeing, and
> attach
> dmesg output, as well as powerd.trace.  (enable powerd
> tracing
> with "sudo powerd-config =trace-on".)

Well, my predicament with powerd and a proper ticket filling is that I can get no logs. So I'll describe the story instead ...:-)

Test settings SLEEP=15 DIM=30 BLANK=45 running on battery. os13 (clean). XO-1 CL1 Firmware q2e42d(not overclocked, no SDcard or anything attached to it)

Without trace-on the XO will sleep and will _not_ dim or blank. On slight touchpad touch after the timeouts (or spontaneous if you let it long enough) will wake to dim and then blank. Power button wakes it up fine but no trace log.

With trace-on, same behavior but on slight touch of the touchpad (or spontaneously) will wake to dim and freeze there. After hard reboot no trace log either :( and no I do not have a serial port adapter) 
It's a clue though (I hope) 

If while at sleep, pass dim or blank time points, you wake it up by typing or rubbing the touchpad constantly, will wake, dim and then recover to normal operation. This is where the attached powerd.trace is coming from.

It would appear that the kernel configuration is also relevant. With the os13 kernel I also got a freeze without the trace-on (1 in 5 tests). With the 2010322 kernel never (in 6 tests). Using one of my kernels patched for Aufs and with hfsplus, sisusbvga modules and in-kernel loop enabled, I can not get it to sleep unless both DIM and BLANK are before SLEEP time (I could provide config diffs and trace logs if you think it may help the issue at hand)  

> 
> paul
> 
> 
>  > in DIM=180, BLANK=480, SLEEP=600.  No huge power
> savings but
>  > at least the build is usable.
>  >   
>  > 
>  > --- On Sat, 3/27/10, Paul Fox <pgf at laptop.org>
> wrote:
>  > 
>  > > From: Paul Fox <pgf at laptop.org>
>  > > Subject: Re: (fwd) Re: powerd on XO-1 (was Re:
> New release ... OS13 )
>  > > To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
>  > > Cc: "OLPC Devel" <devel at lists.laptop.org>,
> "fedora-olpc-list" 
>  > <fedora-olpc-list at redhat.com>
>  > > Date: Saturday, March 27, 2010, 1:26 PM
>  > > yioryos wrote:
>  > >  > I guess the question is: is os13
> usable at this
>  > > stage?
>  > >  > Should power management be be
> inactivated in the
>  > > control panel?
>  > >  > Are there appropriate/recommended
> powerd.conf
>  > > settings for the XO-1 at this 
>  > >  > stage?
>  > > 
>  > > maybe, i don't know, and i don't know.
>  > > 
>  > > paul
>  > > =---------------------
>  > >  paul fox, pgf at laptop.org
>  > > 
>  > 
>  > 
>  >       
> 
> =---------------------
>  paul fox, pgf at laptop.org
>


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: powerd.trace.gz
Type: application/x-gzip
Size: 2215 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/devel/attachments/20100329/c481ae0d/attachment.bin 


More information about the Devel mailing list