From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 22 20:00:35 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 583FD1065677 for ; Mon, 22 Jun 2009 20:00:35 +0000 (UTC) (envelope-from hexanism@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 935518FC12 for ; Mon, 22 Jun 2009 20:00:32 +0000 (UTC) (envelope-from hexanism@gmx.de) Received: (qmail invoked by alias); 22 Jun 2009 19:59:32 -0000 Received: from koln-4db410de.pool.einsundeins.de (EHLO phenom.home.network) [77.180.16.222] by mail.gmx.net (mp065) with SMTP; 22 Jun 2009 21:59:32 +0200 X-Authenticated: #12668306 X-Provags-ID: V01U2FsdGVkX1+zupgx09Wzun/FQGp+qDMhPdIbdiOatMX0ebbqxZ JKmqGxbxkOW465 Message-ID: <4A3FE2A0.8060409@gmx.de> Date: Mon, 22 Jun 2009 21:59:28 +0200 From: "hexanism@gmx.de" User-Agent: Thunderbird 2.0.0.21 (X11/20090605) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <4A3DEEFC.4010204@gmx.de> <4911F71203A09E4D9981D27F9D8308582E8438B7@orsmsx503.amr.corp.intel.com> In-Reply-To: <4911F71203A09E4D9981D27F9D8308582E8438B7@orsmsx503.amr.corp.intel.com> Content-Type: multipart/mixed; boundary="------------070401030001050607010509" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51,0.57 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:00:35 -0000 This is a multi-part message in MIME format. --------------070401030001050607010509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 not >> get it to work with FreeBSD. I wanted to solve the Problem by trying the >> 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 >> >> > > --------------070401030001050607010509 Content-Type: text/plain; name="errors.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="errors.txt" Intel ACPI Component Architecture ASL Optimizing Compiler version 20070320 [Apr 23 2009] Copyright (C) 2000 - 2007 Intel Corporation Supports ACPI Specification Revision 3.0a acpi/fix_from_robert/dsdt.dsl 518: Name (_T_0, Zero) Error 4081 - Use of reserved word ^ (_T_0) acpi/fix_from_robert/dsdt.dsl 3463: Acquire (ECMU, 0x5000) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 3483: Acquire (ECMU, 0x1388) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 3484: Acquire (MLMU, 0x1388) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 3499: Release (MLMU) Warning 1098 - Statement is unreachable ^ acpi/fix_from_robert/dsdt.dsl 3505: Acquire (ECMU, 0x1388) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 3506: Acquire (MLMU, 0x1388) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 3672: Acquire (ECMU, 0x1388) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 3742: Acquire (ECMU, 0x1388) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6167: Acquire (MUTE, 0x03E8) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6181: Acquire (MUTE, 0x03E8) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6196: Acquire (MUTE, 0x03E8) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6211: Acquire (MUTE, 0x0FFF) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6225: Acquire (MUTE, 0x03E8) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6240: Acquire (MUTE, 0x03E8) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 6255: Acquire (MUTE, 0x03E8) Warning 1103 - Possible operator timeout is ignored ^ acpi/fix_from_robert/dsdt.dsl 9069: Add (Local1, 0x80) Warning 1104 - Result is not used, operator has no effect ^ acpi/fix_from_robert/dsdt.dsl 9519: Method (WMAA, 3, NotSerialized) Warning 1086 - Not all control paths return a value ^ (WMAA) acpi/fix_from_robert/dsdt.dsl 10615: Name (_T_0, Zero) Error 4081 - Use of reserved word ^ (_T_0) acpi/fix_from_robert/dsdt.dsl 10750: Name (_T_1, Zero) Error 4081 - Use of reserved word ^ (_T_1) acpi/fix_from_robert/dsdt.dsl 10821: Name (_T_0, Zero) Error 4081 - Use of reserved word ^ (_T_0) acpi/fix_from_robert/dsdt.dsl 10956: Name (_T_1, Zero) Error 4081 - Use of reserved word ^ (_T_1) ASL Input: acpi/fix_from_robert/dsdt.dsl - 11631 lines, 381904 bytes, 3743 keywords Compilation complete. 5 Errors, 17 Warnings, 0 Remarks, 98 Optimizations --------------070401030001050607010509--