From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 22 20:44:24 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 330C91065670 for ; Mon, 22 Jun 2009 20:44:24 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by mx1.freebsd.org (Postfix) with ESMTP id 099498FC14 for ; Mon, 22 Jun 2009 20:44:23 +0000 (UTC) (envelope-from robert.moore@intel.com) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 22 Jun 2009 13:44:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,271,1243839600"; d="scan'208";a="157273291" Received: from orsmsx603.amr.corp.intel.com ([10.22.226.49]) by azsmga001.ch.intel.com with ESMTP; 22 Jun 2009 13:44:23 -0700 Received: from orsmsx503.amr.corp.intel.com ([10.22.226.47]) by orsmsx603.amr.corp.intel.com ([10.22.226.49]) with mapi; Mon, 22 Jun 2009 13:44:22 -0700 From: "Moore, Robert" To: "hexanism@gmx.de" , "freebsd-acpi@freebsd.org" Date: Mon, 22 Jun 2009 13:44:21 -0700 Thread-Topic: Resume problem (Motherboard: MSI 790GX-G65) Thread-Index: AcnzdELERgkdmtcES+Kmkz8afF88vAABaWXg Message-ID: <4911F71203A09E4D9981D27F9D8308582E843FA2@orsmsx503.amr.corp.intel.com> References: <4A3DEEFC.4010204@gmx.de> <4911F71203A09E4D9981D27F9D8308582E8438B7@orsmsx503.amr.corp.intel.com> <4A3FE2A0.8060409@gmx.de> In-Reply-To: <4A3FE2A0.8060409@gmx.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: RE: Resume problem (Motherboard: MSI 790GX-G65) 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: Mon, 22 Jun 2009 20:44:24 -0000 >thank you very much Robert for patching the dsdt. I compiled it by >myself and got five other errors (Use of reserved word: _T_0, _T_1). I >don't know if these are severe. I loaded your patched dsdt instead of This error has been reduced to a remark in newer versions of the compiler. = They are compiler temporary variables that are introduced during the compil= ation of the original source by the bios vendor. They appear when the origi= nal (compiled) code is disassembled. >-----Original Message----- >From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd- >acpi@freebsd.org] On Behalf Of hexanism@gmx.de >Sent: Monday, June 22, 2009 12:59 PM >To: freebsd-acpi@freebsd.org >Subject: Re: Resume problem (Motherboard: MSI 790GX-G65) > >Hello, > >thank you very much Robert for patching the dsdt. I compiled it by >myself and got five other errors (Use of reserved word: _T_0, _T_1). I >don't know if these are severe. I loaded your patched dsdt instead of >the original one and I got the same behavior (the pc does not resume). >As Jung-uk pointed out, S3 is not supported for i386/SMP which I did not >know. I would love to run FreeBSD/amd64. I had it installed some weeks >ago (7.0, I think)but unfortunately S3 was missing when executing >'sysctl hw.acpi.supported_sleep_state'. So I decided to check FreeBSD/i386= . > >If I got it right then it does not make sense trying to get S3 working >on FreeBSD/i386 because of missing SMP support. On the other hand there >is the problem of the missing S3 value in >'hw.acpi.supported_sleep_state'. Is S3 generally not supported in >FreeBSD/amd64, or is it because of the buggy BIOS of this specific >motherboard? Is there a chance to get S3 working for my machine? > >Thank you very much for your help. > >regards, > >Chris > > > > >Moore, Robert wrote: >> Attached are the updated DSDT and output from iASL, and compiled AML >file. >> >> >> >> >> >>> -----Original Message----- >>> From: owner-freebsd-acpi@freebsd.org [mailto:owner-freebsd- >>> acpi@freebsd.org] On Behalf Of hexanism@gmx.de >>> Sent: Sunday, June 21, 2009 1:28 AM >>> To: freebsd-acpi@freebsd.org >>> Subject: Resume problem (Motherboard: MSI 790GX-G65) >>> >>> Hello, >>> >>> I am using suspend/resume (S3) a lot in Linux. Unfortunately I could no= t >>> get it to work with FreeBSD. I wanted to solve the Problem by trying th= e >>> hints in the FreeBSD manual. I could not get it to work. Maybe someone >>> can point me in the right direction, I do not have any experience with >>> ACPI/dsdt debugging. >>> >>> The motherboard I am using is a MSI 790GX-G65 featuring the AMD 790 >>> Chipset. This model is quite a new AM3 board. It has an onboard >>> 3D-accelerated AMD graphics card. The Bios is up to date (Revision 1.3)= . >>> I am using FreeBSD 7.2-RC2 with the generic kernel (I also did all >>> the testing with another hardrive using FreeBSD 7.2-RELEASE). >>> >>> Suspend and resume work with Linux (Ubuntu 9.04) and Windows XP 64 >>> flawlessly. >>> >>> S1 freezes the screen about two seconds after calling "acpiconf -s 1". >>> Then I have to press the reset button. S3/suspend seems to work. The >>> Fans and drives turn off and the power led acts exactly the same way as >>> it acts under Linux and Windows. Under Linux/Windows I can resume by >>> Keyboard. Under FreeBSD that does not work, I have to press the power >>> button to get the computer to react. Unfortunately the screen stays >>> black (drives and fans do get turned on). I have to press the reset >button. >>> >>> I inspected the dsdt of my motherboard: >>> >>> http://innoits.de/chris-msi790gx65.asl >>> >>> There are a lot of errors when recompiling with iasl (about 180 Errors, >>> most of them "Object does not exist"). I downloaded the ACPI >>> specifications (3.0a, 3.0b and 4.0) but could not fix the Errors (I >>> started with the first one ;)) due to my lack of knowledge concerning >ACPI. >>> >>> What can I do now? Most of the errors are of the same type. I hope that >>> ther is a simple solution that I just can't solve by myself. Is there a >>> good beginner friendly dsdt tutorial around? Is it possible that the >>> dsdt of my motherboard uses a newer ACPI revision (4.0) and thus is >>> incompatible with the current version of iasl? >>> >>> Thank you very much for reading this... >>> >>> Chris >>> >>> >> >>