keep tracking on suspend/resume

Andy Green andy at openmoko.com
Wed Mar 12 12:09:31 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

>> Hi Andy,
>>
>> Can I know what you are working on about resume issue?
>> It seems that the LCM resuming is still unstable IIRC, so I think you
>> are working on this. I just hope we won't do things duplicated. ;-)
>>
>> Currently, GTA02 can't resume from suspned without pain. It seems that
>> the user space issue. Now, I'm looking on this and to see what block the
>> system resuming.

Right.  The situation AFAIK is

 - If you boot with root=<some hotplugged device>, suspend/resume will
corrupt your root filesystem.  This comes from mainline.  You can work
around it with a hack, involving forced umount and remount on resume,
but it is fundamentally broken and not by us (Eee PC has the same issue BTW)

 - If you boot with jffs2 rootfs, that problem doesn't occur

 - The LCM comes back after a 2s delay, much shorter and it doesn't come
back after register re-init.  Sometimes when it comes back, there is
"black snow" apparently courtesy of the Glamo, but the display is just
about legible

 - Last I looked at it in .tw after 8 or so suspends you might not come
back.  It felt like a race of some kind.

If you see more problems please list them here :-)

>> Additionally, the led flashing after resuming is still. But if we drive
>> LED with GPIO approach like we do in git repository, it might be gone.
>> The question is, which approach will we choose to drive LED?

We should use the GPIO approach for now, something is broken for PWM but
there are too many loose ends floating around right now to care if we
can work around it with GPIO.... it's not like the LEDs aren't broken
anyway for real use by the no base current limit resistor issue.  I
think Willie and my patches for this are now in buildhost too so this is
likely already okay enough.

Wolfgang can you give me a steer what the priority is wrt black snow on
resume, landscape flicker, other suspend issues, aside from helping
Willie as needed, I'm getting a bit lost with open issues now.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFH17nrOjLpvpq7dMoRAvNXAJ4uUSUuC16BsmLDnNpte85xtNLwyACeNizT
tdX0WAJPSiPTkhI+GKMAQUI=
=6fvS
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list