Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 16:23:07 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-acpi@FreeBSD.org, peter@FreeBSD.org, freebsd-amd64@FreeBSD.org
Subject:   Re: Semi-working patch for amd64 suspend/resume
Message-ID:  <200810221623.09613.jkim@FreeBSD.org>
In-Reply-To: <48FF78F0.2090801@FreeBSD.org>
References:  <1224616985.00027652.1224606603@10.7.7.3> <48FF78F0.2090801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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