Re: Suspend Problem
"andrzej zaborowski" <[email protected]> Mon, 22 Jan 2007 21:55:40 +0100
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 22/01/07, Paul Sokolovsky <[email protected]> wrote: > Monday, January 22, 2007, 5:40:12 PM, you wrote: > > and the kernel waits for the console to be set back to the text mode > > somewhere in the suspend code, I don't remember where, using > > > if (vt_waitactive(SUSPEND_CONSOLE)) { > > Funky. Just to double-check: hang on *suspend* or resume? Can you > describe symptoms of hang (what's on screen, can device be pinged, > etc). Thanks. I never saw hang on suspend with Familiar's or OE.dev's > OPIE builds, but there're few reports of hang on resume, and I can > reproduce it on hx4700, but there I believe it is due to broken > suspend/resume in w100 accel support. The symptoms were similar to those described by Brian Wang: > strace "echo mem > /sys/power/state" will stop at 'write(1, "mem\n", > 4' and the shell is still responsive until "Ctrl + C" is pressed. The > system will subsequently go into sleep and can be waken up by the > assigned IRQ. > > Without the SDL application running, suspending the system will bring > the system to the suspended state immediately. but since I didn't experience this personally (it happened on LifeDrive, T3 and Zire 72 as seen in http://hackndev.svn.sourceforge.net/viewvc/hackndev/linux4palm/linux/trunk/kernel/power/console.c?view=log#rev647), I'm unable to give more information. The file history shows first a fix for the hang during suspending and then more fixes for the resuming, and the lockups can be explained by the source llines from qt and kernel/power/console.c (provided VT_CONSOLE is enabled). Cheers, Andrzej _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel