S3 and/or S4 modes for Sony Vaio PCG-v505?

Vladimir Grebenschikov vova at fbsd.ru
Thu Jul 21 05:51:08 GMT 2005


В ср, 20/07/2005 в 20:24 -0400, Alexandre "Sunny" Kovalenko пишет:
> On Wed, 2005-07-20 at 10:58 -0500, Eric Anderson wrote:
> > M. Warner Losh wrote:
> > > In message: <1121757920.1153.22.camel at localhost>
> > >             Vladimir Grebenschikov <vova at fbsd.ru> writes:
> > > : I have same issues with Sony PCG-Z1WA.
> > > 
> > > Same here.  I get the LED on the power light to come back on, and
> > > nothing else.  Makes it hard to do suspend testing :-)
> > 
> > Maybe you are having the same problem I have on my Dell - it drops 
> > directly into the debugger upon resume.   Try typing "reset" or "call 
> > doadump" and see what happens.
> > 
> > Eric
> 
> On my laptop (AVERATEC 3150H) I have seen it stuck in the infinite loop
> in acpi_sleep_machdep (acpi_wakeup.c). 

I had such (or similar) problem on my old Sony Notebook VAIO z505s. It
restored from s4bios, starts and goes to hibernate again in infinite
loop.

There was patch in list, theoretically it should solve problem
--- acpi_wakeup.c.ORIG  Sun May 22 21:22:42 2005
+++ acpi_wakeup.c       Sun May 22 21:25:11 2005
@@ -258,7 +258,8 @@
                        goto out;
                }
 
-               for (;;) ;
+               AcpiOsSleep(5000);
+                intr_resume();
        } else {
                /* Execute Wakeup */
                intr_resume();

I have tried this patch when it was posted - no luck. 

> Apparently my BIOS handles
> suspend as soon as proper bits are set in the register and resumes from
> there as well instead of calling resume vector code. Commenting this
> loop out and restoring interrupts after it got me to suspend with the
> same power savings as Windows (which is not much -- about 3x normal use
> battery life). I don't know how widespread this behavior is, so YMMV.
-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-mobile mailing list