From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzVYA-00045m-Oe for qemu-devel@nongnu.org; Mon, 10 Nov 2008 07:07:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzVYA-00045O-3U for qemu-devel@nongnu.org; Mon, 10 Nov 2008 07:07:22 -0500 Received: from [199.232.76.173] (port=46729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzVY9-00045L-TU for qemu-devel@nongnu.org; Mon, 10 Nov 2008 07:07:21 -0500 Received: from qw-out-1920.google.com ([74.125.92.146]:16329) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzVY9-0006SV-IQ for qemu-devel@nongnu.org; Mon, 10 Nov 2008 07:07:21 -0500 Received: by qw-out-1920.google.com with SMTP id 5so1654622qwc.4 for ; Mon, 10 Nov 2008 04:07:19 -0800 (PST) Message-ID: <5d6222a80811100407n6064579dua94b493ea802cbd2@mail.gmail.com> Date: Mon, 10 Nov 2008 10:07:19 -0200 From: "Glauber Costa" Subject: Re: [Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3 state. In-Reply-To: <20081110091205.11822.10344.stgit@dhcp-1-237.local> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081110091134.11822.34230.stgit@dhcp-1-237.local> <20081110091205.11822.10344.stgit@dhcp-1-237.local> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: bochs-developers@lists.sourceforge.net On Mon, Nov 10, 2008 at 7:12 AM, Gleb Natapov wrote: > This is needed to fool windows to enter S3. The trick works for XP and > Windows2003, but Vista still refuse to allow S3. > > Signed-off-by: Gleb Natapov > --- > > bios/acpi-dsdt.dsl | 15 ++ > bios/acpi-dsdt.hex | 373 ++++++++++++++++++++++++++-------------------------- > 2 files changed, 204 insertions(+), 184 deletions(-) > > diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl > index 280a05e..5fc3636 100644 > --- a/bios/acpi-dsdt.dsl > +++ b/bios/acpi-dsdt.dsl > @@ -133,6 +133,21 @@ DefinitionBlock ( > } > > Scope(\_SB.PCI0) { > + Device (VGA) { > + Name (_ADR, 0x00020000) > + Method (_S1D, 0, NotSerialized) > + { > + Return (0x00) > + } > + Method (_S2D, 0, NotSerialized) > + { > + Return (0x00) > + } > + Method (_S3D, 0, NotSerialized) > + { > + Return (0x00) > + } > + } > > /* PIIX3 ISA bridge */ > Device (ISA) { > diff --git a/bios/acpi-dsdt.hex b/bios/acpi-dsdt.hex > index 6088b18..a4c64e6 100644 > --- a/bios/acpi-dsdt.hex > +++ b/bios/acpi-dsdt.hex This one should be generated, right? I don't think we actually need it in the patch -- Glauber Costa. "Free as in Freedom" http://glommer.net "The less confident you are, the more serious you have to act."