From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 21 05:51:08 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15E9D16A421 for ; Thu, 21 Jul 2005 05:51:08 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3C6843D48 for ; Thu, 21 Jul 2005 05:51:06 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.51 (FreeBSD)) id 1DvTxO-0000JO-7I; Thu, 21 Jul 2005 09:50:54 +0400 From: Vladimir Grebenschikov To: "Alexandre \"Sunny\" Kovalenko" In-Reply-To: <1121905481.658.7.camel@RabbitsDen> References: <1121757920.1153.22.camel@localhost> <20050720.091252.101559448.imp@bsdimp.com> <42DE74A7.8000603@centtech.com> <1121905481.658.7.camel@RabbitsDen> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 21 Jul 2005 09:50:53 +0400 Message-Id: <1121925053.1142.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Eric Anderson , jvk-list@thekrafts.org, freebsd-mobile@freebsd.org Subject: Re: S3 and/or S4 modes for Sony Vaio PCG-v505? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 05:51:08 -0000 =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 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 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; } =20 - for (;;) ; + AcpiOsSleep(5000); + intr_resume(); } else { /* Execute Wakeup */ intr_resume(); I have tried this patch when it was posted - no luck.=20 > 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