Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 10:08:10 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Cc:        Eric Anderson <anderson@centtech.com>, jvk-list@thekrafts.org, freebsd-mobile@freebsd.org
Subject:   Re: S3 and/or S4 modes for Sony Vaio PCG-v505?
Message-ID:  <1121926090.1142.8.camel@localhost>
In-Reply-To: <1121925053.1142.2.camel@localhost>
References:  <dbh52u$fct$1@sea.gmane.org> <1121757920.1153.22.camel@localhost> <20050720.091252.101559448.imp@bsdimp.com> <42DE74A7.8000603@centtech.com> <1121905481.658.7.camel@RabbitsDen> <1121925053.1142.2.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =DE=D4, 21/07/2005 =D7 09:50 +0400, Vladimir Grebenschikov =D0=C9=DB=C5=
=D4:
> =F7 =D3=D2, 20/07/2005 =D7 20:24 -0400, Alexandre "Sunny" Kovalenko =D0=
=C9=DB=C5=D4:
> > On Wed, 2005-07-20 at 10:58 -0500, Eric Anderson wrote:
> > > M. Warner Losh wrote:
> > > > In message: <1121757920.1153.22.camel@localhost>
> > > >             Vladimir Grebenschikov <vova@fbsd.ru> writes:
> > > > : I have same issues with Sony PCG-Z1WA.
> > > >=20
> > > > Same here.  I get the LED on the power light to come back on, and
> > > > nothing else.  Makes it hard to do suspend testing :-)
> > >=20
> > > Maybe you are having the same problem I have on my Dell - it drops=20
> > > directly into the debugger upon resume.   Try typing "reset" or "call=
=20
> > > doadump" and see what happens.
> > >=20
> > > Eric
> >=20
> > On my laptop (AVERATEC 3150H) I have seen it stuck in the infinite loop
> > in acpi_sleep_machdep (acpi_wakeup.c).=20
>=20
> 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.
>=20
> 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;
>                 }
> =20
> -               for (;;) ;
> +               AcpiOsSleep(5000);
> +                intr_resume();
>         } else {
>                 /* Execute Wakeup */
>                 intr_resume();
>=20
> I have tried this patch when it was posted - no luck.=20

Tried with VAIO Z1 (not with z505s)

> > 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.
--=20
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121926090.1142.8.camel>