From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 22 20:23:19 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id C14BB1065670; Wed, 22 Oct 2008 20:23:18 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Alexander Motin Date: Wed, 22 Oct 2008 16:23:07 -0400 User-Agent: KMail/1.6.2 References: <1224616985.00027652.1224606603@10.7.7.3> <48FF78F0.2090801@FreeBSD.org> In-Reply-To: <48FF78F0.2090801@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200810221623.09613.jkim@FreeBSD.org> Cc: freebsd-acpi@FreeBSD.org, peter@FreeBSD.org, freebsd-amd64@FreeBSD.org Subject: Re: Semi-working patch for amd64 suspend/resume X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 20:23:19 -0000 On Wednesday 22 October 2008 03:03 pm, Alexander Motin wrote: > Hi. > > Jung-uk Kim wrote: > > I was working on suspend/resume support for amd64 and this is the > > result. It works with a modified QEMU (QEMU does not support S3) > > but real boxes that I have don't seem to like it (e.g., broken > > BIOSes). If there is someone interested in finishing it off or > > giving it a try, the patch is here: > > > > http://people.freebsd.org/~jkim/amd64_suspend.diff > > I have tried it on my Acer TM6292. S1/S2 are unsupported. On S3 > system successfully got down, but on wakeup button, two seconds > after power up, even without video initialization, it shut down, > reset and then started usual boot. I have tried both original and > updated BIOS, without any difference. > > Can I give you any other help? When you do 'sysctl debug.acpi.suspend_bounce=1' and 'acpiconf -s 3', does it bounce back? If it does not, there are other problems, e.g., device drivers. On my desktop, for example, vga(4) tries to restore previous state while resuming but it hangs system. In fact, I believe ISA-era EGA/VGA save/restore routines do not work for modern graphics cards at all. :-( Jung-uk Kim