From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 18 03:46:32 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3459616A41F for ; Sun, 18 Dec 2005 03:46:32 +0000 (GMT) (envelope-from raj@cserv62.csub.edu) Received: from cserv62.csub.edu (cserv62.csub.edu [136.168.10.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6FD843D7E for ; Sun, 18 Dec 2005 03:46:22 +0000 (GMT) (envelope-from raj@cserv62.csub.edu) Received: from vala.homelan (adsl-64-160-96-110.dsl.bkfd14.pacbell.net [64.160.96.110]) by cserv62.csub.edu (8.13.4/8.13.4) with ESMTP id jBI3kLOP098500 for ; Sat, 17 Dec 2005 19:46:21 -0800 (PST) (envelope-from raj@cserv62.csub.edu) Received: (from raj@localhost) by vala.homelan (8.13.4/8.13.4/Submit) id jBHJkcSh020965 for freebsd-acpi@freebsd.org; Sat, 17 Dec 2005 19:46:38 GMT (envelope-from raj) Date: Sat, 17 Dec 2005 19:46:38 +0000 From: Russell Jackson To: freebsd-acpi@freebsd.org Message-ID: <20051217194637.GB11775@vala.homelan> References: <1287807936.20051209153853@nm.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1287807936.20051209153853@nm.ru> User-Agent: Mutt/1.5.10i Subject: Re: toshiba portege r100 doesn't resume from S3 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: Sun, 18 Dec 2005 03:46:32 -0000 I reported a similar problem on my Portege 4010 to gnats and freebsd-current yesterday. I wasn't sure if it was limited to ACPI, so I didn't post it here. problem report: http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/90519 FYI, dmesg gets it's output from kernel memory. On Fri, Dec 09, 2005 at 03:38:53PM +0300, huge@nm.ru wrote: > > Hi! I have a problem. Would you help me? > > My Toshiba Portege R100 doesn't resume from S3. > > There is a problem with disk access after resume. It looks the same if I did > "atacontrol detach ata0". And that's interesting: ad0 is > detached but error messages are successfully logged. > > [from dmesg] > .......... > acpi_button0: run_prep cleaned up for \\_SB_.PWRB > acpi_lid0: run_prep cleaned up for \\_SB_.LID_ > acpi: suspend request ignored (not ready yet) > cbb0: [MPSAFE] > ata0: reiniting channel .. > ata0: reset tp1 mask=03 ostat0=80 ostat1=80 > ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 > ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 > ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 > ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 > ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 > ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80 > ata0: stat0=0x50 err=0x00 lsb=0xfe msb=0x3f > ata0: stat1=0x00 err=0x00 lsb=0xfe msb=0x3f > ata0: reset tp2 stat0=50 stat1=00 devices=0x0 > --> ad0: detached > ata0: reinit done .. > ata1: reiniting channel .. > ata1: reset tp1 mask=00 ostat0=ff ostat1=ff > ata1: reinit done .. > atkbd: the current kbd controller command byte 0065 > atkbd: keyboard ID 0x41ab (2) > battery0: battery initialization start > battery0: battery initialization done, tried 1 times > battery1: battery initialization start > --> g_vfs_done():ad0s1a[READ(offset=277413888, length=2560)]error = 6 > vnode_pager_getpages: I/O read error > --> g_vfs_done():ad0s1a[READ(offset=268517376, length=12800)]error = 6 > vnode_pager_getpages: I/O read error > --> g_vfs_done():ad0s1e[WRITE(offset=6144000, length=2048)]error = 6 > --> g_vfs_done():ad0s1e[WRITE(offset=65536, length=2048)]error = 6 > panic: vinvalbuf: dirty bufs > Uptime: 33m47s > Cannot dump. No dump device defined. > Automatic reboot in 15 seconds - press a key on the console to abort > --> Press a key on the console to reboot, > --> or switch off the system now. > Rebooting... > ......... > > > > And there is another problem. Video doesn't work after resume. > With hw.acpi.reset_video=1 display is just off, with 0 it shows > multicolored vertical lines. > > The DSDT seems to be ok since it's recompiled without errors and the > same machine successfully resumes from S3 under linux. > > > > # dmesg > http://media-trest.ru/r100/dmesg-v > > > > # sysctl hw.acpi > http://media-trest.ru/r100/sysctl > > > > ASL > http://media-trest.ru/r100/toshiba-portege-r100.asl > > > > > Thanks! > Alexandre Scherbanov > > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" -- Russell A. Jackson Come quickly, I am tasting stars! -- Dom Perignon, upon discovering champagne. From owner-freebsd-acpi@FreeBSD.ORG Sun Dec 18 20:03:32 2005 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4B7516A41F; Sun, 18 Dec 2005 20:03:32 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35CDB43D5D; Sun, 18 Dec 2005 20:03:32 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBIK3Wmi057931; Sun, 18 Dec 2005 20:03:32 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBIK3WfB057927; Sun, 18 Dec 2005 20:03:32 GMT (envelope-from linimon) Date: Sun, 18 Dec 2005 20:03:32 GMT From: Mark Linimon Message-Id: <200512182003.jBIK3WfB057927@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-acpi@FreeBSD.org Cc: Subject: Re: kern/90607: [acpi] [patch] Support for ASUS A4D laptop 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: Sun, 18 Dec 2005 20:03:32 -0000 Synopsis: [acpi] [patch] Support for ASUS A4D laptop Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Sun Dec 18 20:03:10 UTC 2005 Responsible-Changed-Why: Let's see if this will get some attention on the mailing list. http://www.freebsd.org/cgi/query-pr.cgi?pr=90607 From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 02:25:04 2005 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 659DD16A41F; Mon, 19 Dec 2005 02:25:04 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F13A543D58; Mon, 19 Dec 2005 02:25:03 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBJ2P3X2078800; Mon, 19 Dec 2005 02:25:03 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBJ2P3fi078796; Mon, 19 Dec 2005 02:25:03 GMT (envelope-from linimon) Date: Mon, 19 Dec 2005 02:25:03 GMT From: Mark Linimon Message-Id: <200512190225.jBJ2P3fi078796@freefall.freebsd.org> To: linimon@FreeBSD.org, linimon@FreeBSD.org, freebsd-acpi@FreeBSD.org Cc: Subject: Re: i386/89545: Compaq DL 360 ACPI will not boot with ACPI enabled 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, 19 Dec 2005 02:25:04 -0000 Old Synopsis: Compaq DL 360 ACPI boot problem New Synopsis: Compaq DL 360 ACPI will not boot with ACPI enabled Responsible-Changed-From-To: linimon->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 19 02:23:30 UTC 2005 Responsible-Changed-Why: Now that I think I know what's going on with these PRs, merge in all the text from i386/88523 and assign to the proper mailing list. http://www.freebsd.org/cgi/query-pr.cgi?pr=89545 From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 07:50:20 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 046FC16A41F for ; Mon, 19 Dec 2005 07:50:20 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B57E343D5D for ; Mon, 19 Dec 2005 07:50:18 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.4/8.13.1) with ESMTP id jBJ7oHJA063200 for ; Mon, 19 Dec 2005 05:50:18 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-acpi@freebsd.org Date: Mon, 19 Dec 2005 05:50:15 -0200 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512190550.16062.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: dsdt compile error on Acer 3002 NB 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, 19 Dec 2005 07:50:20 -0000 Hello somebody knows and can tell me what this function should return in order no= t=20 returning an error when compiling? =A0 =A0 Method (_WAK, 1, NotSerialized) =A0 =A0 { =A0 =A0 =A0 =A0 Store (0x00, \_SB.PCI0.LPCB.ALED) =A0 =A0 =A0 =A0 Store (\_SB.BTEN, \_SB.PCI0.LPCB.EC0.BLTH) =A0 =A0 =A0 =A0 Store (\_SB.WLAN, \_SB.PCI0.LPCB.EC0.WLAN) =A0 =A0 =A0 =A0 Store (0x01, \_SB.PCI0.LPCB.EC0.CPLE) =A0 =A0 =A0 =A0 If (LEqual (Arg0, 0x03)) =A0 =A0 =A0 =A0 { =A0 =A0 =A0 =A0 =A0 =A0 \_SB.PHSR (0x00, 0x00) =A0 =A0 =A0 =A0 } =A0 =A0 =A0 =A0 If (LEqual (Arg0, 0x04)) =A0 =A0 =A0 =A0 { =A0 =A0 =A0 =A0 =A0 =A0 \_SB.PHSR (0x03, 0x00) =A0 =A0 =A0 =A0 } =A0 =A0 } I get this: dsdt.aml.ori =A03441: =A0 =A0 Method (_WAK, 1, NotSerialized) Warning =A02026 - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 ^ Reserved method must=20 return a value (_WAK) thank's, Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 08:03:53 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9012116A41F for ; Mon, 19 Dec 2005 08:03:53 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26A1343D49 for ; Mon, 19 Dec 2005 08:03:47 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.4/8.13.1) with ESMTP id jBJ83l4N063586 for ; Mon, 19 Dec 2005 06:03:47 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-acpi@freebsd.org Date: Mon, 19 Dec 2005 06:03:45 -0200 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512190603.45480.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: asus a8v acpidump do not compile 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, 19 Dec 2005 08:03:53 -0000 hello I have an Asus A8V with amd64 and get problems with pci devices, irq confli= cts=20 and certain boards are getting the same memory base address when use more=20 than 2 PCI slots. I dumped the acpi tables and trying to compile with iasl = I=20 get lots of errors which probably fill this message too much. If some like to try I would apreciate any help since I do not understand ac= pi=20 enough. I put the dump here: http://suporte.matik.com.br/a8v.tar.gz thank's , Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 11:02:12 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56A5516A41F for ; Mon, 19 Dec 2005 11:02:12 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DC3043D68 for ; Mon, 19 Dec 2005 11:02:08 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBJB248S011089 for ; Mon, 19 Dec 2005 11:02:04 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBJB23bO011083 for freebsd-acpi@freebsd.org; Mon, 19 Dec 2005 11:02:03 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Dec 2005 11:02:03 GMT Message-Id: <200512191102.jBJB23bO011083@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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, 19 Dec 2005 11:02:12 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/07/22] i386/54756 acpi ACPI suspend/resume problem on CF-W2 lapt o [2003/08/17] i386/55661 acpi ACPI suspend/resume problem on ARMADA M70 o [2003/08/20] kern/55822 acpi No ACPI power off with SMP kernel o [2003/08/27] kern/56024 acpi ACPI suspend drains battery while in S3 o [2003/09/03] i386/56372 acpi acpi don't work on TYAN tiger100 M/B o [2004/03/09] i386/64002 acpi acpi problem o [2004/05/27] i386/67273 acpi [hang] system hangs with acpi and Xfree o [2004/10/12] i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Arma o [2005/03/21] i386/79080 acpi acpi thermal changes freezes HP nx6110 o [2005/03/21] i386/79081 acpi ACPI suspend/resume not working on HP nx6 o [2005/11/11] kern/88859 acpi ACPI broken on Compaq DL360 o [2005/11/25] i386/89545 acpi Compaq DL 360 ACPI will not boot with ACP 12 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/03/17] kern/64365 acpi ACPI problems o [2004/05/28] kern/67309 acpi zzz reboot computer (ACPI S3) o [2004/07/29] i386/69750 acpi Boot without ACPI failed on ASUS L5 o [2004/11/11] i386/73822 acpi [request] add thermal support to ACPI o [2004/11/11] kern/73823 acpi [feature request] acpi / power-on by time f [2004/11/17] kern/74030 acpi Unplugging AC causes battery % to stay lo o [2005/05/09] kern/80815 acpi ACPI(pci_link) problem in 5.4-STABLE: TIM o [2005/12/03] kern/89879 acpi [acpi] ACPI-0438: *** Error: Looking up [ o [2005/12/18] kern/90607 acpi [acpi] [patch] Support for ASUS A4D lapto 9 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 18:45:12 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B49C716A420 for ; Mon, 19 Dec 2005 18:45:12 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59D2A43D58 for ; Mon, 19 Dec 2005 18:45:12 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.33] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id jBJIjI9e015573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 19 Dec 2005 10:45:19 -0800 Message-ID: <43A6FFAD.4050103@root.org> Date: Mon, 19 Dec 2005 10:45:01 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: JoaoBR References: <200512190550.16062.joao@matik.com.br> In-Reply-To: <200512190550.16062.joao@matik.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: dsdt compile error on Acer 3002 NB 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, 19 Dec 2005 18:45:12 -0000 JoaoBR wrote: > Hello > > somebody knows and can tell me what this function should return in order not > returning an error when compiling? > > Method (_WAK, 1, NotSerialized) > { > Store (0x00, \_SB.PCI0.LPCB.ALED) > Store (\_SB.BTEN, \_SB.PCI0.LPCB.EC0.BLTH) > Store (\_SB.WLAN, \_SB.PCI0.LPCB.EC0.WLAN) > Store (0x01, \_SB.PCI0.LPCB.EC0.CPLE) > If (LEqual (Arg0, 0x03)) > { > \_SB.PHSR (0x00, 0x00) > } > > If (LEqual (Arg0, 0x04)) > { > \_SB.PHSR (0x03, 0x00) > } > } > > I get this: > > dsdt.aml.ori 3441: Method (_WAK, 1, NotSerialized) > Warning 2026 - ^ Reserved method must > return a value (_WAK) Just use iasl with the -f flag. It will ignore these kinds of warnings. For reference, _WAK returns a package, {0, 0} is fine. See the ACPI debugging section of the handbook. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 19:54:10 2005 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E18A516A41F for ; Mon, 19 Dec 2005 19:54:10 +0000 (GMT) (envelope-from brettg@nexus.sea.gamedyne.net) Received: from nexus.sea.gamedyne.net (nexus.sea.gamedyne.net [63.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6757C43D79 for ; Mon, 19 Dec 2005 19:53:55 +0000 (GMT) (envelope-from brettg@nexus.sea.gamedyne.net) Received: by nexus.sea.gamedyne.net (Postfix, from userid 1001) id 3DAE9B3541; Mon, 19 Dec 2005 19:53:54 +0000 (GMT) Date: Mon, 19 Dec 2005 19:53:54 +0000 From: Brett Gianpetro To: freebsd-acpi@FreeBSD.org Message-ID: <20051219195354.GC16882@gamedyne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Cc: Subject: Disabling ACPI on IBM x330 fixes problems 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, 19 Dec 2005 19:54:11 -0000 Hello, I'm running a dual P3 IBM eserver x330 with FreeBSD 6.0-RELEASE. A ran into two problems after my initial installation that were both resolved by disabling ACPI. The first problem I experienced was an odd hang after this portion of the boot: ad4: 152627MB at ata2-master SATA150 ad6: 152627MB at ata3-master SATA150 It would sit there (apparently) idle for approximately 2 minutes and then proceed to boot normally. After disabling ACPI, everything booted very quickly. I started experiencing the second problem after I compiled in SMP support. The problem was that I was receiving the following in /var/log/messages whenever I would run 'top' or 'ps'. Dec 14 20:31:56 foo kernel: calcru: negative runtime of -7248805 usec for pid 46 (swi4: clock sio) Dec 14 20:31:56 foo kernel: calcru: negative runtime of -7248805 usec for pid 46 (swi4: clock sio) Once I disabled ACPI the messages no longer showed up. Is there a known problem or bug in this platform that would explain this behavior? I did some searching through the mail archives, but I couldn't find anything similar. If anyone is interested, I can follow-up with more information such as the dmesg output from 'boot -v'. Regards, Brett Gianpetro From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 21:43:18 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7176716A41F for ; Mon, 19 Dec 2005 21:43:18 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD42743D49 for ; Mon, 19 Dec 2005 21:43:15 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.4/8.13.1) with ESMTP id jBJLhFXe096437 for ; Mon, 19 Dec 2005 19:43:16 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR Date: Mon, 19 Dec 2005 19:43:08 -0200 User-Agent: KMail/1.8.3 References: <200512190550.16062.joao@matik.com.br> <43A6FFAD.4050103@root.org> In-Reply-To: <43A6FFAD.4050103@root.org> Cc: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline To: "Undisclosed.Recipients": ; Message-Id: <200512191943.09739.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: Re: dsdt compile error on Acer 3002 NB 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, 19 Dec 2005 21:43:18 -0000 On Monday 19 December 2005 16:45, you wrote: > JoaoBR wrote: > > Hello > > > > somebody knows and can tell me what this function should return in order > > not returning an error when compiling? > > > > Method (_WAK, 1, NotSerialized) > > { > > Store (0x00, \_SB.PCI0.LPCB.ALED) > > Store (\_SB.BTEN, \_SB.PCI0.LPCB.EC0.BLTH) > > Store (\_SB.WLAN, \_SB.PCI0.LPCB.EC0.WLAN) > > Store (0x01, \_SB.PCI0.LPCB.EC0.CPLE) > > If (LEqual (Arg0, 0x03)) > > { > > \_SB.PHSR (0x00, 0x00) > > } > > > > If (LEqual (Arg0, 0x04)) > > { > > \_SB.PHSR (0x03, 0x00) > > } > > } > > > > I get this: > > > > dsdt.aml.ori 3441: Method (_WAK, 1, NotSerialized) > > Warning 2026 - ^ Reserved method must > > return a value (_WAK) > > Just use iasl with the -f flag. It will ignore these kinds of warnings. > For reference, _WAK returns a package, {0, 0} is fine. See the ACPI > debugging section of the handbook. thank you, that was what I did but I was not sure if it was the right thing. Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 19 22:41:27 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44FEB16A41F for ; Mon, 19 Dec 2005 22:41:27 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 3A7AA43D76 for ; Mon, 19 Dec 2005 22:41:21 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: (qmail 33151 invoked by uid 0); 19 Dec 2005 22:41:19 -0000 Received: from r5k4.chello.upc.cz (HELO ?86.49.10.4?) (86.49.10.4) by smtp.dkm.cz with SMTP; 19 Dec 2005 22:41:19 -0000 Message-ID: <43A7370F.2070504@pobox.sk> Date: Mon, 19 Dec 2005 23:41:19 +0100 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051205 X-Accept-Language: sk, cs, en-gb, en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org References: <20051218221834.1DEE65D07@ptavv.es.net> In-Reply-To: <20051218221834.1DEE65D07@ptavv.es.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: martinko , freebsd-stable@freebsd.org Subject: Cx states missing after upgrade -- Was: Re: HEADS UP: Release schedule for 2006 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, 19 Dec 2005 22:41:27 -0000 Kevin Oberman wrote: >>Date: Sun, 18 Dec 2005 20:46:49 +0100 >>From: martinko >> >>Kevin Oberman wrote: >> >> >> >>>>Date: Sat, 17 Dec 2005 18:14:01 +0100 >>>>From: martinko >>>> >>>>Kevin Oberman wrote: >>>> >>>> >>>> >>>> >>>>>>Date: Fri, 16 Dec 2005 14:29:39 -0600 >>>>>>From: Craig Boston >>>>>>Sender: owner-freebsd-stable@freebsd.org >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>-cpu0: on acpi0 >>>>>>>+cpu0: on acpi0 >>>>>>> >>>>>>>Q: Guessing that's a formatting difference, rather then 6.x not recognizing >>>>>>>the states (sysctl hw.acpi.cpu.cx_supported confirms 4 states) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>Not sure on this, but you're probably better off using EST anyway as I >>>>>>think it gives you more control over the processor frequency. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>No. There is no conflict between Cx states and EST. Cx states specifies >>>>>how deeply the CPU will sleep when idle. EST controls processor speed >>>>>and voltage. In most cases, your REALLY want to use both of these. They >>>>>are very significant in saving power. (Of course, USB tends to limit the >>>>>effectiveness of Cx states. I need to run without USB to get really good >>>>>battery life and to make suspend (S3) really ut power drain. >>>>> >>>>> >>>>> >>>>> >>>>Kevin, >>>> >>>>I used to have 3 Cx states supported when I started with FreeBSD on >>>>version 5.3. Since I upgraded to 5.4 and recently to 6.0, all I can see >>>>is just one supported Cx state. I much wonder why. (?) >>>> >>>> >>>> >>>> >>>What value do you have in /etc/rc.conf (if any) for >>>performance_cx_lowest? It defaults to HIGH which will limit you to only >>>the most power hungry sleep state (simple halt). This was made the >>>default because some hardware was breaking when this was defaulted to >>>LOW. T0 get other Cx states to be utilized, add >>>'performance_cx_lowest="LOW"' to /etc/rc.conf. >>> >>> >>> >>> >>i see. >> >>anyway: >> >># grep cx /etc/rc.conf.local >>economy_cx_lowest="LOW" >>performance_cx_lowest="LOW" >> >>still: >> >># sysctl hw.acpi.cpu >>hw.acpi.cpu.cx_supported: C1/1 >>hw.acpi.cpu.cx_lowest: C1 >>hw.acpi.cpu.cx_usage: 100.00% >> >>and, imho, cx_supported should list all available states, doesn't matter >>what is in rc.conf. (well, at least i reckon it's supposed to work that >>way.) >> >>but: >> >>i already had 3 Cx states back on 5.3. >>and when i had them, C2 was used most often (and C3 wasn't at all iirc). >> >>so what has changed in the system please and how am i to get back my >>states please ?? >> >> > >This is a totally different problem. I thought that the problem was >simply not using all of the states. Instead, you are not even showing the >states as available. Looks like the kernel is not reading the >capabilities of your system correctly. > >This seems to coincide with the new ACPI code import. Sounds like >something is not being handled properly and it is likely beyond my >capability to track it down. > >I would suggest posting your the output of 'acpidump -t -d' on a web >site and then sending a report with a pointer to that ASL to >freebsd-acpi@freebsd.org. There it will be seen by the folks who really >know the ACPI stuff. > > hello! thank you, kevin. i did as you advised and here are the outputs of acpidump: # acpidump -t -d -o asus_w1n.dsdt > asus_w1n.asl acpidump: RSDT entry 1 (sig OEMB) is corrupt http://mato.gamato.org/freebsd/aw1n/asus_w1n.dsdt http://mato.gamato.org/freebsd/aw1n/asus_w1n.asl i look forward to hearing from you folks.. :-) many thanks! regards, martin From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 21 20:23:59 2005 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A84716A420 for ; Wed, 21 Dec 2005 20:23:59 +0000 (GMT) (envelope-from gnu.raiz@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59BFB43D58 for ; Wed, 21 Dec 2005 20:23:57 +0000 (GMT) (envelope-from gnu.raiz@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so155964wxc for ; Wed, 21 Dec 2005 12:23:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=L1WvS2EKULG28eeFsxZ+CTwEJXFxd7uy3c/MRDaSeGncA0vdoMTxyHSAAHCjmr5eagO+YunKNG8xthkXDpYDMl/GsmndpaYj31q16HcvbyL8zpYQsywhkAa4+kIixNSlHwdJC17IV0E7RUSv7sdF0fVYduxuN7OE41oyvfAGtyw= Received: by 10.70.128.13 with SMTP id a13mr1080797wxd; Wed, 21 Dec 2005 12:23:56 -0800 (PST) Received: by 10.70.69.9 with HTTP; Wed, 21 Dec 2005 12:23:56 -0800 (PST) Message-ID: Date: Wed, 21 Dec 2005 14:23:56 -0600 From: Gnu_Raiz To: freebsd-acpi@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Z00Q Problem Tyan MB! 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, 21 Dec 2005 20:23:59 -0000 Hi: developers, fellow users! After reading the manual, and trying different things to get the acpi error message's from showing up in boot output. I have come to you for help in solving this problem. After doing a google search it seems that Tyan has a problem with their MB'= s and especially their acpi regarding the Z00Q errors. It seems that many people have the error's I have, but after reading up on the threads, I have not seen a solution posted. I have seen a few people give up, but no solutions. I am using a Tyan Tiger MP 2460 motherboard with 2 mp 1.2 chips, with an smp kernel. So far I don't think that these errors are fatal, as others have mentioned, it just looks bad. I am running FreeBSD Raiz_mpx.midsouth.rr.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Sun Dec 18 17:44:34 CST 2005 rcall@Raiz_mpx.midsouth.rr.com:/usr/obj/usr/src/sys/MPXSMPKERNEL i386 Here is the sysctl hw.acpi information. ------- hw.acpi.supported_sleep_state: S1 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 0 hw.acpi.verbose: 1 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/0 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% --------- Here is the sample boot -v with acpi enabled. Of course this goes on for like 20 lines, If you really need all of dmesg then I would be happy to pos= t the rest. --------- in ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc2251d40 StartNode 0xc2251d40 ReturnNode 0 ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._S TA] (Node 0xc229d0a0), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._S --------- If I boot with acpi disabled, I get pnp errors on one of my device's, so I really need to use acpi even with the error messages. I have looked in the bios for different options to turn on and off, but with no success. When I compile my .asl file I get these results. ------------ Raiz_mpx# iasl rcall-TyanMP2460.asl Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20041119 [Nov 3 2005] Copyright (C) 2000 - 2004 Intel Corporation Supports ACPI Specification Revision 2.0c rcall-TyanMP2460.asl 1553: Store (Z00Q, Local0= ) Error 1022 - Object does not exist ^ (Z00Q) rcall-TyanMP2460.asl 1659: Store (Z00Q, Local0= ) Error 1022 - Object does not exist ^ (Z00Q) rcall-TyanMP2460.asl 1891: Store (Z00Q, Local0= ) Error 1022 - Object does not exist ^ (Z00Q) rcall-TyanMP2460.asl 2386: Method (_WAK, 1, NotSerialized) Warning 2026 - ^ Reserved method must return a value (_WAK) ASL Input: rcall-TyanMP2460.asl - 2401 lines, 77770 bytes, 827 keywords Compilation complete. 3 Errors, 1 Warnings, 0 Remarks, 320 Optimizations Raiz_mpx# ------------ I have looked in my .asl file but I am at a loss for what to look for, or how to solve my problem. I do code a little bit and going to the error line= s I find this. I put in the (---->) to point to the line that the error code is in. Method (_STA, 0, NotSerialized) { Store (Z00Q, Local0) (--->) And (Local0, 0x02, Local0) If (LEqual (Local0, 0x02)) { Return (0x00) } Else { Return (STA (0x03)) } } Name (_PRS, ResourceTemplate () Method (_STA, 0, NotSerialized) { (---->) Store (Z00Q, Local0) And (Local0, 0x02, Local0) If (LEqual (Local0, 0x02)) { Return (0x00) } Else Method (_STA, 0, NotSerialized) { (---->) Store (Z00Q, Local0) And (Local0, 0x04, Local0) If (LEqual (Local0, 0x04)) { Return (0x00) } Else { Return (STA (0x01)) (---->) Method (_WAK, 1, NotSerialized) { Or (Arg0, 0xE0, Local0) Store (Local0, DBG1) If (LEqual (Arg0, 0x01)) { Store (IO8E, Local1) Store (Local1, PMC7) } Notify (\_SB.PWRB, 0x02) } ------- I have also added this to my /boot/loader.conf it boots, but is the same as my original on my MB. I would be willing to test some DSDT files, if it helps in solving the problem. acpi_dsdt_load=3D"YES" acpi_dsdt_name=3D"/boot/DSDT.aml" hw.acpi.osname=3D"Windows 2001" Since I do not run a web server I have no way of archiving my .asl file I would be more than happy to send it to anyone through e-mail. I am also not subscribed to the list so please cc me. Gnu_Raiz From owner-freebsd-acpi@FreeBSD.ORG Wed Dec 21 23:34:27 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 907C416A41F for ; Wed, 21 Dec 2005 23:34:27 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id E957E43D5E for ; Wed, 21 Dec 2005 23:34:24 +0000 (GMT) (envelope-from pawel.worach@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so185766wxc for ; Wed, 21 Dec 2005 15:34:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=rb0hRJLzAbFDeX49+hXAHYNlapuKe8TP/eLOSWMGhyFXRLsHEwro3INi7LgWgxWx6ONdTuPJuPdGrW4pvXLu4cdiAqRw99KQpjitrNOiRH5VuTx5B+ts+lNR7rGJZbMt3PLWJtjD/Dm5AA9QrUahYe4Q98SfZw6FlBNVRZQXL/I= Received: by 10.70.42.8 with SMTP id p8mr1275991wxp; Wed, 21 Dec 2005 15:34:23 -0800 (PST) Received: from ?192.168.0.107? ( [80.217.193.226]) by mx.gmail.com with ESMTP id h15sm1836293wxd.2005.12.21.15.34.22; Wed, 21 Dec 2005 15:34:23 -0800 (PST) Message-ID: <43A9E677.1000105@gmail.com> Date: Thu, 22 Dec 2005 00:34:15 +0100 From: Pawel Worach User-Agent: Thunderbird 1.5 (X11/20051215) MIME-Version: 1.0 To: John Baldwin References: <5A00483D-8A89-4180-B982-0F9437198200@dragondata.com> <200511280810.04087.jhb@freebsd.org> <4EF01B2D-AB73-4185-9137-CFE4693BCA7A@dragondata.com> <200511281158.11463.jhb@freebsd.org> In-Reply-To: <200511281158.11463.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, Kevin Day Subject: Re: ACPI hang on 6.0-RELEASE on Compaq Proliant ML530 (866MHz Xeon) 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, 21 Dec 2005 23:34:27 -0000 John Baldwin wrote: > On Monday 28 November 2005 09:38 am, Kevin Day wrote: >> On Nov 28, 2005, at 7:10 AM, John Baldwin wrote: >>> On Saturday 26 November 2005 11:18 am, Kevin Day wrote: >>>> Hangs on boot after displaying kernel copyright notice with ACPI >>>> enabled. Works fine with ACPI disabled. >>>> >>>> Server has two CPUs, but hang occurs with or without SMP kernel. >>>> >>>> >>>> >>>> acpidump at http://www.dragondata.com/~toasty/toasty-ml530.asl >>>> >>>> >>>> dmesg from working config: >>> Any chance you could use a serial console to capture the dmesg from >>> a booth >>> with ACPI enabled? >> I get as far as: >>> Copyright (c) 1992-2005 The FreeBSD Project. >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >>> 1994 >>> The Regents of the University of California. All rights >>> reserved. >>> FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 >>> root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC >> before it hangs. I realize that's not much to go on. :) >> >> >> Since the next thing it should be displaying is the mptable string, >> just in case this is relevant, here's the output of mptable: > > Actually, in the ACPI case it won't use the mptable, but use the MADT table > from ACPI instead. It is odd that your MADT is missing a Local NMI entry for > CPU 0. Could you capture the dmesg from a boot -v over a serial console with > ACPI enabled? > Hi, I have the same problem with ML530 hardware, both RELENG_6_0 and RELENG_6 fail in the same way. ASL and boot -v output can be found here: http://62.119.221.30/ml530-acpi/ It just hangs there after the "pci_link1: on acpi0" message, break to debugger doesn't work. Regards -- Pawel From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 22 02:03:54 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 325E716A41F for ; Thu, 22 Dec 2005 02:03:54 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FB8443D62 for ; Thu, 22 Dec 2005 02:03:53 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1EpFo5-00052K-00; Thu, 22 Dec 2005 03:03:49 +0100 Date: Thu, 22 Dec 2005 03:03:49 +0100 To: Gnu_Raiz Message-ID: <20051222020349.GA16607@poupinou.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-acpi@FreeBSD.org Subject: Re: Z00Q Problem Tyan MB! 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: Thu, 22 Dec 2005 02:03:54 -0000 On Wed, Dec 21, 2005 at 02:23:56PM -0600, Gnu_Raiz wrote: > Hi: developers, fellow users! > > After reading the manual, and trying different things to get the acpi error > message's from showing up in boot output. I have come to you for help in > solving this problem. > > After doing a google search it seems that Tyan has a problem with their MB's > and especially their acpi regarding the Z00Q errors. It seems that many > people have the error's I have, but after reading up on the threads, I have > not seen a solution posted. I have seen a few people give up, but no > solutions. I am using a Tyan Tiger MP 2460 motherboard with 2 mp 1.2 chips, > with an smp kernel. So far I don't think that these errors are fatal, as > others have mentioned, it just looks bad. > > I am running FreeBSD Raiz_mpx.midsouth.rr.com 6.0-RELEASE FreeBSD > 6.0-RELEASE #2: Sun Dec 18 17:44:34 CST 2005 > rcall@Raiz_mpx.midsouth.rr.com:/usr/obj/usr/src/sys/MPXSMPKERNEL > i386 > > Here is the sysctl hw.acpi information. > ------- > hw.acpi.supported_sleep_state: S1 S4 S5 > hw.acpi.power_button_state: S5 > hw.acpi.sleep_button_state: S1 > hw.acpi.lid_switch_state: NONE > hw.acpi.standby_state: S1 > hw.acpi.suspend_state: S3 > hw.acpi.sleep_delay: 1 > hw.acpi.s4bios: 0 > hw.acpi.verbose: 1 > hw.acpi.reset_video: 1 > hw.acpi.cpu.cx_supported: C1/0 > hw.acpi.cpu.cx_lowest: C1 > hw.acpi.cpu.cx_usage: 100.00% > --------- > > Here is the sample boot -v with acpi enabled. Of course this goes on for > like 20 lines, If you really need all of dmesg then I would be happy to post > the rest. > --------- > in ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND > SearchNode 0xc2251d40 StartNode 0xc2251d40 ReturnNode 0 > ACPI-1304: *** Error: Method execution failed > [\\_SB_.PCI0.ISA_.SIO_.COM2._S > TA] (Node 0xc229d0a0), AE_NOT_FOUND > ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND > ACPI-1304: *** Error: Method execution failed > [\\_SB_.PCI0.ISA_.SIO_.COM1._S > --------- A real first read of your report would suggest that something is broken in your bios for detecting serial ports. > If I boot with acpi disabled, I get pnp errors on one of my device's, so I > really need to use acpi even with the error messages. I have looked in the > bios for different options to turn on and off, but with no success. When I > compile my .asl file I get these results. > ------------ > Raiz_mpx# iasl rcall-TyanMP2460.asl > > Intel ACPI Component Architecture > ASL Optimizing Compiler / AML Disassembler version 20041119 [Nov 3 2005] > Copyright (C) 2000 - 2004 Intel Corporation > Supports ACPI Specification Revision 2.0c > > rcall-TyanMP2460.asl 1553: Store (Z00Q, Local0) > Error 1022 - Object does not exist ^ (Z00Q) > > rcall-TyanMP2460.asl 1659: Store (Z00Q, Local0) > Error 1022 - Object does not exist ^ (Z00Q) > > rcall-TyanMP2460.asl 1891: Store (Z00Q, Local0) > Error 1022 - Object does not exist ^ (Z00Q) > > rcall-TyanMP2460.asl 2386: Method (_WAK, 1, NotSerialized) > Warning 2026 - ^ Reserved method must return a > value (_WAK) > > ASL Input: rcall-TyanMP2460.asl - 2401 lines, 77770 bytes, 827 keywords > Compilation complete. 3 Errors, 1 Warnings, 0 Remarks, 320 Optimizations > Raiz_mpx# > ------------ > > I have looked in my .asl file but I am at a loss for what to look for, or > how to solve my problem. I do code a little bit and going to the error lines > I find this. > I put in the (---->) to point to the line that the error code is in. > > > Method (_STA, 0, NotSerialized) > { > Store (Z00Q, Local0) > (--->) And (Local0, 0x02, Local0) > If (LEqual (Local0, 0x02)) > { > Return (0x00) > } > Else > { > Return (STA (0x03)) > } > } > > Name (_PRS, ResourceTemplate () > > Method (_STA, 0, NotSerialized) > { > (---->) Store (Z00Q, Local0) > And (Local0, 0x02, Local0) > If (LEqual (Local0, 0x02)) > { > Return (0x00) > } > Else > > Method (_STA, 0, NotSerialized) > { > (---->) Store (Z00Q, Local0) > And (Local0, 0x04, Local0) > If (LEqual (Local0, 0x04)) > { > Return (0x00) > } > Else > { > Return (STA (0x01)) I can't tell much on that if I have not access to the ASL. > (---->) Method (_WAK, 1, NotSerialized) > { > Or (Arg0, 0xE0, Local0) > Store (Local0, DBG1) > If (LEqual (Arg0, 0x01)) > { > Store (IO8E, Local1) > Store (Local1, PMC7) > } > > Notify (\_SB.PWRB, 0x02) You can add that: Return(Package(2) {0,0}) But there are a lot of ASL that contains this non-return statement so far... I think just ignoring the warning is OK. Note that this method will be invoked only after a resume of the system. If you don't suspend to ram I doubt it will be useful to consider to fix the _WAK method anyway. > } > > acpi_dsdt_load="YES" > acpi_dsdt_name="/boot/DSDT.aml" > hw.acpi.osname="Windows 2001" <-- is there a reason for this line? > > > Since I do not run a web server I have no way of archiving my .asl file I > would be more than happy to send it to anyone through e-mail. I am also not > subscribed to the list so please cc me. I can provide such a link if you send this file to me. All in all, I think those errors are harmless. There may be a problem with your serials ports though, but if it's not the case, or you don't need them, well I am not sure it's worth debugging any further. Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care. From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 22 10:54:47 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F5C616A420 for ; Thu, 22 Dec 2005 10:54:47 +0000 (GMT) (envelope-from groot@kde.org) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2770A43D73 for ; Thu, 22 Dec 2005 10:54:45 +0000 (GMT) (envelope-from groot@kde.org) Received: from pino.codeyard.cs.ru.nl [131.174.33.136] (helo=pino.codeyard.cs.ru.nl) by pandora.cs.kun.nl (8.13.5/5.7) with ESMTP id jBMAsfEC024742 for ; Thu, 22 Dec 2005 11:54:41 +0100 (MET) From: Adriaan de Groot Organization: KDE-NL To: freebsd-acpi@freebsd.org Date: Thu, 22 Dec 2005 11:55:04 +0100 User-Agent: KMail/1.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512221155.04352.groot@kde.org> X-Spam-Score: 1.567 (*) BAYES_50 X-Scanned-By: MIMEDefang 2.48 on 131.174.33.4 Subject: Bad characters in Asus A8N-VM CSM 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: Thu, 22 Dec 2005 10:54:47 -0000 I just picked up an Asus A8N-VM CSM motherboard. It's a nForce 430 + GForge 6150 integrated mini-ATX job, amd64, very 1337 and new. That means trouble :) I knew that when buying it, and know now that it really needs work to get it working at all. FreeBSD 5.1-R amd64 boots just fine on the machine, so I do have _some_ tools for the machine. 6.0-R without ACPI hangs, and 6.0-R with ACPI craps out immediately with the following error: ACPI-0397: *** Error: NSSearchAndEnter: Bad character in ACPI Name: 43035350 ACPI-0381: *** Error: Looking up [0x43035350] (NON-ASCII) in namespace, AE_BAD_CHARACTER ACPI-0204: ACPI-0213: (not all error messages copied entirely). What's a good approach to dealing with this? My plan doesn't go much further than 1) Update to latest BIOS and then futz about. Suggestions? FWIW, I haven't found a Linux yet _either_ that boots and recognizes the devices on the board (2.6.15 seems more promising than 2.6.10, which fails with no NIC and no HDD drivers). [ade] From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 22 11:03:12 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 808FC16A420 for ; Thu, 22 Dec 2005 11:03:12 +0000 (GMT) (envelope-from groot@kde.org) Received: from hex.athame.co.uk (salama58.adsl.netsonic.fi [81.17.207.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B00943D5E for ; Thu, 22 Dec 2005 11:03:10 +0000 (GMT) (envelope-from groot@kde.org) Received: from localhost.athame.co.uk ([127.0.0.1] helo=hex.athame.co.uk) by hex.athame.co.uk with esmtp (Exim 4.54 (FreeBSD)) id 1EpODv-000Nwi-Ch for freebsd-acpi@freebsd.org; Thu, 22 Dec 2005 13:03:03 +0200 Received: from localhost (adridg@localhost) by hex.athame.co.uk (8.13.4/8.13.1/Submit) with ESMTP id jBMB33f8092049 for ; Thu, 22 Dec 2005 13:03:03 +0200 (EET) (envelope-from groot@kde.org) X-Authentication-Warning: hex.athame.co.uk: adridg owned process doing -bs Date: Thu, 22 Dec 2005 13:03:02 +0200 (EET) From: Adriaan de Groot X-X-Sender: adridg@hex.athame.co.uk To: freebsd-acpi@freebsd.org In-Reply-To: <200512221155.04352.groot@kde.org> Message-ID: <20051222130116.E91104@hex.athame.co.uk> References: <200512221155.04352.groot@kde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Bad characters in Asus A8N-VM CSM 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: Thu, 22 Dec 2005 11:03:12 -0000 [Reply to self for more info.] On Thu, 22 Dec 2005, Adriaan de Groot wrote: > FreeBSD 5.1-R amd64 boots just fine on the machine, so I do have _some_ tools > for the machine. 6.0-R without ACPI hangs, and 6.0-R with ACPI craps out > immediately with the following error: Without ACPI, or with APIC disabled in the BIOS: hangs after "Timecounters tick every 1.000 msec"; with APIC enabled fails with bad characters. From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 22 11:14:58 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CF3516A41F for ; Thu, 22 Dec 2005 11:14:58 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9364E43D68 for ; Thu, 22 Dec 2005 11:14:57 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from anb (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.13.4/8.13.1) with ESMTP id jBMBEtUh039245 for ; Thu, 22 Dec 2005 09:14:56 -0200 (BRST) (envelope-from joao@matik.com.br) From: JoaoBR To: freebsd-acpi@freebsd.org Date: Thu, 22 Dec 2005 09:14:55 -0200 User-Agent: KMail/1.8.3 References: <200512221155.04352.groot@kde.org> In-Reply-To: <200512221155.04352.groot@kde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512220914.55228.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.86.2, clamav-milter version 0.86 on msrv.matik.com.br X-Virus-Status: Clean Subject: Re: Bad characters in Asus A8N-VM CSM 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: Thu, 22 Dec 2005 11:14:58 -0000 On Thursday 22 December 2005 08:55, Adriaan de Groot wrote: > and then futz about. Suggestions? FWIW, I haven't found a Linux yet > _either_ that boots and recognizes the devices on the board (2.6.15 seems > more promising than 2.6.10, which fails with no NIC and no HDD drivers). > I had a similar problem with a8v after flashing the BIOS up but there is an= =20 option where you can set acpi.ver=3D2.0 in the setup - with it set I can us= e=20 the board there are other options like RamMemory power down which seems to hang my=20 motherboard also anyway acpidumping when up and compiling it is giving 50 errors o so. Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 22 16:17:03 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8854B16A41F for ; Thu, 22 Dec 2005 16:17:03 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9770A43D6D for ; Thu, 22 Dec 2005 16:16:55 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 4365387 for multiple; Thu, 22 Dec 2005 11:18:07 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id jBMGGP5p035197; Thu, 22 Dec 2005 11:16:26 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Pawel Worach Date: Thu, 22 Dec 2005 11:16:36 -0500 User-Agent: KMail/1.8.2 References: <5A00483D-8A89-4180-B982-0F9437198200@dragondata.com> <200511281158.11463.jhb@freebsd.org> <43A9E677.1000105@gmail.com> In-Reply-To: <43A9E677.1000105@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512221116.38675.jhb@freebsd.org> X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: freebsd-acpi@freebsd.org, Kevin Day Subject: Re: ACPI hang on 6.0-RELEASE on Compaq Proliant ML530 (866MHz Xeon) 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: Thu, 22 Dec 2005 16:17:03 -0000 On Wednesday 21 December 2005 06:34 pm, Pawel Worach wrote: > John Baldwin wrote: > > On Monday 28 November 2005 09:38 am, Kevin Day wrote: > >> On Nov 28, 2005, at 7:10 AM, John Baldwin wrote: > >>> On Saturday 26 November 2005 11:18 am, Kevin Day wrote: > >>>> Hangs on boot after displaying kernel copyright notice with ACPI > >>>> enabled. Works fine with ACPI disabled. > >>>> > >>>> Server has two CPUs, but hang occurs with or without SMP kernel. > >>>> > >>>> > >>>> > >>>> acpidump at http://www.dragondata.com/~toasty/toasty-ml530.asl > >>>> > >>>> > >>>> dmesg from working config: > >>> > >>> Any chance you could use a serial console to capture the dmesg from > >>> a booth > >>> with ACPI enabled? > >> > >> I get as far as: > >>> Copyright (c) 1992-2005 The FreeBSD Project. > >>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > >>> 1994 > >>> The Regents of the University of California. All rights > >>> reserved. > >>> FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 > >>> root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC > >> > >> before it hangs. I realize that's not much to go on. :) > >> > >> > >> Since the next thing it should be displaying is the mptable string, > >> just in case this is relevant, here's the output of mptable: > > > > Actually, in the ACPI case it won't use the mptable, but use the MADT > > table from ACPI instead. It is odd that your MADT is missing a Local NMI > > entry for CPU 0. Could you capture the dmesg from a boot -v over a > > serial console with ACPI enabled? > > Hi, > > I have the same problem with ML530 hardware, both RELENG_6_0 and > RELENG_6 fail in the same way. ASL and boot -v output can be found here: > http://62.119.221.30/ml530-acpi/ > > It just hangs there after the "pci_link1: on acpi0" > message, break to debugger doesn't work. > > Regards Unfortunately what I need is for someone with the hardware to add some more printf's to find where it is hanging. Here's a patch. Please get a verbose dmesg with this, thanks. Index: acpi_pci_link.c =================================================================== RCS file: /usr/cvs/src/sys/dev/acpica/acpi_pci_link.c,v retrieving revision 1.51 diff -u -r1.51 acpi_pci_link.c --- acpi_pci_link.c 5 Dec 2005 19:50:00 -0000 1.51 +++ acpi_pci_link.c 22 Dec 2005 16:15:51 -0000 @@ -421,6 +421,7 @@ ACPI_STATUS status; int i; + device_printf("attach started\n"); sc = device_get_softc(dev); sc->pl_dev = dev; ACPI_SERIAL_BEGIN(pci_link); @@ -432,14 +433,19 @@ */ creq.in_dpf = DPF_OUTSIDE; creq.count = 0; + device_printf("calling _CRS\n"); status = AcpiWalkResources(acpi_get_handle(dev), "_CRS", acpi_count_irq_resources, &creq); + device_printf("_CRS returned %s\n", AcpiFormatException(status)); sc->pl_crs_bad = ACPI_FAILURE(status); if (sc->pl_crs_bad) { creq.in_dpf = DPF_OUTSIDE; creq.count = 0; + device_printf("calling _PRS\n"); status = AcpiWalkResources(acpi_get_handle(dev), "_PRS", acpi_count_irq_resources, &creq); + device_printf("_PRS returned %s\n", + AcpiFormatException(status)); if (ACPI_FAILURE(status)) { device_printf(dev, "Unable to parse _CRS or _PRS: %s\n", @@ -449,6 +455,7 @@ } } sc->pl_num_links = creq.count; + device_printf("num_links = %d\n", sc->pl_num_links); if (creq.count == 0) return (0); sc->pl_links = malloc(sizeof(struct link) * sc->pl_num_links, @@ -462,6 +469,7 @@ sc->pl_links[i].l_isa_irq = FALSE; sc->pl_links[i].l_res_index = -1; } + device_printf("links initialized\n", sc->pl_num_links); /* Try to read the current settings from _CRS if it is valid. */ if (!sc->pl_crs_bad) { @@ -469,8 +477,11 @@ rreq.link_index = 0; rreq.res_index = 0; rreq.sc = sc; + device_printf("calling _CRS again\n"); status = AcpiWalkResources(acpi_get_handle(dev), "_CRS", link_add_crs, &rreq); + device_printf("_CRS returned %s\n", + AcpiFormatException(status)); if (ACPI_FAILURE(status)) { device_printf(dev, "Unable to parse _CRS: %s\n", AcpiFormatException(status)); @@ -487,8 +498,10 @@ rreq.link_index = 0; rreq.res_index = 0; rreq.sc = sc; + device_printf("calling _PRS again\n"); status = AcpiWalkResources(acpi_get_handle(dev), "_PRS", link_add_prs, &rreq); + device_printf("_PRS returned %s\n", AcpiFormatException(status)); if (ACPI_FAILURE(status) && (status != AE_NOT_FOUND || sc->pl_crs_bad)) { device_printf(dev, "Unable to parse _PRS: %s\n", -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 12:10:08 2005 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 877FD16A41F for ; Fri, 23 Dec 2005 12:10:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB9CE43D45 for ; Fri, 23 Dec 2005 12:10:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBNCA7H6063315 for ; Fri, 23 Dec 2005 12:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBNCA738063314; Fri, 23 Dec 2005 12:10:07 GMT (envelope-from gnats) Date: Fri, 23 Dec 2005 12:10:07 GMT Message-Id: <200512231210.jBNCA738063314@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: dwerner1974 Cc: Subject: Re: kern/89879: [acpi] ACPI-0438: *** Error: Looking up [Z00C] in namespace, AE_NOT_FOUND X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dwerner1974 List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 12:10:08 -0000 The following reply was made to PR kern/89879; it has been noted by GNATS. From: dwerner1974 To: Ariff Abdullah Cc: bug-followup@FreeBSD.org Subject: Re: kern/89879: [acpi] ACPI-0438: *** Error: Looking up [Z00C] in namespace, AE_NOT_FOUND Date: Fri, 23 Dec 2005 04:07:54 -0800 (PST) I've fixed a few things but still get an error message upon boot, I don't know what exactly needs to be changed in the asl so it will work, this is my new output: lepus# iasl dsdt.asl Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20041119 [Dec 13 2005] Copyright (C) 2000 - 2004 Intel Corporation Supports ACPI Specification Revision 2.0c dsdt.asl 2026: Method (DRUL, 1, NotSerialized) Warning 2019 - ^ Not all control paths return a value (DRUL) dsdt.asl 2673: Method (_DCK, 1, NotSerialized) Warning 2019 - ^ Not all control paths return a value (_DCK) dsdt.asl 2673: Method (_DCK, 1, NotSerialized) Warning 2026 - ^ Reserved method must return a value (_DCK) ASL Input: dsdt.asl - 7481 lines, 256525 bytes, 3332 keywords AML Output: DSDT.aml - 28716 bytes 702 named objects 2630 executable opcodes Compilation complete. 0 Errors, 3 Warnings, 0 Remarks, 1152 Optimizations --- Ariff Abdullah wrote: > On Sat, 3 Dec 2005 18:00:21 GMT > "Dana H. Myers" wrote: > > The following reply was made to PR kern/89879; it > has been noted by > > GNATS. > > > > From: "Dana H. Myers" > > To: bug-followup@FreeBSD.org, > dwerner1974@yahoo.com > > Cc: > > Subject: Re: kern/89879: [acpi] ACPI-0438: *** > Error: Looking up > > [Z00C] in > > namespace, AE_NOT_FOUND > > Date: Sat, 03 Dec 2005 09:55:19 -0800 > > > > I see the same problem on the Acer Ferrari 4005, > where Z00C isn't > > defined and thus the battery status method fails. > > > This is actually easy to fix, provided that you know > how to dump, edit > and recompile your acpi dsdt using acpidump(8) and > iasl(8). Take a > look at > http://people.freebsd.org/~ariff/acer_ferrari/ for > an example > on how to tweak and recover the functionality of > battery status > method. > > -- > Ariff Abdullah > FreeBSD > __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 13:40:07 2005 Return-Path: X-Original-To: freebsd-acpi@hub.freebsd.org Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2B1D16A420 for ; Fri, 23 Dec 2005 13:40:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02AB343D46 for ; Fri, 23 Dec 2005 13:40:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBNDe6J0068312 for ; Fri, 23 Dec 2005 13:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBNDe6uO068311; Fri, 23 Dec 2005 13:40:06 GMT (envelope-from gnats) Date: Fri, 23 Dec 2005 13:40:06 GMT Message-Id: <200512231340.jBNDe6uO068311@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: dwerner1974 Cc: Subject: FIXED Re: kern/89879: [acpi] ACPI-0438: *** Error: Looking up [Z00C] in namespace, AE_NOT_FOUND X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dwerner1974 List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 13:40:07 -0000 The following reply was made to PR kern/89879; it has been noted by GNATS. From: dwerner1974 To: Ariff Abdullah Cc: bug-followup@FreeBSD.org Subject: FIXED Re: kern/89879: [acpi] ACPI-0438: *** Error: Looking up [Z00C] in namespace, AE_NOT_FOUND Date: Fri, 23 Dec 2005 05:36:41 -0800 (PST) Thanks for your help again, Ariff...it's finally fixed. My laptop now boots like it should and when I unplug it i can now see the remaining battery life. lepus% apm APM version: 1.2 APM Management: Enabled AC Line status: off-line Battery Status: high Remaining battery life: 99% Remaining battery time: 2:56:00 Number of batteries: 2 Battery 0: Battery Status: high Remaining battery life: 99% Remaining battery time: 2:56:00 Battery 1: not present Resume timer: unknown Resume on ring indicator: disabled --- Ariff Abdullah wrote: > On Sat, 3 Dec 2005 18:00:21 GMT > "Dana H. Myers" wrote: > > The following reply was made to PR kern/89879; it > has been noted by > > GNATS. > > > > From: "Dana H. Myers" > > To: bug-followup@FreeBSD.org, > dwerner1974@yahoo.com > > Cc: > > Subject: Re: kern/89879: [acpi] ACPI-0438: *** > Error: Looking up > > [Z00C] in > > namespace, AE_NOT_FOUND > > Date: Sat, 03 Dec 2005 09:55:19 -0800 > > > > I see the same problem on the Acer Ferrari 4005, > where Z00C isn't > > defined and thus the battery status method fails. > > > This is actually easy to fix, provided that you know > how to dump, edit > and recompile your acpi dsdt using acpidump(8) and > iasl(8). Take a > look at > http://people.freebsd.org/~ariff/acer_ferrari/ for > an example > on how to tweak and recover the functionality of > battery status > method. > > -- > Ariff Abdullah > FreeBSD > __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 15:17:50 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0326A16A41F for ; Fri, 23 Dec 2005 15:17:50 +0000 (GMT) (envelope-from vaida.bogdan@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41CA443D5F for ; Fri, 23 Dec 2005 15:17:46 +0000 (GMT) (envelope-from vaida.bogdan@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so654481nzo for ; Fri, 23 Dec 2005 07:17:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=X1rZ8qPPfpJS9907EW5xr1tyelwbYFZKVsKLnARXsYAesPr6+KCe85izYNH+0kGl8UgTyLQbR+37gnJ9aYzmK5bp60UvQ1Px+tCLA6HnWXaPX+SaXaRE6Rv2XPoVrt79XeFgjft6dAfzgRpsyAcZ80GENHBnduTP6cl8qMEDjj4= Received: by 10.37.15.56 with SMTP id s56mr70461nzi; Fri, 23 Dec 2005 07:17:45 -0800 (PST) Received: by 10.36.251.43 with HTTP; Fri, 23 Dec 2005 07:17:45 -0800 (PST) Message-ID: <12848a3b0512230717uf7d9513rfcdf8904aab498ba@mail.gmail.com> Date: Fri, 23 Dec 2005 17:17:45 +0200 From: Vaida Bogdan To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6969_13589512.1135351065237" Subject: fujitsu notebook and acpi resume from sleep 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: Fri, 23 Dec 2005 15:17:50 -0000 ------=_Part_6969_13589512.1135351065237 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have a Fujitsu Siemens AMILO Pro V2040 notebook and when I try to resume an acpi sleep command it freezes: If I power on after a sleep (acpiconf -s 3): ioapic_suspend: not_implemented! ioapic_suspend: not_implemented! [...] fwohci0: Phy 1394a available S400, 2 ports fwohci0: Link S400, max_rec 2048 bytes fwohci0: Initiate bus reset [ Freezes ] acpiconf -s 5 - poweroff acpiconf -s 4 - poweroff acpiconf -s 2 - sleep state S2 not supported by bios acpiconf -s 1 - sleep state S1 not supported by bios Attached: dmesg_acpi.txt (dmesg|grep acpi) and fujitsu_siemens.asl (acpidump -t -d) Any ideeas on how to solve this? ------=_Part_6969_13589512.1135351065237 Content-Type: application/octet-stream; name=fujitsu_siemens.asl Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fujitsu_siemens.asl" /* RSD PTR: OEM=PTLTD, ACPI_Rev=1.0x (0) RSDT=0x1f6e490a, cksum=89 */ /* RSDT: Length=68, Revision=1, Checksum=172, OEMID=PTLTD, OEM Table ID=Wistron, OEM Revision=0x6040000, Creator ID= LTP, Creator Revision=0x0 Entries={ 0x1f6e9e88, 0x1f6e9efc, 0x1f6e9fd8, 0x1f6e9f9c, 0x1f6e514e, 0x1f6e4d09, 0x1f6e4b49, 0x1f6e494e } */ /* FACP: Length=116, Revision=1, Checksum=156, OEMID=INTEL, OEM Table ID=ALVISO, OEM Revision=0x6040000, Creator ID=LOHR, Creator Revision=0x5f FACS=0x1f6fafc0, DSDT=0x1f6e5326 INT_MODEL=PIC Preferred_PM_Profile=Unspecified (0) SCI_INT=9 SMI_CMD=0xb2, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0xf2 PSTATE_CNT=0x80 PM1a_EVT_BLK=0x1000-0x1003 PM1a_CNT_BLK=0x1004-0x1005 PM2_CNT_BLK=0x1020-0x1020 PM_TMR_BLK=0x1008-0x100b GPE0_BLK=0x1028-0x102f CST_CNT=0x85 P_LVL2_LAT=1 us, P_LVL3_LAT=85 us FLUSH_SIZE=0, FLUSH_STRIDE=0 DUTY_OFFSET=1, DUTY_WIDTH=3 DAY_ALRM=13, MON_ALRM=0, CENTURY=50 IAPC_BOOT_ARCH= Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4,DCK_CAP} */ /* FACS: Length=64, HwSig=0x00001398, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=0 */ /* DSDT: Length=19298, Revision=1, Checksum=209, OEMID=FUJ, OEM Table ID=M40, OEM Revision=0x6040000, Creator ID=MSFT, Creator Revision=0x100000e */ /* APIC: Length=104, Revision=1, Checksum=26, OEMID=INTEL, OEM Table ID=ALVISO, OEM Revision=0x6040000, Creator ID=LOHR, Creator Revision=0x5f Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=0 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=1 Flags={DISABLED} APIC ID=1 Type=IO APIC APIC ID=1 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} Type=Local NMI ACPI CPU=0 LINT Pin=1 Flags={Polarity=active-hi, Trigger=edge} Type=Local NMI ACPI CPU=1 LINT Pin=1 Flags={Polarity=active-hi, Trigger=edge} */ /* BOOT: Length=40, Revision=1, Checksum=164, OEMID=PTLTD, OEM Table ID=$SBFTBL$, OEM Revision=0x6040000, Creator ID= LTP, Creator Revision=0x1 */ /* MCFG: Length=60, Revision=1, Checksum=127, OEMID=INTEL, OEM Table ID=ALVISO, OEM Revision=0x6040000, Creator ID=LOHR, Creator Revision=0x5f Base Address= 0x00000000e0000000 Segment Group= 0x0000 Start Bus= 0 End Bus= 255 */ /* SSDT: Length=468, Revision=1, Checksum=190, OEMID=SataRe, OEM Table ID=SataAhci, OEM Revision=0x1000, Creator ID=INTL, Creator Revision=0x20030224 */ /* SSDT: Length=697, Revision=1, Checksum=122, OEMID=PmRef, OEM Table ID=Cpu0Ist, OEM Revision=0x3000, Creator ID=INTL, Creator Revision=0x20030224 */ /* SSDT: Length=448, Revision=1, Checksum=68, OEMID=PmRef, OEM Table ID=C0C3CST, OEM Revision=0x3001, Creator ID=INTL, Creator Revision=0x20030224 */ /* SSDT: Length=507, Revision=1, Checksum=77, OEMID=PmRef, OEM Table ID=CpuPm, OEM Revision=0x3000, Creator ID=INTL, Creator Revision=0x20030224 */ /* * Intel ACPI Component Architecture * AML Disassembler version 20041119 * * Disassembly of /tmp/acpidump.pmQmET, Fri Dec 23 17:16:51 2005 */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "FUJ ", "M40 ", 100925440) { OperationRegion (PORT, SystemIO, 0x80, 0x01) Field (PORT, ByteAcc, NoLock, Preserve) { P80H, 8 } OperationRegion (IO_T, SystemIO, 0x0800, 0x10) Field (IO_T, ByteAcc, NoLock, Preserve) { Offset (0x02), Offset (0x04), Offset (0x06), Offset (0x08), TRP0, 8, Offset (0x0A), Offset (0x0B), Offset (0x0C), Offset (0x0D), Offset (0x0E), Offset (0x0F), Offset (0x10) } OperationRegion (GPIO, SystemIO, 0x1180, 0x3C) Field (GPIO, ByteAcc, NoLock, Preserve) { GU00, 8, GU01, 8, GU02, 8, GU03, 8, GIO0, 8, GIO1, 8, GIO2, 8, GIO3, 8, Offset (0x0C), GL00, 8, GL01, 8, , 5, GP21, 1, , 1, GP23, 1, , 1, GP25, 1, Offset (0x10), Offset (0x18), GB00, 8, GB01, 8, GB02, 8, GB03, 8, Offset (0x2C), GIV0, 8, GIV1, 8, GIV2, 8, GIV3, 8, GU04, 8, GU05, 8, GU06, 8, GU07, 8, GIO4, 8, GIO5, 8, GIO6, 8, GIO7, 8, , 1, GP33, 1, Offset (0x39), GL05, 8, GP48, 1, Offset (0x3B), GL07, 8 } OperationRegion (MNVS, SystemMemory, 0x1F6EAE4D, 0x0100) Field (MNVS, AnyAcc, Lock, Preserve) { OSYS, 16, SMIF, 8, PAR1, 8, PAR2, 8, SCIF, 8, PAR3, 8, PAR4, 8, LCKF, 8, PRM4, 8, PRM5, 8, P80D, 32, LIDS, 8, PWRS, 8, DBGS, 8, Offset (0x14), ACTT, 8, PSVT, 8, TC1V, 8, TC2V, 8, TSPV, 8, CRTT, 8, Offset (0x1E), BNUM, 8, B0SC, 8, B1SC, 8, B2SC, 8, B0SS, 8, B1SS, 8, B2SS, 8, Offset (0x28), APIC, 8, CPUL, 8, CPUH, 8, GV3E, 8, HTTE, 8, WTHT, 8, Offset (0x32), NATP, 8, CMAP, 8, CMBP, 8, LPTP, 8, FDCP, 8, CMCP, 8, Offset (0x3C), IGDS, 8, TLST, 8, CADL, 8, PADL, 8, CSTE, 16, NSTE, 16, SSTE, 16, NDID, 8, DID1, 32, DID2, 32, DID3, 32, DID4, 32, DID5, 32, DID6, 32, DID7, 32, DID8, 32, BLCS, 8, BRTL, 8, ALSE, 8, ALAF, 8, LLOW, 8, LHIH, 8, Offset (0x6E), EMAE, 8, EMAP, 16, EMAL, 16, Offset (0x82), GTF0, 56, GTF2, 56, IDEM, 8 } OperationRegion (RCRB, SystemMemory, 0xF0008000, 0x4000) Field (RCRB, DWordAcc, Lock, Preserve) { Offset (0x1000), Offset (0x3000), Offset (0x3404), HPAS, 2, , 5, HPAE, 1, Offset (0x3418), , 1, PATD, 1, SATD, 1, SMBD, 1, AZAD, 1, A97D, 1, Offset (0x341A), RP1D, 1, RP2D, 1, RP3D, 1, RP4D, 1 } Mutex (MSMI, 0x07) Method (PHSR, 2, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg1, PAR1) Store (Arg0, SMIF) Store (Zero, TRP0) Store (PAR1, Local0) Release (MSMI) Return (Local0) } Method (HKEY, 1, NotSerialized) { PHSR (0x1E, Arg0) } Method (LAMN, 1, NotSerialized) { PHSR (0x1F, Arg0) } Method (RBEC, 1, NotSerialized) { Return (PHSR (0x20, Arg0)) } Method (WBEC, 2, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg1, PAR2) Store (Arg0, PAR1) Store (0x21, SMIF) Store (Zero, TRP0) Release (MSMI) } Method (MBEC, 3, NotSerialized) { Acquire (MSMI, 0xFFFF) Store (Arg2, PAR3) Store (Arg1, PAR2) Store (Arg0, PAR1) Store (0x22, SMIF) Store (Zero, TRP0) Release (MSMI) } Mutex (MUTX, 0x00) Name (_S0, Package (0x03) { 0x00, 0x00, 0x00 }) Name (_S3, Package (0x03) { 0x05, 0x05, 0x00 }) Name (_S4, Package (0x03) { 0x06, 0x06, 0x00 }) Name (_S5, Package (0x03) { 0x07, 0x07, 0x00 }) Scope (\_PR) { Processor (CPU0, 0x00, 0x00001010, 0x06) {} Processor (CPU1, 0x01, 0x00001010, 0x06) {} } Name (\DSEN, 0x01) Name (\ECON, 0x00) Name (\GPIC, 0x00) Name (\CTYP, 0x00) Name (\L01C, 0x00) Name (TVSF, 0x01) Name (BOBO, 0x00) Name (DDST, 0x00) Method (\_PIC, 1, NotSerialized) { Store (Arg0, GPIC) } Method (_PTS, 1, NotSerialized) { Store (Arg0, P80H) Store (0x01, GP48) If (LEqual (Arg0, 0x05)) { PHSR (0x2A, 0x00) } } Method (_WAK, 1, NotSerialized) { Store (Arg0, P80H) If (LEqual (Arg0, 0x03)) { PHSR (0x2F, 0x00) If (LEqual (PAR1, 0x00)) { Notify (\_SB.SLPB, 0x02) } } If (LEqual (Arg0, 0x04)) { If (CondRefOf (_OSI, Local0)) { Store (0x07D1, OSYS) } Else { If (LEqual (SizeOf (_OS), 0x14)) { Store (0x07D0, OSYS) PHSR (0x35, 0x00) } Else { If (LEqual (SizeOf (_OS), 0x27)) { Store (0x07CF, OSYS) } Else { Store (0x07CE, OSYS) } } } } Notify (\_SB.PCI0.LPCB.EC0.BAT0, 0x81) Store (0x00, GP48) If (\ECON) { Store (0x01, \_SB.PCI0.LPCB.EC0.MTST) } Else { \MBEC (0x71, 0xFF, 0x08) } } Name (FWSO, "FWSO") Name (_PSC, 0x00) Method (_PS0, 0, NotSerialized) { Store (_PSC, Local0) Store (0x00, _PSC) } Method (_PS3, 0, NotSerialized) { Store (0x03, _PSC) } Scope (\_SI) { Method (_SST, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Store (0x00, GP48) } If (LOr (LEqual (Arg0, 0x01), LEqual (Arg0, 0x02))) { Store (0x00, GP48) } If (LEqual (Arg0, 0x03)) { Store (0x01, GP48) } If (LEqual (Arg0, 0x04)) { Store (0x01, GP48) } } } Scope (\_GPE) { Method (_L01, 0, NotSerialized) { Add (L01C, 0x01, L01C) Sleep (0x64) If (\_SB.PCI0.RP01.HPCS) { Store (0x01, P80H) If (\_SB.PCI0.RP01.PDC1) { Store (0x01, \_SB.PCI0.RP01.PDC1) Notify (\_SB.PCI0.RP01, 0x00) } Store (0x01, \_SB.PCI0.RP01.HPCS) } If (\_SB.PCI0.RP02.HPCS) { If (\_SB.PCI0.RP02.PDC2) { Store (0x01, \_SB.PCI0.RP02.PDC2) Notify (\_SB.PCI0.RP02, 0x00) } Store (0x01, \_SB.PCI0.RP02.HPCS) } If (\_SB.PCI0.RP03.HPCS) { If (\_SB.PCI0.RP03.PDC3) { Store (0x01, \_SB.PCI0.RP03.PDC3) Notify (\_SB.PCI0.RP03, 0x00) } Store (0x01, \_SB.PCI0.RP03.HPCS) } If (\_SB.PCI0.RP04.HPCS) { If (\_SB.PCI0.RP04.PDC4) { Store (0x01, \_SB.PCI0.RP04.PDC4) Notify (\_SB.PCI0.RP04, 0x00) } Store (0x01, \_SB.PCI0.RP04.HPCS) } } Method (_L05, 0, NotSerialized) { If (AZAD) { Notify (\_SB.PCI0.MODM, 0x02) } Else { Notify (\_SB.PCI0.AZAL, 0x02) } } Method (_L09, 0, NotSerialized) { Store (0x09, P80H) If (\_SB.PCI0.RP01.PSP1) { Store (0x01, \_SB.PCI0.RP01.PSP1) Store (0x01, \_SB.PCI0.RP01.PMCS) Notify (\_SB.PCI0.RP01, 0x02) } If (\_SB.PCI0.RP02.PSP2) { Store (0x01, \_SB.PCI0.RP02.PSP2) Store (0x01, \_SB.PCI0.RP02.PMCS) Notify (\_SB.PCI0.RP02, 0x02) } If (\_SB.PCI0.RP03.PSP3) { Store (0x01, \_SB.PCI0.RP03.PSP3) Store (0x01, \_SB.PCI0.RP03.PMCS) Notify (\_SB.PCI0.RP03, 0x02) } If (\_SB.PCI0.RP04.PSP4) { Store (0x01, \_SB.PCI0.RP04.PSP4) Store (0x01, \_SB.PCI0.RP04.PMCS) Notify (\_SB.PCI0.RP04, 0x02) } } Method (_L0B, 0, NotSerialized) { Store (0x0B, P80H) Notify (\_SB.PCI0.PCIB, 0x02) } Method (_L1D, 0, NotSerialized) { Store (0x1D, P80H) } } Method (EC19, 0, NotSerialized) { If (LEqual (TLST, 0x0F)) { Store (PHSR (0x2D, 0x00), Local0) If (LNot (LLess (Local0, 0x02))) { Store (0x00, TLST) } Else { Store (Increment (Local0), TLST) } } Increment (TLST) If (LEqual (TLST, 0x01)) { Store (0x0101, NSTE) } If (LEqual (TLST, 0x02)) { Store (0x0404, NSTE) } If (LEqual (TLST, 0x03)) { Store (0x00, TLST) Store (0x0505, NSTE) } If (LEqual (TLST, 0x05)) { Store (0x04, TLST) Store (0x0202, NSTE) } If (LEqual (0x00, DSEN)) { PHSR (0x02, 0x00) If (LEqual (SMIF, 0x00)) { If (LNot (LEqual (CADL, PADL))) { Store (CADL, PADL) If (LEqual (OSYS, 0x07D1)) { Notify (\_SB.PCI0, 0x00) } Else { Notify (\_SB.PCI0.GFX0, 0x00) } Sleep (0x02EE) } Notify (\_SB.PCI0.GFX0, 0x80) } } If (LEqual (0x01, DSEN)) { PHSR (0x2C, 0x00) } } Method (EC20, 0, NotSerialized) { PHSR (0x2C, 0x00) } Scope (\_TZ) { Name (TBSE, 0x0AAC) Name (LTMP, 0x1E) Name (CRT0, 0x00) Name (CRT1, 0x00) Name (PSV0, 0x00) Name (PSV1, 0x00) Name (S0BF, 0x00) Name (S1BF, 0x00) Name (T4FG, 0x00) Name (T5FG, 0x00) ThermalZone (TZS0) { Method (_TMP, 0, NotSerialized) { If (LEqual (S0BF, 0x00)) { If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.THSL, Local1) } Else { And (RBEC (0x92), 0x0F, Local1) } If (LNot (LLess (Local1, 0x04))) { Store (0x01, T4FG) } If (LNot (LLess (Local1, 0x05))) { Store (0x01, T5FG) } } Store (0x01, S0BF) If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.THS0, Local0) } Else { Store (RBEC (0xA8), Local0) } If (LEqual (T4FG, 0x01)) { If (LNot (LGreater (Local0, PSV0))) { Add (PSV0, 0x02, Local0) } } Return (C2K (Local0)) } Method (_CRT, 0, NotSerialized) { If (\ECON) { Store (0x00, \_SB.PCI0.LPCB.EC0.TIID) Store (\_SB.PCI0.LPCB.EC0.TS5H, Local0) } Else { WBEC (0x01, 0x00) Store (RBEC (0xDE), Local0) } If (LNot (LLess (Local0, 0x80))) { Store (0x64, Local0) } Store (Local0, CRT0) Return (C2K (Local0)) } Name (_PSL, Package (0x01) { \_PR.CPU0 }) Method (_PSV, 0, NotSerialized) { If (\ECON) { Store (0x00, \_SB.PCI0.LPCB.EC0.TIID) Store (\_SB.PCI0.LPCB.EC0.TS3H, Local0) } Else { WBEC (0x01, 0x00) Store (RBEC (0xDA), Local0) } If (LNot (LLess (Local0, 0x80))) { Store (0x5A, Local0) } Store (Local0, PSV0) Return (C2K (Local0)) } Name (_TC1, 0x02) Name (_TC2, 0x05) Name (_TSP, 0x012C) } ThermalZone (TZS1) { Method (_TMP, 0, NotSerialized) { If (LEqual (S1BF, 0x00)) { If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.THSL, Local1) } Else { And (RBEC (0x92), 0x0F, Local1) } If (LNot (LLess (Local1, 0x04))) { Store (0x01, T4FG) } If (LNot (LLess (Local1, 0x05))) { Store (0x01, T5FG) } } Store (0x01, S1BF) If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.THS1, Local0) } Else { Store (RBEC (0xA9), Local0) } If (LEqual (T4FG, 0x01)) { If (LNot (LGreater (Local0, PSV1))) { Add (PSV1, 0x02, Local0) } } Return (C2K (Local0)) } Method (_CRT, 0, NotSerialized) { If (\ECON) { Store (0x01, \_SB.PCI0.LPCB.EC0.TIID) Store (\_SB.PCI0.LPCB.EC0.TS5H, Local0) } Else { WBEC (0x01, 0x01) Store (RBEC (0xDE), Local0) } If (LNot (LLess (Local0, 0x80))) { Store (0x64, Local0) } Store (Local0, CRT1) Return (C2K (Local0)) } Name (_PSL, Package (0x01) { \_PR.CPU0 }) Method (_PSV, 0, NotSerialized) { If (\ECON) { Store (0x01, \_SB.PCI0.LPCB.EC0.TIID) Store (\_SB.PCI0.LPCB.EC0.TS3H, Local0) } Else { WBEC (0x01, 0x01) Store (RBEC (0xDA), Local0) } If (LNot (LLess (Local0, 0x80))) { Store (0x5A, Local0) } Store (Local0, PSV1) Return (C2K (Local0)) } Name (_TC1, 0x02) Name (_TC2, 0x05) Name (_TSP, 0x012C) } Method (C2K, 1, NotSerialized) { Store (Arg0, Local0) If (LNot (LGreater (Local0, 0x10))) { Store (LTMP, Local0) } If (LNot (LLess (Local0, 0x78))) { Store (LTMP, Local0) } Add (Multiply (Local0, 0x0A), TBSE, Local0) Return (Local0) } } Method (GETP, 1, Serialized) { If (LEqual (And (Arg0, 0x09), 0x00)) { Return (0xFFFFFFFF) } If (LEqual (And (Arg0, 0x09), 0x08)) { Return (0x0384) } ShiftRight (And (Arg0, 0x0300), 0x08, Local0) ShiftRight (And (Arg0, 0x3000), 0x0C, Local1) Return (Multiply (0x1E, Subtract (0x09, Add (Local0, Local1)))) } Method (GDMA, 5, Serialized) { If (Arg0) { If (LAnd (Arg1, Arg4)) { Return (0x14) } If (LAnd (Arg2, Arg4)) { Return (Multiply (Subtract (0x04, Arg3), 0x0F)) } Return (Multiply (Subtract (0x04, Arg3), 0x1E)) } Return (0xFFFFFFFF) } Method (GETT, 1, Serialized) { Return (Multiply (0x1E, Subtract (0x09, Add (And (ShiftRight (Arg0, 0x02), 0x03), And (Arg0, 0x03))))) } Method (GETF, 3, Serialized) { Name (TMPF, 0x00) If (Arg0) { Or (TMPF, 0x01, TMPF) } If (And (Arg2, 0x02)) { Or (TMPF, 0x02, TMPF) } If (Arg1) { Or (TMPF, 0x04, TMPF) } If (And (Arg2, 0x20)) { Or (TMPF, 0x08, TMPF) } If (And (Arg2, 0x4000)) { Or (TMPF, 0x10, TMPF) } Return (TMPF) } Method (SETP, 3, Serialized) { If (LGreater (Arg0, 0xF0)) { Return (0x08) } Else { If (And (Arg1, 0x02)) { If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02))) { Return (0x2301) } If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, 0x01))) { Return (0x2101) } } Return (0x1001) } } Method (SDMA, 1, Serialized) { If (LNot (LGreater (Arg0, 0x14))) { Return (0x01) } If (LNot (LGreater (Arg0, 0x1E))) { Return (0x02) } If (LNot (LGreater (Arg0, 0x2D))) { Return (0x01) } If (LNot (LGreater (Arg0, 0x3C))) { Return (0x02) } If (LNot (LGreater (Arg0, 0x5A))) { Return (0x01) } Return (0x00) } Method (SETT, 3, Serialized) { If (And (Arg1, 0x02)) { If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02))) { Return (0x0B) } If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, 0x01))) { Return (0x09) } } Return (0x04) } Scope (\_SB) { Device (LID0) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.KLID, Local0) } Else { And (\RBEC (0x70), 0x02, Local0) } If (Local0) { Return (0x01) } Else { Return (0x00) } } Method (_PSW, 1, NotSerialized) { If (\ECON) { Store (Arg0, \_SB.PCI0.LPCB.EC0.LIDW) } Else { If (Arg0) { \MBEC (0x72, 0xEF, 0x10) } Else { \MBEC (0x72, 0xEF, 0x00) } } } Name (_PRW, Package (0x02) { 0x1D, 0x03 }) } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Name (_PRW, Package (0x02) { 0x1D, 0x03 }) } Device (PCI0) { Method (_INI, 0, NotSerialized) { If (CondRefOf (_OSI, Local0)) { Store (0x07D1, OSYS) } Else { If (LEqual (SizeOf (_OS), 0x14)) { Store (0x07D0, OSYS) PHSR (0x35, 0x00) } Else { If (LEqual (SizeOf (_OS), 0x27)) { Store (0x07CF, OSYS) } Else { Store (0x07CE, OSYS) } } } } Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } Name (_HID, EisaId ("PNP0A03")) Name (_ADR, 0x00) Name (_BBN, 0x00) OperationRegion (HBUS, PCI_Config, 0x40, 0xC0) Field (HBUS, DWordAcc, NoLock, Preserve) { Offset (0x50), , 4, PM0H, 2, Offset (0x51), PM1L, 2, , 2, PM1H, 2, Offset (0x52), PM2L, 2, , 2, PM2H, 2, Offset (0x53), PM3L, 2, , 2, PM3H, 2, Offset (0x54), PM4L, 2, , 2, PM4H, 2, Offset (0x55), PM5L, 2, , 2, PM5H, 2, Offset (0x56), PM6L, 2, , 2, PM6H, 2, Offset (0x57), , 7, HENA, 1, Offset (0x5C), , 3, TOUD, 5 } Name (BUF0, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, 0x0000, 0x00FF, 0x0000, 0x0100, 0x00) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, 0x00000000, 0x00000CF7, 0x00000000, 0x00000CF8, 0x00) IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08) DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x00000000, 0x00000D00, 0x0000FFFF, 0x00000000, 0x0000F300, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000A0000, 0x000BFFFF, 0x00000000, 0x00020000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000C0000, 0x000C3FFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000C4000, 0x000C7FFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000C8000, 0x000CBFFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000CC000, 0x000CFFFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000D0000, 0x000D3FFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000D4000, 0x000D7FFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000D8000, 0x000DBFFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000DC000, 0x000DFFFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000E0000, 0x000E3FFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000E4000, 0x000E7FFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000E8000, 0x000EBFFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000EC000, 0x000EFFFF, 0x00000000, 0x00004000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000F0000, 0x000FFFFF, 0x00000000, 0x00010000, 0x00) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x00000000, 0xFEBFFFFF, 0x00000000, 0x00000000, 0x00) }) Method (_CRS, 0, Serialized) { If (PM1L) { CreateDWordField (BUF0, 0x80, C0LN) Store (Zero, C0LN) } If (LEqual (PM1L, 0x01)) { CreateBitField (BUF0, 0x0378, C0RW) Store (Zero, C0RW) } If (PM1H) { CreateDWordField (BUF0, 0x9B, C4LN) Store (Zero, C4LN) } If (LEqual (PM1H, 0x01)) { CreateBitField (BUF0, 0x0450, C4RW) Store (Zero, C4RW) } If (PM2L) { CreateDWordField (BUF0, 0xB6, C8LN) Store (Zero, C8LN) } If (LEqual (PM2L, 0x01)) { CreateBitField (BUF0, 0x0528, C8RW) Store (Zero, C8RW) } If (PM2H) { CreateDWordField (BUF0, 0xD1, CCLN) Store (Zero, CCLN) } If (LEqual (PM2H, 0x01)) { CreateBitField (BUF0, 0x0600, CCRW) Store (Zero, CCRW) } If (PM3L) { CreateDWordField (BUF0, 0xEC, D0LN) Store (Zero, D0LN) } If (LEqual (PM3L, 0x01)) { CreateBitField (BUF0, 0x06D8, D0RW) Store (Zero, D0RW) } If (PM3H) { CreateDWordField (BUF0, 0x0107, D4LN) Store (Zero, D4LN) } If (LEqual (PM3H, 0x01)) { CreateBitField (BUF0, 0x07B0, D4RW) Store (Zero, D4RW) } If (PM4L) { CreateDWordField (BUF0, 0x0122, D8LN) Store (Zero, D8LN) } If (LEqual (PM4L, 0x01)) { CreateBitField (BUF0, 0x0888, D8RW) Store (Zero, D8RW) } If (PM4H) { CreateDWordField (BUF0, 0x013D, DCLN) Store (Zero, DCLN) } If (LEqual (PM4H, 0x01)) { CreateBitField (BUF0, 0x0960, DCRW) Store (Zero, DCRW) } If (PM5L) { CreateDWordField (BUF0, 0x0158, E0LN) Store (Zero, E0LN) } If (LEqual (PM5L, 0x01)) { CreateBitField (BUF0, 0x0A38, E0RW) Store (Zero, E0RW) } If (PM5H) { CreateDWordField (BUF0, 0x0173, E4LN) Store (Zero, E4LN) } If (LEqual (PM5H, 0x01)) { CreateBitField (BUF0, 0x0B10, E4RW) Store (Zero, E4RW) } If (PM6L) { CreateDWordField (BUF0, 0x018E, E8LN) Store (Zero, E8LN) } If (LEqual (PM6L, 0x01)) { CreateBitField (BUF0, 0x0BE8, E8RW) Store (Zero, E8RW) } If (PM6H) { CreateDWordField (BUF0, 0x01A9, ECLN) Store (Zero, ECLN) } If (LEqual (PM6H, 0x01)) { CreateBitField (BUF0, 0x0CC0, ECRW) Store (Zero, ECRW) } If (PM0H) { CreateDWordField (BUF0, 0x01C4, F0LN) Store (Zero, F0LN) } If (LEqual (PM0H, 0x01)) { CreateBitField (BUF0, 0x0D98, F0RW) Store (Zero, F0RW) } CreateDWordField (BUF0, 0x01D3, M1MN) CreateDWordField (BUF0, 0x01D7, M1MX) CreateDWordField (BUF0, 0x01DF, M1LN) ShiftLeft (TOUD, 0x1B, M1MN) Add (Subtract (M1MX, M1MN), 0x01, M1LN) Return (BUF0) } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x12) { Package (0x04) { 0x0001FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x0002FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x0007FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001BFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001CFFFF, 0x00, 0x00, 0x11 }, Package (0x04) { 0x001CFFFF, 0x01, 0x00, 0x10 }, Package (0x04) { 0x001CFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0x001CFFFF, 0x03, 0x00, 0x13 }, Package (0x04) { 0x001DFFFF, 0x00, 0x00, 0x17 }, Package (0x04) { 0x001DFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x001DFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0x001DFFFF, 0x03, 0x00, 0x13 }, Package (0x04) { 0x001DFFFF, 0x07, 0x00, 0x17 }, Package (0x04) { 0x001EFFFF, 0x00, 0x00, 0x15 }, Package (0x04) { 0x001EFFFF, 0x01, 0x00, 0x15 }, Package (0x04) { 0x001FFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001FFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x001FFFFF, 0x03, 0x00, 0x11 } }) } Else { Return (Package (0x12) { Package (0x04) { 0x0001FFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x0002FFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x0007FFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x001BFFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x001CFFFF, 0x00, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0x001CFFFF, 0x01, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x001CFFFF, 0x02, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0x001CFFFF, 0x03, \_SB.PCI0.LPCB.LNKD, 0x00 }, Package (0x04) { 0x001DFFFF, 0x00, \_SB.PCI0.LPCB.LNKH, 0x00 }, Package (0x04) { 0x001DFFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0x001DFFFF, 0x02, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0x001DFFFF, 0x03, \_SB.PCI0.LPCB.LNKD, 0x00 }, Package (0x04) { 0x001DFFFF, 0x07, \_SB.PCI0.LPCB.LNKH, 0x00 }, Package (0x04) { 0x001EFFFF, 0x00, \_SB.PCI0.LPCB.LNKF, 0x00 }, Package (0x04) { 0x001EFFFF, 0x01, \_SB.PCI0.LPCB.LNKF, 0x00 }, Package (0x04) { 0x001FFFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0x001FFFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0x001FFFFF, 0x03, \_SB.PCI0.LPCB.LNKB, 0x00 } }) } } Device (PEGP) { Name (_ADR, 0x00010000) Device (VGA) { Name (_ADR, 0x00) Method (_STA, 0, NotSerialized) { If (LEqual (PHSR (0x30, 0x00), 0x00)) { Return (0x00) } Else { Return (0x0F) } } Name (CRTC, 0x00) Name (CRTN, 0x00) Name (LCDC, 0x00) Name (LCDN, 0x00) Name (SWIH, 0x00) Method (VDEV, 0, NotSerialized) { Store (DDST, Local0) And (DDST, 0x03, DDST) If (LEqual (DDST, 0x01)) { Store (0x00, CRTC) Store (0x01, CRTN) Store (0x01, LCDC) Store (0x00, LCDN) } If (LEqual (DDST, 0x02)) { Store (0x01, CRTC) Store (0x01, CRTN) Store (0x00, LCDC) Store (0x01, LCDN) } If (LEqual (DDST, 0x03)) { Store (0x01, CRTC) Store (0x00, CRTN) Store (0x01, LCDC) Store (0x01, LCDN) } And (Local0, 0x04, Local0) If (LEqual (Local0, 0x04)) { Store (0x01, TVSF) } Else { Store (0x00, TVSF) } } Method (_DOS, 1, NotSerialized) { VDEV () Store (0x01, SWIH) } Method (_DOD, 0, NotSerialized) { Return (Package (0x03) { 0x00010100, 0x00010200, 0x00010110 }) } Device (CRT) { Name (_ADR, 0x0100) Method (_DCS, 0, NotSerialized) { If (CRTC) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (CRTN) { Return (0x01) } Else { Return (0x00) } } Method (_DSS, 1, NotSerialized) { } } Device (LCD) { Name (_ADR, 0x0110) Method (_DCS, 0, NotSerialized) { If (LCDC) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (LCDN) { Return (0x01) } Else { Return (0x00) } } Method (_DSS, 1, NotSerialized) { } Method (_DDC, 1, NotSerialized) { If (LEqual (Arg0, 0x01)) { Return (\_SB.PCI0.PEGP.VGA.DDC4) } If (LEqual (Arg0, 0x02)) { Concatenate (\_SB.PCI0.PEGP.VGA.DDC4, \_SB.PCI0.PEGP.VGA.DDC0, Local0) Return (Local0) } Return (0x00) } } Device (TVO) { Name (_ADR, 0x0200) Method (_DCS, 0, NotSerialized) { If (TVSF) { Return (0x1F) } Else { Return (0x1D) } } Method (_DGS, 0, NotSerialized) { If (TVSF) { Return (0x01) } Else { Return (0x00) } } Method (_DSS, 1, NotSerialized) { } Method (_DDC, 1, NotSerialized) { If (LEqual (Arg0, 0x01)) { Return (\_SB.PCI0.PEGP.VGA.DDC3) } If (LEqual (Arg0, 0x02)) { Concatenate (\_SB.PCI0.PEGP.VGA.DDC3, \_SB.PCI0.PEGP.VGA.DDC0, Local0) Return (Local0) } Return (0x00) } } Name (DDC0, Buffer (0x80) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (DDC3, Buffer (0x80) { 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x41, 0xD0, 0xFE, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD3 }) Name (DDC4, Buffer (0x80) { 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x36, 0x7F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x28, 0x1E, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEC }) } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0xFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0xFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0xFFFF, 0x03, 0x00, 0x13 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0xFFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0xFFFF, 0x02, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0xFFFF, 0x03, \_SB.PCI0.LPCB.LNKD, 0x00 } }) } } } Device (GFX0) { Name (_ADR, 0x00020000) Method (_STA, 0, NotSerialized) { If (LEqual (PHSR (0x30, 0x00), 0x01)) { Return (0x00) } Else { Return (0x0F) } } OperationRegion (VNVS, SystemMemory, 0x1F6EAF4D, 0x00010000) Field (VNVS, AnyAcc, Lock, Preserve) { VBF1, 262144, VBF2, 262144 } Method (_DOS, 1, NotSerialized) { Store (And (Arg0, 0x03), DSEN) } Method (_DOD, 0, NotSerialized) { If (LEqual (NDID, 0x01)) { Name (TMP1, Package (0x01) { 0xFFFFFFFF }) Store (Or (0x00010000, DID1), Index (TMP1, 0x00)) Return (TMP1) } If (LEqual (NDID, 0x02)) { Name (TMP2, Package (0x02) { 0xFFFFFFFF, 0xFFFFFFFF }) Store (Or (0x00010000, DID1), Index (TMP2, 0x00)) Store (Or (0x00010000, DID2), Index (TMP2, 0x01)) Return (TMP2) } If (LEqual (NDID, 0x03)) { Name (TMP3, Package (0x03) { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Store (Or (0x00010000, DID1), Index (TMP3, 0x00)) Store (Or (0x00010000, DID2), Index (TMP3, 0x01)) Store (Or (0x00010000, DID3), Index (TMP3, 0x02)) Return (TMP3) } If (LEqual (NDID, 0x04)) { Name (TMP4, Package (0x04) { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Store (Or (0x00010000, DID1), Index (TMP4, 0x00)) Store (Or (0x00010000, DID2), Index (TMP4, 0x01)) Store (Or (0x00010000, DID3), Index (TMP4, 0x02)) Store (Or (0x00010000, DID4), Index (TMP4, 0x03)) Return (TMP4) } Name (TMP5, Package (0x05) { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Store (Or (0x00010000, DID1), Index (TMP5, 0x00)) Store (Or (0x00010000, DID2), Index (TMP5, 0x01)) Store (Or (0x00010000, DID3), Index (TMP5, 0x02)) Store (Or (0x00010000, DID4), Index (TMP5, 0x03)) Store (Or (0x00010000, DID5), Index (TMP5, 0x04)) Return (TMP5) } Device (DD01) { Method (_ADR, 0, Serialized) { Return (And (0xFFFF, DID1)) } Method (_DCS, 0, NotSerialized) { PHSR (0x01, 0x00) If (And (CSTE, 0x01)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x01)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD02) { Method (_ADR, 0, Serialized) { Return (And (0xFFFF, DID2)) } Method (_DCS, 0, NotSerialized) { PHSR (0x01, 0x00) If (And (CSTE, 0x02)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x02)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD03) { Method (_ADR, 0, Serialized) { Return (And (0xFFFF, DID3)) } Method (_DCS, 0, NotSerialized) { PHSR (0x01, 0x00) If (And (CSTE, 0x04)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x04)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD04) { Method (_ADR, 0, Serialized) { Return (And (0xFFFF, DID4)) } Method (_DCS, 0, NotSerialized) { PHSR (0x01, 0x00) If (And (CSTE, 0x08)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x08)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } Device (DD05) { Method (_ADR, 0, Serialized) { Return (And (0xFFFF, DID5)) } Method (_DCS, 0, NotSerialized) { PHSR (0x01, 0x00) If (And (CSTE, 0x10)) { Return (0x1F) } Return (0x1D) } Method (_DGS, 0, NotSerialized) { If (And (NSTE, 0x10)) { Return (0x01) } Return (0x00) } Method (_DSS, 1, NotSerialized) { If (LEqual (And (Arg0, 0xC0000000), 0xC0000000)) { Store (NSTE, CSTE) } } } } Device (AZAL) { Name (_ADR, 0x001B0000) Name (_PRW, Package (0x02) { 0x05, 0x04 }) Method (_PS3, 0, NotSerialized) { } Method (_PS0, 0, NotSerialized) { Store (0x0F, \_SB.PCI0.LPCB.EC0.EDAT) Store (0x60, \_SB.PCI0.LPCB.EC0.ECMD) } } Device (RP01) { Name (_ADR, 0x001C0000) OperationRegion (P1CS, PCI_Config, 0x40, 0x0100) Field (P1CS, AnyAcc, NoLock, WriteAsZeros) { Offset (0x1A), ABP1, 1, , 2, PDC1, 1, , 2, PDS1, 1, Offset (0x20), Offset (0x22), PSP1, 1, Offset (0x9C), , 30, HPCS, 1, PMCS, 1 } Device (PXS1) { Name (_ADR, 0x00) Method (_RMV, 0, NotSerialized) { Return (0x01) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (\GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0xFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0xFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0xFFFF, 0x03, 0x00, 0x13 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0xFFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0xFFFF, 0x02, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0xFFFF, 0x03, \_SB.PCI0.LPCB.LNKD, 0x00 } }) } } } Device (RP02) { Name (_ADR, 0x001C0001) OperationRegion (P2CS, PCI_Config, 0x40, 0x0100) Field (P2CS, AnyAcc, NoLock, WriteAsZeros) { Offset (0x1A), ABP2, 1, , 2, PDC2, 1, , 2, PDS2, 1, Offset (0x20), Offset (0x22), PSP2, 1, Offset (0x9C), , 30, HPCS, 1, PMCS, 1 } Device (PXS2) { Name (_ADR, 0x00) Method (_RMV, 0, NotSerialized) { Return (0x01) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (\GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, 0x00, 0x11 }, Package (0x04) { 0xFFFF, 0x01, 0x00, 0x12 }, Package (0x04) { 0xFFFF, 0x02, 0x00, 0x13 }, Package (0x04) { 0xFFFF, 0x03, 0x00, 0x10 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0xFFFF, 0x01, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0xFFFF, 0x02, \_SB.PCI0.LPCB.LNKD, 0x00 }, Package (0x04) { 0xFFFF, 0x03, \_SB.PCI0.LPCB.LNKA, 0x00 } }) } } } Device (RP03) { Name (_ADR, 0x001C0002) OperationRegion (P3CS, PCI_Config, 0x40, 0x0100) Field (P3CS, AnyAcc, NoLock, WriteAsZeros) { Offset (0x1A), ABP3, 1, , 2, PDC3, 1, , 2, PDS3, 1, Offset (0x20), Offset (0x22), PSP3, 1, Offset (0x9C), , 30, HPCS, 1, PMCS, 1 } Device (PXS0) { Name (_ADR, 0x00) Method (_RMV, 0, NotSerialized) { Return (0x01) } } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (\GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, 0x00, 0x12 }, Package (0x04) { 0xFFFF, 0x01, 0x00, 0x13 }, Package (0x04) { 0xFFFF, 0x02, 0x00, 0x10 }, Package (0x04) { 0xFFFF, 0x03, 0x00, 0x11 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, \_SB.PCI0.LPCB.LNKC, 0x00 }, Package (0x04) { 0xFFFF, 0x01, \_SB.PCI0.LPCB.LNKD, 0x00 }, Package (0x04) { 0xFFFF, 0x02, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0xFFFF, 0x03, \_SB.PCI0.LPCB.LNKB, 0x00 } }) } } } Device (RP04) { Name (_ADR, 0x001C0003) OperationRegion (P4CS, PCI_Config, 0x40, 0x0100) Field (P4CS, AnyAcc, NoLock, WriteAsZeros) { Offset (0x1A), ABP4, 1, , 2, PDC4, 1, , 2, PDS4, 1, Offset (0x20), Offset (0x22), PSP4, 1, Offset (0x9C), , 30, HPCS, 1, PMCS, 1 } Name (_PRW, Package (0x02) { 0x09, 0x04 }) Method (_PRT, 0, NotSerialized) { If (\GPIC) { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, 0x00, 0x13 }, Package (0x04) { 0xFFFF, 0x01, 0x00, 0x10 }, Package (0x04) { 0xFFFF, 0x02, 0x00, 0x11 }, Package (0x04) { 0xFFFF, 0x03, 0x00, 0x12 } }) } Else { Return (Package (0x04) { Package (0x04) { 0xFFFF, 0x00, \_SB.PCI0.LPCB.LNKD, 0x00 }, Package (0x04) { 0xFFFF, 0x01, \_SB.PCI0.LPCB.LNKA, 0x00 }, Package (0x04) { 0xFFFF, 0x02, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0xFFFF, 0x03, \_SB.PCI0.LPCB.LNKC, 0x00 } }) } } } Device (USB1) { Name (_ADR, 0x001D0000) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB2) { Name (_ADR, 0x001D0001) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB3) { Name (_ADR, 0x001D0002) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB4) { Name (_ADR, 0x001D0003) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (USB7) { Name (_ADR, 0x001D0007) Method (_S3D, 0, NotSerialized) { Return (0x02) } Method (_S4D, 0, NotSerialized) { Return (0x02) } } Device (PCIB) { Name (_ADR, 0x001E0000) Device (CBS0) { Name (_ADR, 0x00090000) Method (_STA, 0, NotSerialized) { Return (0x0F) } Method (_S3D, 0, NotSerialized) { Return (0x03) } Method (_S4D, 0, NotSerialized) { Return (0x03) } } Device (LANB) { Method (_PS3, 0, NotSerialized) { If (\ECON) { Store (0x01, \_SB.PCI0.LPCB.EC0.MTST) } Else { \MBEC (0x71, 0xFF, 0x08) } Store (0x01, BOBO) } Method (_PS0, 0, NotSerialized) { } Name (_ADR, 0x00070000) Name (_PRW, Package (0x02) { 0x0B, 0x05 }) } Method (_PRT, 0, NotSerialized) { If (GPIC) { Return (Package (0x06) { Package (0x04) { 0x0005FFFF, 0x00, 0x00, 0x14 }, Package (0x04) { 0x0007FFFF, 0x00, 0x00, 0x14 }, Package (0x04) { 0x0009FFFF, 0x00, 0x00, 0x16 }, Package (0x04) { 0x0009FFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x0009FFFF, 0x02, 0x00, 0x15 }, Package (0x04) { 0x0009FFFF, 0x03, 0x00, 0x16 } }) } Else { Return (Package (0x06) { Package (0x04) { 0x0005FFFF, 0x00, \_SB.PCI0.LPCB.LNKE, 0x00 }, Package (0x04) { 0x0007FFFF, 0x00, \_SB.PCI0.LPCB.LNKE, 0x00 }, Package (0x04) { 0x0009FFFF, 0x00, \_SB.PCI0.LPCB.LNKG, 0x00 }, Package (0x04) { 0x0009FFFF, 0x01, \_SB.PCI0.LPCB.LNKB, 0x00 }, Package (0x04) { 0x0009FFFF, 0x02, \_SB.PCI0.LPCB.LNKF, 0x00 }, Package (0x04) { 0x0009FFFF, 0x03, \_SB.PCI0.LPCB.LNKG, 0x00 } }) } } } Device (AUD0) { Name (_ADR, 0x001E0002) } Device (MODM) { Name (_ADR, 0x001E0003) Name (_PRW, Package (0x02) { 0x05, 0x04 }) } Device (LPCB) { Name (_ADR, 0x001F0000) OperationRegion (LPC0, PCI_Config, 0x40, 0xC0) Field (LPC0, AnyAcc, NoLock, Preserve) { Offset (0x20), PARC, 8, PBRC, 8, PCRC, 8, PDRC, 8, Offset (0x28), PERC, 8, PFRC, 8, PGRC, 8, PHRC, 8, Offset (0x40), IOD0, 8, IOD1, 8 } Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x01) Method (_DIS, 0, Serialized) { Store (0x80, PARC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLA, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PARC, 0x0F), IRQ0) Return (RTLA) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PARC) } Method (_STA, 0, Serialized) { If (And (PARC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_DIS, 0, Serialized) { Store (0x80, PBRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLB, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PBRC, 0x0F), IRQ0) Return (RTLB) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PBRC) } Method (_STA, 0, Serialized) { If (And (PBRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_DIS, 0, Serialized) { Store (0x80, PCRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLC, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLC, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PCRC, 0x0F), IRQ0) Return (RTLC) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PCRC) } Method (_STA, 0, Serialized) { If (And (PCRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_DIS, 0, Serialized) { Store (0x80, PDRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLD, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLD, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PDRC, 0x0F), IRQ0) Return (RTLD) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PDRC) } Method (_STA, 0, Serialized) { If (And (PDRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKE) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_DIS, 0, Serialized) { Store (0x80, PERC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLE, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLE, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PERC, 0x0F), IRQ0) Return (RTLE) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PERC) } Method (_STA, 0, Serialized) { If (And (PERC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_DIS, 0, Serialized) { Store (0x80, PFRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLF, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLF, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PFRC, 0x0F), IRQ0) Return (RTLF) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PFRC) } Method (_STA, 0, Serialized) { If (And (PFRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKG) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_DIS, 0, Serialized) { Store (0x80, PGRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {11} }) Method (_CRS, 0, Serialized) { Name (RTLG, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLG, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PGRC, 0x0F), IRQ0) Return (RTLG) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PGRC) } Method (_STA, 0, Serialized) { If (And (PGRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (LNKH) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_DIS, 0, Serialized) { Store (0x80, PHRC) } Name (_PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Method (_CRS, 0, Serialized) { Name (RTLH, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (RTLH, 0x01, IRQ0) Store (Zero, IRQ0) ShiftLeft (0x01, And (PHRC, 0x0F), IRQ0) Return (RTLH) } Method (_SRS, 1, Serialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Store (Local0, PHRC) } Method (_STA, 0, Serialized) { If (And (PHRC, 0x80)) { Return (0x09) } Else { Return (0x0B) } } } Device (EC0) { Name (_HID, EisaId ("PNP0C09")) Name (_GPE, 0x17) Method (_STA, 0, NotSerialized) { Return (0x0F) } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, 0x0062, 0x00, 0x01) IO (Decode16, 0x0066, 0x0066, 0x00, 0x01) }) OperationRegion (ECO1, SystemIO, 0x62, 0x01) Field (ECO1, ByteAcc, Lock, Preserve) { PX62, 8 } OperationRegion (ECO2, SystemIO, 0x66, 0x01) Field (ECO2, ByteAcc, Lock, Preserve) { PX66, 8 } OperationRegion (RAM, EmbeddedControl, 0x00, 0xFF) Field (RAM, AnyAcc, Lock, Preserve) { ECMD, 8, Offset (0x08), EDAT, 8, Offset (0x0A), , 1, BLNK, 1, Offset (0x70), , 1, KLID, 1, , 3, KACS, 1, Offset (0x71), , 2, DCST, 1, MTST, 1, KBID, 3, Offset (0x72), , 2, KEYW, 1, TPDW, 1, LIDW, 1, BL2W, 1 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0x01), TIID, 8, Offset (0x10), , 1, KTEE, 1, Offset (0x11), KPPS, 1, Offset (0x91), TTID, 8, KCSS, 1, KCTT, 1, KDTT, 1, KOSD, 1, KVTP, 1, Offset (0xA8), THS0, 8, THS1, 8, THS2, 8, THS3, 8, THS4, 8, THS5, 8, THS6, 8, THS7, 8 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0x92), KTAF, 8 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0x92), THSL, 4 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0xD8), TS2H, 8, TS3L, 8, TS3H, 8, TS4L, 8, TS4H, 8, TS5L, 8, TS5H, 8, TS6, 8 } Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, ECON) } } Method (_Q17, 0, NotSerialized) { Store (0x17, P80H) Notify (\_SB.SLPB, 0x80) } Name (VTPE, 0x00) Method (_Q19, 0, NotSerialized) { Store (0x19, P80H) Store (PHSR (0x30, 0x00), VTPE) If (LEqual (VTPE, 0x00)) { EC19 () } Else { EC20 () } } Method (_Q80, 0, NotSerialized) { Store (0x80, P80H) If (LEqual (VTPE, 0x00)) { Store (0x00, TLST) EC19 () } Else { PHSR (0x2E, 0x01) } } Method (_Q81, 0, NotSerialized) { Store (0x81, P80H) If (LEqual (VTPE, 0x00)) { Store (0x01, TLST) EC19 () } Else { PHSR (0x2E, 0x02) } } Method (_Q82, 0, NotSerialized) { Store (0x82, P80H) If (LEqual (VTPE, 0x00)) { Store (0x02, TLST) EC19 () } Else { PHSR (0x2E, 0x03) } } Method (_Q84, 0, NotSerialized) { Store (0x84, P80H) If (LEqual (VTPE, 0x00)) { Store (0x04, TLST) EC19 () } Else { PHSR (0x2E, 0x04) } } Method (_Q1A, 0, NotSerialized) { Store (0x1A, P80H) HKEY (0x1A) } Method (_Q5C, 0, NotSerialized) { Store (0x5C, P80H) HKEY (0x5C) } Method (_Q5D, 0, NotSerialized) { Store (0x5D, P80H) Store (0x00, \_SB.PCI0.LPCB.EC0.MTST) Store (0x00, BOBO) } Method (_Q10, 0, NotSerialized) { Store (0x10, P80H) HKEY (0x10) } Method (_Q11, 0, NotSerialized) { Store (0x11, P80H) HKEY (0x11) } Method (_Q12, 0, NotSerialized) { Store (0x12, P80H) HKEY (0x12) } Method (_Q13, 0, NotSerialized) { Store (0x13, P80H) HKEY (0x13) } Method (_Q14, 0, NotSerialized) { Store (0x14, P80H) HKEY (0x14) } Method (_Q15, 0, NotSerialized) { Store (0x15, P80H) HKEY (0x15) } Method (_Q33, 0, NotSerialized) { Store (0x33, P80H) Store (0x00, \_TZ.T4FG) Store (0x00, \_TZ.T5FG) Notify (\_TZ.TZS0, 0x80) Notify (\_TZ.TZS1, 0x80) } Method (_Q34, 0, NotSerialized) { Store (0x34, P80H) Store (0x01, \_TZ.T4FG) Store (0x00, \_TZ.T5FG) Notify (\_TZ.TZS0, 0x80) Notify (\_TZ.TZS1, 0x80) } Method (_Q35, 0, NotSerialized) { Store (0x35, P80H) Store (0x01, \_TZ.T5FG) Notify (\_TZ.TZS0, 0x80) Notify (\_TZ.TZS1, 0x80) } Method (_Q36, 0, NotSerialized) { Sleep (0x01F4) Store (0x36, P80H) Notify (\_TZ.TZS0, 0x80) Notify (\_TZ.TZS1, 0x80) } Method (_Q40, 0, NotSerialized) { Store (0x40, P80H) Notify (\_SB.PCI0.LPCB.EC0.BAT0, 0x81) } Method (_Q41, 0, NotSerialized) { Store (0x41, P80H) Notify (\_SB.PCI0.LPCB.EC0.BAT0, 0x81) } Method (_Q48, 0, NotSerialized) { Store (0x48, P80H) Notify (\_SB.PCI0.LPCB.EC0.BAT0, 0x80) } Method (_Q4C, 0, NotSerialized) { Store (0x4C, P80H) If (B0ST) { Notify (\_SB.PCI0.LPCB.EC0.BAT0, 0x80) } } Method (_Q50, 0, NotSerialized) { Store (0x50, P80H) Notify (\_SB.PCI0.LPCB.EC0.ADP1, 0x80) } Method (_Q51, 0, NotSerialized) { Store (0x51, P80H) Notify (\_SB.PCI0.LPCB.EC0.ADP1, 0x80) } Method (_Q52, 0, NotSerialized) { Notify (\_SB.LID0, 0x80) } Method (_Q53, 0, NotSerialized) { Notify (\_SB.LID0, 0x80) } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0x02), NBID, 8, Offset (0x88), NB0A, 1, , 3, NBL2, 1, Offset (0x89), NB1A, 1 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0x88), NB0S, 8, NB1S, 8 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0xE0), BSRC, 16, BSFC, 16, BSPE, 16, BSAC, 16, BSVO, 16, , 15, BSCM, 1, BSCU, 16 } Field (RAM, AnyAcc, Lock, Preserve) { Offset (0xE0), BSDC, 16, BSDV, 16, BSSN, 16 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE0), BSMN, 128 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE0), BSDN, 128 } Field (RAM, ByteAcc, NoLock, Preserve) { Offset (0xE0), BSCH, 128 } Mutex (BATM, 0x07) Method (GBIF, 3, NotSerialized) { Acquire (BATM, 0xFFFF) If (Arg2) { Store (0xFFFFFFFF, Index (Arg1, 0x01)) Store (0xFFFFFFFF, Index (Arg1, 0x02)) Store (0xFFFFFFFF, Index (Arg1, 0x04)) Store (0x00, Index (Arg1, 0x05)) Store (0x00, Index (Arg1, 0x06)) } Else { Store (Arg0, NBID) Store (BSCM, Local0) XOr (Local0, 0x01, Index (Arg1, 0x00)) Or (Arg0, 0x01, NBID) If (Local0) { Multiply (BSDC, 0x0A, Local1) } Else { Store (BSDC, Local1) } Store (Local1, Index (Arg1, 0x01)) And (Arg0, 0xF0, NBID) If (Local0) { Multiply (BSFC, 0x0A, Local2) } Else { Store (BSFC, Local2) } Store (Local2, Index (Arg1, 0x02)) Store (BSDV, Index (Arg1, 0x04)) Divide (Local2, 0x64, Local7, Local6) Multiply (Local6, 0x05, Local3) Store (Local3, Index (Arg1, 0x05)) Multiply (Local6, 0x03, Local4) Store (Local4, Index (Arg1, 0x06)) Subtract (Local3, Local4, Index (Arg1, 0x07)) Subtract (Local2, Local3, Index (Arg1, 0x08)) Or (Arg0, 0x01, NBID) Store (BSSN, Local7) Name (SERN, Buffer (0x06) { " " }) Store (0x04, Local6) While (Local7) { Divide (Local7, 0x0A, Local5, Local7) Add (Local5, 0x30, Index (SERN, Local6)) Decrement (Local6) } Store (SERN, Index (Arg1, 0x0A)) Or (Arg0, 0x03, NBID) Store (BSDN, Index (Arg1, 0x09)) And (Arg0, 0xF0, NBID) Or (Arg0, 0x04, NBID) Store (BSCH, Index (Arg1, 0x0B)) And (Arg0, 0xF0, NBID) Or (Arg0, 0x02, NBID) Store (BSMN, Index (Arg1, 0x0C)) } Release (BATM) Return (Arg1) } Method (GBST, 4, NotSerialized) { Acquire (BATM, 0xFFFF) If (And (Arg1, 0x02)) { Store (0x02, Local0) } Else { If (And (Arg1, 0x04)) { Store (0x01, Local0) } Else { Store (0x00, Local0) } } If (NBL2) { Or (Local0, 0x04, Local0) } If (And (Arg1, 0x01)) { And (Arg0, 0xF0, NBID) Store (BSAC, Local1) If (Arg2) { Multiply (BSRC, 0x0A, Local2) } Else { Store (BSRC, Local2) } Store (BSVO, Local3) If (LNot (LLess (Local1, 0x8000))) { If (And (Local0, 0x01)) { Subtract (0x00010000, Local1, Local1) } Else { Store (0x00, Local1) } } Else { If (LEqual (And (Local0, 0x02), 0x00)) { Store (0x00, Local1) } } If (Arg2) { Multiply (Local3, Local1, Local1) Divide (Local1, 0x03E8, Local7, Local1) } } Else { Store (0x00, Local0) Store (0xFFFFFFFF, Local1) Store (0xFFFFFFFF, Local2) Store (0xFFFFFFFF, Local3) } Store (Local0, Index (Arg3, 0x00)) Store (Local1, Index (Arg3, 0x01)) Store (Local2, Index (Arg3, 0x02)) Store (Local3, Index (Arg3, 0x03)) Release (BATM) Return (Arg3) } Name (B0ST, 0x00) Device (BAT0) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, 0x01) Method (_PCL, 0, NotSerialized) { Return (\_SB) } Name (B0IP, Package (0x0D) { 0x01, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0xFFFFFFFF, 0x00, 0x00, 0x5A, 0x5A, "", "100", "Lion", 0x00 }) Name (B0SP, Package (0x04) { 0x00, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }) Method (_STA, 0, NotSerialized) { If (\ECON) { Store (NB0A, Local1) } Else { ShiftRight (RBEC (0x88), 0x00, Local0) And (Local0, 0x01, Local1) } Store (Local1, B0ST) If (Local1) { Return (0x1F) } Else { Return (0x0F) } } Method (_BIF, 0, NotSerialized) { If (\ECON) { Store (NB0A, Local0) } Else { ShiftRight (RBEC (0x88), 0x00, Local0) } And (Local0, 0x01, Local6) Store (0x14, Local7) While (LAnd (Local6, Local7)) { If (\ECON) { Store (NB0S, Local1) } Else { Store (RBEC (0x88), Local1) } If (And (Local1, 0x08)) { Store (0x00, Local6) } Else { Sleep (0x01F4) Decrement (Local7) } } Return (GBIF (0x00, B0IP, Local6)) } Method (_BST, 0, NotSerialized) { XOr (DerefOf (Index (B0IP, 0x00)), 0x01, Local0) If (\ECON) { Store (NB0S, Local1) } Else { Store (RBEC (0x88), Local1) } Return (GBST (0x00, Local1, Local0, B0SP)) } } Name (ACST, 0x01) Device (ADP1) { Name (_HID, "ACPI0003") Method (_PSR, 0, NotSerialized) { If (ECON) { Store (KACS, Local1) } Else { Store (RBEC (0x70), Local0) And (Local0, 0x20, Local1) } If (Local1) { Store (0x01, ACST) } Else { Store (0x00, ACST) } Return (ACST) } Method (_PCL, 0, NotSerialized) { Return (\_SB) } Method (_STA, 0, NotSerialized) { Return (0x0F) } } } Device (DMAC) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0000, 0x0000, 0x01, 0x20) IO (Decode16, 0x0081, 0x0081, 0x01, 0x11) IO (Decode16, 0x0093, 0x0093, 0x01, 0x0D) IO (Decode16, 0x00C0, 0x00C0, 0x01, 0x20) DMA (Compatibility, NotBusMaster, Transfer8_16) {4} }) } Device (FWHD) { Name (_HID, EisaId ("INT0800")) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xFF800000, 0x00800000) }) } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (BUF0, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadOnly, 0xFED00000, 0x00000400) }) Method (_STA, 0, NotSerialized) { If (LNot (LLess (OSYS, 0x07D1))) { If (HPAE) { Return (0x0F) } } Else { If (HPAE) { Return (0x0B) } } Return (0x00) } Method (_CRS, 0, Serialized) { If (HPAE) { CreateDWordField (BUF0, 0x0A, HPT0) If (LEqual (HPAS, 0x01)) { Store (0xFED01000, HPT0) } If (LEqual (HPAS, 0x02)) { Store (0xFED02000, HPT0) } If (LEqual (HPAS, 0x03)) { Store (0xFED03000, HPT0) } } Return (BUF0) } } Device (IPIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, 0x0020, 0x01, 0x02) IO (Decode16, 0x0024, 0x0024, 0x01, 0x02) IO (Decode16, 0x0028, 0x0028, 0x01, 0x02) IO (Decode16, 0x002C, 0x002C, 0x01, 0x02) IO (Decode16, 0x0030, 0x0030, 0x01, 0x02) IO (Decode16, 0x0034, 0x0034, 0x01, 0x02) IO (Decode16, 0x0038, 0x0038, 0x01, 0x02) IO (Decode16, 0x003C, 0x003C, 0x01, 0x02) IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02) IO (Decode16, 0x00A4, 0x00A4, 0x01, 0x02) IO (Decode16, 0x00A8, 0x00A8, 0x01, 0x02) IO (Decode16, 0x00AC, 0x00AC, 0x01, 0x02) IO (Decode16, 0x00B0, 0x00B0, 0x01, 0x02) IO (Decode16, 0x00B4, 0x00B4, 0x01, 0x02) IO (Decode16, 0x00B8, 0x00B8, 0x01, 0x02) IO (Decode16, 0x00BC, 0x00BC, 0x01, 0x02) IO (Decode16, 0x04D0, 0x04D0, 0x01, 0x02) IRQNoFlags () {2} }) } Device (MATH) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, 0x00F0, 0x01, 0x01) IRQNoFlags () {13} }) } Device (MBD0) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x01) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0061, 0x0061, 0x01, 0x01) IO (Decode16, 0x0063, 0x0063, 0x01, 0x01) IO (Decode16, 0x0065, 0x0065, 0x01, 0x01) IO (Decode16, 0x0067, 0x0067, 0x01, 0x01) IO (Decode16, 0x0080, 0x0080, 0x01, 0x01) IO (Decode16, 0x0092, 0x0092, 0x01, 0x01) IO (Decode16, 0x00B2, 0x00B2, 0x01, 0x02) IO (Decode16, 0x0800, 0x0800, 0x01, 0x10) IO (Decode16, 0x1000, 0x1000, 0x01, 0x80) IO (Decode16, 0x1180, 0x1180, 0x01, 0x40) IO (Decode16, 0x1200, 0x1200, 0x01, 0x01) IO (Decode16, 0x1204, 0x1204, 0x01, 0x01) Memory32Fixed (ReadWrite, 0xE0000000, 0x10000000) Memory32Fixed (ReadWrite, 0xF0000000, 0x00004000) Memory32Fixed (ReadWrite, 0xF0004000, 0x00001000) Memory32Fixed (ReadWrite, 0xF0005000, 0x00001000) Memory32Fixed (ReadWrite, 0xF0008000, 0x00004000) Memory32Fixed (ReadWrite, 0xFED20000, 0x00070000) }) } Device (MBD1) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x02) Name (_CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFEC00000, 0x00001000) Memory32Fixed (ReadWrite, 0xFEE00000, 0x00001000) }) Method (_STA, 0, NotSerialized) { If (LNot (LGreater (OSYS, 0x07CF))) { If (LOr (APIC, HTTE)) { Return (0x0B) } } Return (0x00) } } Device (RTC) { Name (_HID, EisaId ("PNP0B00")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0070, 0x0070, 0x01, 0x08) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0070, 0x0070, 0x01, 0x08) IRQNoFlags () {8} }) Method (_CRS, 0, Serialized) { If (HPAE) { Return (BUF0) } Return (BUF1) } } Device (TIMR) { Name (_HID, EisaId ("PNP0100")) Name (BUF0, ResourceTemplate () { IO (Decode16, 0x0040, 0x0040, 0x01, 0x04) IO (Decode16, 0x0050, 0x0050, 0x10, 0x04) }) Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0040, 0x0040, 0x01, 0x04) IO (Decode16, 0x0050, 0x0050, 0x10, 0x04) IRQNoFlags () {0} }) Method (_CRS, 0, Serialized) { If (HPAE) { Return (BUF0) } Return (BUF1) } } Device (KBC0) { Name (_HID, EisaId ("PNP0303")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, 0x0060, 0x01, 0x01) IO (Decode16, 0x0064, 0x0064, 0x01, 0x01) IRQ (Edge, ActiveHigh, Exclusive) {1} }) Method (_STA, 0, NotSerialized) { If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.KBID, Local0) If (LEqual (Local0, 0x01)) { Return (0x00) } Else { Return (0x0F) } } Else { ShiftRight (RBEC (0x71), 0x04, Local0) And (Local0, 0x07, Local0) If (LEqual (Local0, 0x01)) { Return (0x00) } Else { Return (0x0F) } } } } Device (KBC1) { Name (_HID, EisaId ("PNP0320")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, 0x0060, 0x01, 0x01) IO (Decode16, 0x0064, 0x0064, 0x01, 0x01) IRQ (Edge, ActiveHigh, Exclusive) {1} }) Method (_STA, 0, NotSerialized) { If (\ECON) { Store (\_SB.PCI0.LPCB.EC0.KBID, Local0) If (LEqual (Local0, 0x01)) { Return (0x0F) } Else { Return (0x00) } } Else { ShiftRight (RBEC (0x71), 0x04, Local0) And (Local0, 0x07, Local0) If (LEqual (Local0, 0x01)) { Return (0x0F) } Else { Return (0x00) } } } } Device (PS2M) { Name (_HID, EisaId ("SYN0302")) Name (_CID, Package (0x02) { 0x00032E4F, 0x130FD041 }) Name (_CRS, ResourceTemplate () { IRQ (Edge, ActiveHigh, Exclusive) {12} }) } } Device (PATA) { Name (_ADR, 0x001F0001) OperationRegion (PACS, PCI_Config, 0x40, 0xC0) Field (PACS, DWordAcc, NoLock, Preserve) { PRIT, 16, Offset (0x04), PSIT, 4, Offset (0x08), SYNC, 4, Offset (0x0A), SDT0, 2, , 2, SDT1, 2, Offset (0x14), ICR0, 4, ICR1, 4, ICR2, 4, ICR3, 4, ICR4, 4, ICR5, 4 } Device (PRID) { Name (_ADR, 0x00) Method (_GTM, 0, NotSerialized) { Name (PBUF, Buffer (0x14) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (PBUF, 0x00, PIO0) CreateDWordField (PBUF, 0x04, DMA0) CreateDWordField (PBUF, 0x08, PIO1) CreateDWordField (PBUF, 0x0C, DMA1) CreateDWordField (PBUF, 0x10, FLAG) Store (GETP (PRIT), PIO0) Store (GDMA (And (SYNC, 0x01), And (ICR3, 0x01), And (ICR0, 0x01), SDT0, And (ICR1, 0x01)), DMA0) If (LEqual (DMA0, 0xFFFFFFFF)) { Store (PIO0, DMA0) } If (And (PRIT, 0x4000)) { If (LEqual (And (PRIT, 0x90), 0x80)) { Store (0x0384, PIO1) } Else { Store (GETT (PSIT), PIO1) } } Else { Store (0xFFFFFFFF, PIO1) } Store (GDMA (And (SYNC, 0x02), And (ICR3, 0x02), And (ICR0, 0x02), SDT1, And (ICR1, 0x02)), DMA1) If (LEqual (DMA1, 0xFFFFFFFF)) { Store (PIO1, DMA1) } Store (GETF (And (SYNC, 0x01), And (SYNC, 0x02), PRIT), FLAG) If (And (LEqual (PIO0, 0xFFFFFFFF), LEqual (DMA0, 0xFFFFFFFF))) { Store (0x78, PIO0) Store (0x14, DMA0) Store (0x03, FLAG) } Return (PBUF) } Method (_STM, 3, NotSerialized) { CreateDWordField (Arg0, 0x00, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) If (LEqual (SizeOf (Arg1), 0x0200)) { And (PRIT, 0x40F0, PRIT) And (SYNC, 0x02, SYNC) Store (0x00, SDT0) And (ICR0, 0x02, ICR0) And (ICR1, 0x02, ICR1) And (ICR3, 0x02, ICR3) And (ICR5, 0x02, ICR5) CreateWordField (Arg1, 0x62, W490) CreateWordField (Arg1, 0x6A, W530) CreateWordField (Arg1, 0x7E, W630) CreateWordField (Arg1, 0x80, W640) CreateWordField (Arg1, 0xB0, W880) CreateWordField (Arg1, 0xBA, W930) Or (PRIT, 0x8004, PRIT) If (LAnd (And (FLAG, 0x02), And (W490, 0x0800))) { Or (PRIT, 0x02, PRIT) } Or (PRIT, SETP (PIO0, W530, W640), PRIT) If (And (FLAG, 0x01)) { Or (SYNC, 0x01, SYNC) Store (SDMA (DMA0), SDT0) If (LLess (DMA0, 0x1E)) { Or (ICR3, 0x01, ICR3) } If (LLess (DMA0, 0x3C)) { Or (ICR0, 0x01, ICR0) } If (And (W930, 0x2000)) { Or (ICR1, 0x01, ICR1) } } } If (LEqual (SizeOf (Arg2), 0x0200)) { And (PRIT, 0x3F0F, PRIT) Store (0x00, PSIT) And (SYNC, 0x01, SYNC) Store (0x00, SDT1) And (ICR0, 0x01, ICR0) And (ICR1, 0x01, ICR1) And (ICR3, 0x01, ICR3) And (ICR5, 0x01, ICR5) CreateWordField (Arg2, 0x62, W491) CreateWordField (Arg2, 0x6A, W531) CreateWordField (Arg2, 0x7E, W631) CreateWordField (Arg2, 0x80, W641) CreateWordField (Arg2, 0xB0, W881) CreateWordField (Arg2, 0xBA, W931) Or (PRIT, 0x8040, PRIT) If (LAnd (And (FLAG, 0x08), And (W491, 0x0800))) { Or (PRIT, 0x20, PRIT) } If (And (FLAG, 0x10)) { Or (PRIT, 0x4000, PRIT) If (LGreater (PIO1, 0xF0)) { Or (PRIT, 0x80, PRIT) } Else { Or (PRIT, 0x10, PRIT) Store (SETT (PIO1, W531, W641), PSIT) } } If (And (FLAG, 0x04)) { Or (SYNC, 0x02, SYNC) Store (SDMA (DMA1), SDT1) If (LLess (DMA1, 0x1E)) { Or (ICR3, 0x02, ICR3) } If (LLess (DMA1, 0x3C)) { Or (ICR0, 0x02, ICR0) } If (And (W931, 0x2000)) { Or (ICR1, 0x02, ICR1) } } } } Device (P_D0) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Name (PIB0, Buffer (0x0E) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF }) CreateByteField (PIB0, 0x01, PMD0) CreateByteField (PIB0, 0x08, DMD0) If (And (PRIT, 0x02)) { If (LEqual (And (PRIT, 0x09), 0x08)) { Store (0x08, PMD0) } Else { Store (0x0A, PMD0) ShiftRight (And (PRIT, 0x0300), 0x08, Local0) ShiftRight (And (PRIT, 0x3000), 0x0C, Local1) Add (Local0, Local1, Local2) If (LEqual (0x03, Local2)) { Store (0x0B, PMD0) } If (LEqual (0x05, Local2)) { Store (0x0C, PMD0) } } } Else { Store (0x01, PMD0) } If (And (SYNC, 0x01)) { Store (Or (SDT0, 0x40), DMD0) If (And (ICR1, 0x01)) { If (And (ICR0, 0x01)) { Add (DMD0, 0x02, DMD0) } If (And (ICR3, 0x01)) { Store (0x45, DMD0) } } } Else { Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0) } Return (PIB0) } } Device (P_D1) { Name (_ADR, 0x01) Method (_GTF, 0, NotSerialized) { Name (PIB1, Buffer (0x0E) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF }) CreateByteField (PIB1, 0x01, PMD1) CreateByteField (PIB1, 0x08, DMD1) If (And (PRIT, 0x20)) { If (LEqual (And (PRIT, 0x90), 0x80)) { Store (0x08, PMD1) } Else { Add (And (PSIT, 0x03), ShiftRight (And (PSIT, 0x0C), 0x02), Local0) If (LEqual (0x05, Local0)) { Store (0x0C, PMD1) } Else { If (LEqual (0x03, Local0)) { Store (0x0B, PMD1) } Else { Store (0x0A, PMD1) } } } } Else { Store (0x01, PMD1) } If (And (SYNC, 0x02)) { Store (Or (SDT1, 0x40), DMD1) If (And (ICR1, 0x02)) { If (And (ICR0, 0x02)) { Add (DMD1, 0x02, DMD1) } If (And (ICR3, 0x02)) { Store (0x45, DMD1) } } } Else { Or (Subtract (And (PMD1, 0x07), 0x02), 0x20, DMD1) } Return (PIB1) } } } } Device (SATA) { Name (_ADR, 0x001F0002) OperationRegion (SACS, PCI_Config, 0x40, 0xC0) Field (SACS, DWordAcc, NoLock, Preserve) { PRIT, 16, SECT, 16, PSIT, 4, SSIT, 4, Offset (0x08), SYNC, 4, Offset (0x0A), SDT0, 2, , 2, SDT1, 2, Offset (0x0B), SDT2, 2, , 2, SDT3, 2, Offset (0x14), ICR0, 4, ICR1, 4, ICR2, 4, ICR3, 4, ICR4, 4, ICR5, 4, Offset (0x50), MAPV, 2, Offset (0x52), PCSR, 8 } } Device (SBUS) { Name (_ADR, 0x001F0003) OperationRegion (SMBP, PCI_Config, 0x40, 0xC0) Field (SMBP, DWordAcc, NoLock, Preserve) { , 2, I2CE, 1 } OperationRegion (SMBI, SystemIO, 0x18E0, 0x10) Field (SMBI, ByteAcc, NoLock, Preserve) { HSTS, 8, Offset (0x02), HCON, 8, HCOM, 8, TXSA, 8, DAT0, 8, DAT1, 8, HBDR, 8, PECR, 8, RXSA, 8, SDAT, 16 } Method (SSXB, 2, Serialized) { If (STRT ()) { Return (0x00) } Store (0x00, I2CE) Store (0xBF, HSTS) Store (Arg0, TXSA) Store (Arg1, HCOM) Store (0x48, HCON) If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (0x01) } Return (0x00) } Method (SRXB, 1, Serialized) { If (STRT ()) { Return (0xFFFF) } Store (0x00, I2CE) Store (0xBF, HSTS) Store (Or (Arg0, 0x01), TXSA) Store (0x44, HCON) If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (DAT0) } Return (0xFFFF) } Method (SWRB, 3, Serialized) { If (STRT ()) { Return (0x00) } Store (0x00, I2CE) Store (0xBF, HSTS) Store (Arg0, TXSA) Store (Arg1, HCOM) Store (Arg2, DAT0) Store (0x48, HCON) If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (0x01) } Return (0x00) } Method (SRDB, 2, Serialized) { If (STRT ()) { Return (0xFFFF) } Store (0x00, I2CE) Store (0xBF, HSTS) Store (Or (Arg0, 0x01), TXSA) Store (Arg1, HCOM) Store (0x48, HCON) If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (DAT0) } Return (0xFFFF) } Method (SBLW, 4, Serialized) { If (STRT ()) { Return (0x00) } Store (Arg3, I2CE) Store (0xBF, HSTS) Store (Arg0, TXSA) Store (Arg1, HCOM) Store (SizeOf (Arg2), DAT0) Store (0x00, Local1) Store (DerefOf (Index (Arg2, 0x00)), HBDR) Store (0x54, HCON) While (LGreater (SizeOf (Arg2), Local1)) { Store (0x0FA0, Local0) While (LAnd (LNot (And (HSTS, 0x80)), Local0)) { Decrement (Local0) Stall (0x32) } If (LNot (Local0)) { KILL () Return (0x00) } Store (0x80, HSTS) Increment (Local1) If (LGreater (SizeOf (Arg2), Local1)) { Store (DerefOf (Index (Arg2, Local1)), HBDR) } } If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (0x01) } Return (0x00) } Method (SBLR, 3, Serialized) { Name (TBUF, Buffer (0x0100) {}) If (STRT ()) { Return (0x00) } Store (Arg2, I2CE) Store (0xBF, HSTS) Store (Or (Arg0, 0x01), TXSA) Store (Arg1, HCOM) Store (0x54, HCON) Store (0x0FA0, Local0) While (LAnd (LNot (And (HSTS, 0x80)), Local0)) { Decrement (Local0) Stall (0x32) } If (LNot (Local0)) { KILL () Return (0x00) } Store (DAT0, Index (TBUF, 0x00)) Store (0x80, HSTS) Store (0x01, Local1) While (LLess (Local1, DerefOf (Index (TBUF, 0x00)))) { Store (0x0FA0, Local0) While (LAnd (LNot (And (HSTS, 0x80)), Local0)) { Decrement (Local0) Stall (0x32) } If (LNot (Local0)) { KILL () Return (0x00) } Store (HBDR, Index (TBUF, Local1)) Store (0x80, HSTS) Increment (Local1) } If (COMP ()) { Or (HSTS, 0xFF, HSTS) Return (TBUF) } Return (0x00) } Method (STRT, 0, Serialized) { Store (0xC8, Local0) While (Local0) { If (And (HSTS, 0x40)) { Decrement (Local0) Sleep (0x01) If (LEqual (Local0, 0x00)) { Return (0x01) } } Else { Store (0x00, Local0) } } Store (0x0FA0, Local0) While (Local0) { If (And (HSTS, 0x01)) { Decrement (Local0) Stall (0x32) If (LEqual (Local0, 0x00)) { KILL () } } Else { Return (0x00) } } Return (0x01) } Method (COMP, 0, Serialized) { Store (0x0FA0, Local0) While (Local0) { If (And (HSTS, 0x02)) { Return (0x01) } Else { Decrement (Local0) Stall (0x32) If (LEqual (Local0, 0x00)) { KILL () } } } Return (0x00) } Method (KILL, 0, Serialized) { Or (HCON, 0x02, HCON) Or (HSTS, 0xFF, HSTS) } } } } Scope (\_SB.PCI0.SATA) { Device (PRT0) { Name (_ADR, 0xFFFF) Method (_SDD, 1, NotSerialized) { Name (GBU0, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0x00 }) CreateByteField (GBU0, 0x00, GB00) CreateByteField (GBU0, 0x01, GB01) CreateByteField (GBU0, 0x02, GB02) CreateByteField (GBU0, 0x03, GB03) CreateByteField (GBU0, 0x04, GB04) CreateByteField (GBU0, 0x05, GB05) CreateByteField (GBU0, 0x06, GB06) If (LEqual (SizeOf (Arg0), 0x0200)) { CreateWordField (Arg0, 0x9C, W780) CreateWordField (Arg0, 0x9E, W790) If (LAnd (W780, 0x04)) { If (LEqual (And (W790, 0x04), 0x00)) { Store (0x10, GB00) Store (0x03, GB01) Store (0xEF, GB06) } } } Store (GBU0, GTF0) } Method (_GTF, 0, NotSerialized) { Return (GTF0) } } Device (PRT2) { Name (_ADR, 0x0002FFFF) Method (_SDD, 1, NotSerialized) { Name (GBU2, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0x00 }) CreateByteField (GBU2, 0x00, GB20) CreateByteField (GBU2, 0x01, GB21) CreateByteField (GBU2, 0x02, GB22) CreateByteField (GBU2, 0x03, GB23) CreateByteField (GBU2, 0x04, GB24) CreateByteField (GBU2, 0x05, GB25) CreateByteField (GBU2, 0x06, GB26) If (LEqual (SizeOf (Arg0), 0x0200)) { CreateWordField (Arg0, 0x9C, W782) CreateWordField (Arg0, 0x9E, W792) If (LAnd (W782, 0x04)) { If (LEqual (And (W792, 0x04), 0x00)) { Store (0x10, GB20) Store (0x03, GB21) Store (0xEF, GB26) } } } Store (GBU2, GTF2) } Method (_GTF, 0, NotSerialized) { Return (GTF2) } } } Scope (\_PR.CPU0) { Method (_PPC, 0, NotSerialized) { Return (0x00) } Method (_PCT, 0, NotSerialized) { If (And (CFGD, 0x4000)) { Return (Package (0x02) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000000800) }, ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000000802) } }) } If (LAnd (And (CFGD, 0x02), And (PDC0, 0x01))) { Return (Package (0x02) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) } }) } Return (Package (0x02) { ResourceTemplate () { Register (SystemIO, 0x10, 0x00, 0x00000000000000B2) }, ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x00000000000000B3) } }) } Method (_PSS, 0, NotSerialized) { If (LAnd (LNot (And (CFGD, 0x4000)), LAnd (And (CFGD, 0x02), And (PDC0, 0x01)))) { Return (NPSS) } Return (SPSS) } Name (SPSS, Package (0x06) { Package (0x06) { 0x00000640, 0x00005208, 0x0000006E, 0x0000000A, 0x00000083, 0x00000000 }, Package (0x06) { 0x00000578, 0x00004844, 0x0000006E, 0x0000000A, 0x00000183, 0x00000001 }, Package (0x06) { 0x000004B0, 0x00003C8C, 0x0000006E, 0x0000000A, 0x00000283, 0x00000002 }, Package (0x06) { 0x000003E8, 0x000032C8, 0x0000006E, 0x0000000A, 0x00000383, 0x00000003 }, Package (0x06) { 0x00000320, 0x00002710, 0x0000006E, 0x0000000A, 0x00000483, 0x00000004 }, Package (0x06) { 0x00000258, 0x00001D4C, 0x0000006E, 0x0000000A, 0x00000583, 0x00000005 } }) Name (NPSS, Package (0x06) { Package (0x06) { 0x00000640, 0x00005208, 0x0000000A, 0x0000000A, 0x00001028, 0x00001028 }, Package (0x06) { 0x00000578, 0x00004844, 0x0000000A, 0x0000000A, 0x00000E24, 0x00000E24 }, Package (0x06) { 0x000004B0, 0x00003C8C, 0x0000000A, 0x0000000A, 0x00000C20, 0x00000C20 }, Package (0x06) { 0x000003E8, 0x000032C8, 0x0000000A, 0x0000000A, 0x00000A1B, 0x00000A1B }, Package (0x06) { 0x00000320, 0x00002710, 0x0000000A, 0x0000000A, 0x00000817, 0x00000817 }, Package (0x06) { 0x00000258, 0x00001D4C, 0x0000000A, 0x0000000A, 0x00000612, 0x00000612 } }) } Scope (\_PR.CPU0) { Method (_CST, 0, NotSerialized) { If (And (CFGD, 0x4000)) { Return (Package (0x02) { 0x01, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x01, 0x01, 0x0000000000000809) }, 0x01, 0x01, 0x03E8 } }) } If (LAnd (And (CFGD, 0x80), LNot (PWRS))) { Return (Package (0x04) { 0x04, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, 0x01, 0x01, 0x03E8 }, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001014) }, 0x02, 0x01, 0x01F4 }, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001015) }, 0x03, 0x55, 0xFA } }) } If (And (CFGD, 0x40)) { Return (Package (0x04) { 0x03, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, 0x01, 0x01, 0x03E8 }, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001014) }, 0x02, 0x01, 0x01F4 }, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001015) }, 0x03, 0x55, 0xFA } }) } If (And (CFGD, 0x20)) { Return (Package (0x03) { 0x02, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, 0x01, 0x01, 0x03E8 }, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001014) }, 0x02, 0x01, 0x01F4 } }) } Return (Package (0x02) { 0x01, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, 0x01, 0x01, 0x03E8 } }) } } Scope (\) { Name (SSDT, Package (0x0C) { "CPU0IST ", 0x1F6E4D09, 0x000002B9, "CPU1IST ", 0x00000000, 0xF000FF53, "CPU0CST ", 0x1F6E4B49, 0x000001C0, "CPU1CST ", 0x00000000, 0xF000FF53 }) Name (CFGD, 0x06D883F2) Name (\PDC0, 0x80000000) Name (\PDC1, 0x80000000) } Scope (\_PR.CPU0) { Name (HI0, 0x00) Name (HC0, 0x00) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x08, CAP0) Store (CAP0, PDC0) If (LAnd (And (CFGD, 0x4000), LEqual (And (PDC0, 0x0A), 0x0A))) { If (And (CFGD, 0x03)) { OperationRegion (IST0, SystemMemory, DerefOf (Index (SSDT, 0x01)), DerefOf (Index (SSDT, 0x02))) Load (IST0, HI0) } If (And (CFGD, 0x10)) { OperationRegion (CST0, SystemMemory, DerefOf (Index (SSDT, 0x07)), DerefOf (Index (SSDT, 0x08))) Load (CST0, HC0) } } } } Scope (\_PR.CPU1) { Name (HI1, 0x00) Name (HC1, 0x00) Method (_PDC, 1, NotSerialized) { CreateDWordField (Arg0, 0x08, CAP1) Store (CAP1, PDC1) If (LAnd (And (CFGD, 0x4000), LEqual (And (PDC1, 0x0A), 0x0A))) { If (And (CFGD, 0x03)) { OperationRegion (IST1, SystemMemory, DerefOf (Index (SSDT, 0x04)), DerefOf (Index (SSDT, 0x05))) Load (IST1, HI1) } If (And (CFGD, 0x10)) { OperationRegion (CST1, SystemMemory, DerefOf (Index (SSDT, 0x0A)), DerefOf (Index (SSDT, 0x0B))) Load (CST1, HC1) } } If (LEqual (And (PDC1, 0x0A), 0x0A)) {} } } } ------=_Part_6969_13589512.1135351065237 Content-Type: text/plain; name=dmesg_acpi.txt; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dmesg_acpi.txt" acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 10 on acpi0 pci_link1: irq 11 on acpi0 pci_link2: irq 11 on acpi0 pci_link3: irq 11 on acpi0 pci_link4: irq 10 on acpi0 pci_link5: irq 10 on acpi0 pci_link6: irq 10 on acpi0 pci_link7: irq 11 on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: on cpu0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 ------=_Part_6969_13589512.1135351065237-- From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 16:56:49 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A15316A41F for ; Fri, 23 Dec 2005 16:56:49 +0000 (GMT) (envelope-from gnu.raiz@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BE7E43D49 for ; Fri, 23 Dec 2005 16:56:48 +0000 (GMT) (envelope-from gnu.raiz@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so467923wxc for ; Fri, 23 Dec 2005 08:56:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=cefCKzBoVhbpi6uk8thMQ0i9WRMRKWYGbQLyjtd8FvixUof4En1Ekcpr66NoM7qTPGsSbnCE6lGB0RE5XvDzaQgMLLQSfaUer68+0iQmf/ra0vYLBKB+JkmD6mT4g0ujaVTxNZOHBtsCv4SDWhblSN4dJISVF4Oydx9K66InrxM= Received: by 10.70.53.16 with SMTP id b16mr3477938wxa; Fri, 23 Dec 2005 08:56:47 -0800 (PST) Received: by 10.70.69.9 with HTTP; Fri, 23 Dec 2005 08:56:47 -0800 (PST) Message-ID: Date: Fri, 23 Dec 2005 10:56:47 -0600 From: Gnu_Raiz To: freebsd-acpi@freebsd.org In-Reply-To: <20051222020349.GA16607@poupinou.org> MIME-Version: 1.0 References: <20051222020349.GA16607@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Z00Q Problem Tyan MB! 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: Fri, 23 Dec 2005 16:56:49 -0000 On 12/21/05, Bruno Ducrot wrote: > > On Wed, Dec 21, 2005 at 02:23:56PM -0600, Gnu_Raiz wrote: > > Hi: developers, fellow users! > > >> } > >> > >> acpi_dsdt_load=3D"YES" > >> acpi_dsdt_name=3D"/boot/DSDT.aml" > >> hw.acpi.osname=3D"Windows 2001" <-- is there a reason for >>this line= ? > >> > >> > >> Since I do not run a web server I have no way of archiving my >>.asl > file I > >> would be more than happy to send it to anyone through >>e-mail. I am > also not > >> subscribed to the list so please cc me. > > >I can provide such a link if you send this file to me. > > > >All in all, I think those errors are harmless. There may be a > >problem with your serials ports though, but if it's not the case, or > >you don't need them, well I am not sure it's worth debugging any > >further. > > > >Cheers, > > >-- > >Bruno Ducrot > > >-- Which is worse: ignorance or apathy? > >-- Don't know. Don't care. > >A real first read of your report would suggest that >something is broken >in your bios for detecting serial ports. That is funny you mention that because i do have a lcd screen attached to serial com1, in Gnu/linux I used lcd4linux and it never worked very good, I had to run it with the -F option. I have also had problems with lcdproc, once in a while it would just go blank, or take forever to initalize. A lon= g long time ago it worked fine under Windows, but that was very long ago. >You can add that: > Return(Package(2) {0,0}) >But there are a lot of ASL that contains this non-return >statement so >far... I think just ignoring the warning is OK. >Note that this method will be invoked only after a >resume of the system. >If you don't suspend to ram I doubt it will be useful to >consider to fix >the _WAK method anyway. >> hw.acpi.osname=3D"Windows 2001" <-- is there a reason for >>this line? Ok I thought I would try every option I had access to I might go ahead and take the hw line out of my loader.conf file. Since this is a desktop, it runs 24/7 I really do not need any suspend, or power saving modes. I do notice a slowdown in the mouse after a long time away from the desktop= , I also noticed a little slowdown when using rar to extract an archive. But that might be due to the kernel, Gnu/linux vs Freebsd kernel. After all I a= m running 1.2 MP's which is old anyway. It does make a good file server, and = a print server. Gnu_Raiz rcall From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 17:11:37 2005 Return-Path: X-Original-To: freebsd-acpi@FreeBSD.org Delivered-To: freebsd-acpi@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BD0016A443 for ; Fri, 23 Dec 2005 17:11:37 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF4F443D67 for ; Fri, 23 Dec 2005 17:11:34 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (ppp-71-139-99-63.dsl.snfc21.pacbell.net [71.139.99.63]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id jBNHBi9e022002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Dec 2005 09:11:45 -0800 Message-ID: <43AC2E52.8000304@root.org> Date: Fri, 23 Dec 2005 09:05:22 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Ducrot References: <20051222020349.GA16607@poupinou.org> In-Reply-To: <20051222020349.GA16607@poupinou.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@FreeBSD.org, Gnu_Raiz Subject: Re: Z00Q Problem Tyan MB! 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: Fri, 23 Dec 2005 17:11:37 -0000 Bruno Ducrot wrote: > On Wed, Dec 21, 2005 at 02:23:56PM -0600, Gnu_Raiz wrote: > >>Hi: developers, fellow users! >> >>After reading the manual, and trying different things to get the acpi error >>message's from showing up in boot output. I have come to you for help in >>solving this problem. >> >>After doing a google search it seems that Tyan has a problem with their MB's >>and especially their acpi regarding the Z00Q errors. It seems that many >>people have the error's I have, but after reading up on the threads, I have >>not seen a solution posted. I have seen a few people give up, but no >>solutions. I am using a Tyan Tiger MP 2460 motherboard with 2 mp 1.2 chips, >>with an smp kernel. So far I don't think that these errors are fatal, as >>others have mentioned, it just looks bad. >> >>I am running FreeBSD Raiz_mpx.midsouth.rr.com 6.0-RELEASE FreeBSD >>6.0-RELEASE #2: Sun Dec 18 17:44:34 CST 2005 >>rcall@Raiz_mpx.midsouth.rr.com:/usr/obj/usr/src/sys/MPXSMPKERNEL >>i386 >> >>Here is the sysctl hw.acpi information. >>------- >>hw.acpi.supported_sleep_state: S1 S4 S5 >>hw.acpi.power_button_state: S5 >>hw.acpi.sleep_button_state: S1 >>hw.acpi.lid_switch_state: NONE >>hw.acpi.standby_state: S1 >>hw.acpi.suspend_state: S3 >>hw.acpi.sleep_delay: 1 >>hw.acpi.s4bios: 0 >>hw.acpi.verbose: 1 >>hw.acpi.reset_video: 1 >>hw.acpi.cpu.cx_supported: C1/0 >>hw.acpi.cpu.cx_lowest: C1 >>hw.acpi.cpu.cx_usage: 100.00% >>--------- >> >>Here is the sample boot -v with acpi enabled. Of course this goes on for >>like 20 lines, If you really need all of dmesg then I would be happy to post >>the rest. >>--------- >>in ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND >>SearchNode 0xc2251d40 StartNode 0xc2251d40 ReturnNode 0 >> ACPI-1304: *** Error: Method execution failed >>[\\_SB_.PCI0.ISA_.SIO_.COM2._S >>TA] (Node 0xc229d0a0), AE_NOT_FOUND >> ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND >> ACPI-1304: *** Error: Method execution failed >>[\\_SB_.PCI0.ISA_.SIO_.COM1._S >>--------- > > > A real first read of your report would suggest that something is broken > in your bios for detecting serial ports. > > >>If I boot with acpi disabled, I get pnp errors on one of my device's, so I >>really need to use acpi even with the error messages. I have looked in the >>bios for different options to turn on and off, but with no success. When I >>compile my .asl file I get these results. >>------------ >>Raiz_mpx# iasl rcall-TyanMP2460.asl >> >>Intel ACPI Component Architecture >>ASL Optimizing Compiler / AML Disassembler version 20041119 [Nov 3 2005] >>Copyright (C) 2000 - 2004 Intel Corporation >>Supports ACPI Specification Revision 2.0c >> >>rcall-TyanMP2460.asl 1553: Store (Z00Q, Local0) >>Error 1022 - Object does not exist ^ (Z00Q) >> >>rcall-TyanMP2460.asl 1659: Store (Z00Q, Local0) >>Error 1022 - Object does not exist ^ (Z00Q) >> >>rcall-TyanMP2460.asl 1891: Store (Z00Q, Local0) >>Error 1022 - Object does not exist ^ (Z00Q) >> >>rcall-TyanMP2460.asl 2386: Method (_WAK, 1, NotSerialized) >>Warning 2026 - ^ Reserved method must return a >>value (_WAK) >> >>ASL Input: rcall-TyanMP2460.asl - 2401 lines, 77770 bytes, 827 keywords >>Compilation complete. 3 Errors, 1 Warnings, 0 Remarks, 320 Optimizations >>Raiz_mpx# >>------------ >> >>I have looked in my .asl file but I am at a loss for what to look for, or >>how to solve my problem. I do code a little bit and going to the error lines >>I find this. >>I put in the (---->) to point to the line that the error code is in. >> >> >>Method (_STA, 0, NotSerialized) >> { >> Store (Z00Q, Local0) >>(--->) And (Local0, 0x02, Local0) >> If (LEqual (Local0, 0x02)) >> { >> Return (0x00) >> } >> Else >> { >> Return (STA (0x03)) >> } >> } >> >> Name (_PRS, ResourceTemplate () >> >> Method (_STA, 0, NotSerialized) >> { >> (---->) Store (Z00Q, Local0) >> And (Local0, 0x02, Local0) >> If (LEqual (Local0, 0x02)) >> { >> Return (0x00) >> } >> Else >> >>Method (_STA, 0, NotSerialized) >> { >>(---->) Store (Z00Q, Local0) >> And (Local0, 0x04, Local0) >> If (LEqual (Local0, 0x04)) >> { >> Return (0x00) >> } >> Else >> { >> Return (STA (0x01)) > > > I can't tell much on that if I have not access to the ASL. You can work around this problem with info from PR kern/89879 http://people.freebsd.org/~ariff/acer_ferrari/ A future acpica import may address this problem. The aml is accessing a field before it's defined. The newest acpica adds support for lazy evaluation (even though this is out of spec). -- Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 17:56:20 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD2AF16A422 for ; Fri, 23 Dec 2005 17:56:20 +0000 (GMT) (envelope-from gnu.raiz@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B16243D7E for ; Fri, 23 Dec 2005 17:56:12 +0000 (GMT) (envelope-from gnu.raiz@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so474874wxc for ; Fri, 23 Dec 2005 09:56:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DoF0cYlypES1pQ0IkAaNKlt4EEIA/iCKZjXRcUY1nIoF90rDA+eXUdrUxldSiyKoaP01pzTFXxB8ABTByV4kEaVnWC63nIZUWESjyZXGmU5y1JJ+BR29f0DgKPaGiZ+riskYBWFuLSX3qBhue0RjZnz8X3Hv3o12jrFtB4gKNJg= Received: by 10.70.89.3 with SMTP id m3mr3522892wxb; Fri, 23 Dec 2005 09:56:11 -0800 (PST) Received: by 10.70.69.9 with HTTP; Fri, 23 Dec 2005 09:56:11 -0800 (PST) Message-ID: Date: Fri, 23 Dec 2005 11:56:11 -0600 From: Gnu_Raiz To: freebsd-acpi@freebsd.org In-Reply-To: <43AC2E52.8000304@root.org> MIME-Version: 1.0 References: <20051222020349.GA16607@poupinou.org> <43AC2E52.8000304@root.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Z00Q Problem Tyan MB! 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: Fri, 23 Dec 2005 17:56:21 -0000 On 12/23/05, Nate Lawson wrote: > > > > You can work around this problem with info from PR kern/89879 > > http://people.freebsd.org/~ariff/acer_ferrari/ > > A future acpica import may address this problem. The aml is accessing a > field before it's defined. The newest acpica adds support for lazy > evaluation (even though this is out of spec). > > -- > Nate I did see that in my research, since it was a laptop, and a different chipset I thought it would not be aplicable to my Tyan board. I might play around with his .asl file, but I am still at a loss as what do with it. Just running a diff on the two version creates a 284K file. I really am at = a loss, I have no idea where to start. Gnu_Raiz rcall From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 18:58:36 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B38016A420 for ; Fri, 23 Dec 2005 18:58:36 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E447043D5A for ; Fri, 23 Dec 2005 18:58:35 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (ppp-71-139-99-63.dsl.snfc21.pacbell.net [71.139.99.63]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id jBNIwk9e023250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Dec 2005 10:58:47 -0800 Message-ID: <43AC4767.9060400@root.org> Date: Fri, 23 Dec 2005 10:52:23 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gnu_Raiz References: <20051222020349.GA16607@poupinou.org> <43AC2E52.8000304@root.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Z00Q Problem Tyan MB! 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: Fri, 23 Dec 2005 18:58:36 -0000 Gnu_Raiz wrote: > On 12/23/05, Nate Lawson wrote: > >> >> >>You can work around this problem with info from PR kern/89879 >> >>http://people.freebsd.org/~ariff/acer_ferrari/ >> >>A future acpica import may address this problem. The aml is accessing a >>field before it's defined. The newest acpica adds support for lazy >>evaluation (even though this is out of spec). >> >>-- >>Nate > > > > > I did see that in my research, since it was a laptop, and a different > chipset I thought it would not be aplicable to my Tyan board. I might play > around with his .asl file, but I am still at a loss as what do with it. > > Just running a diff on the two version creates a 284K file. I really am at a > loss, I have no idea where to start. You can't use his asl. Just go through and make the changes he made for Z00C for Z00Q. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Fri Dec 23 21:44:42 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11DBF16A41F; Fri, 23 Dec 2005 21:44:42 +0000 (GMT) (envelope-from groot@kde.org) Received: from multi.science.ru.nl (multi.science.ru.nl [131.174.16.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E37A43D68; Fri, 23 Dec 2005 21:44:40 +0000 (GMT) (envelope-from groot@kde.org) Received: from [83.116.148.63] (helo=[10.0.0.155]) (authen=adridg) by multi.science.ru.nl (8.13.5/5.7) with ESMTP id jBNLiVLe013846; Fri, 23 Dec 2005 22:44:31 +0100 (MET) From: Adriaan de Groot To: freebsd-acpi@freebsd.org Date: Fri, 23 Dec 2005 22:44:36 +0100 User-Agent: KMail/1.8.2 References: <200512221155.04352.groot@kde.org> In-Reply-To: <200512221155.04352.groot@kde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512232244.37363.groot@kde.org> X-Spam-Score: -0.276 () BAYES_40 X-Scanned-By: MIMEDefang 2.48 on 131.174.16.159 Cc: freebsd-amd64@freebsd.org Subject: Re: Bad characters in Asus A8N-VM CSM 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: Fri, 23 Dec 2005 21:44:42 -0000 On Thursday 22 December 2005 11:55, Adriaan de Groot wrote: > I just picked up an Asus A8N-VM CSM motherboard. It's a nForce 430 + GFor= ge > 6150 integrated mini-ATX job, amd64, very 1337 and new. That means trouble > :) I knew that when buying it, and know now that it really needs work to > get it working at all. > > ACPI-0397: *** Error: NSSearchAndEnter: Bad character in ACPI Name: > 43035350 ACPI-0381: *** Error: Looking up [0x43035350] (NON-ASCII) > in namespace, AE_BAD_CHARACTER [Following up on myself, for documentation purposes, and CCing -amd64 to wa= rn=20 off potential users there as well.] Well, an instructive but unproductive evening yields the following: 1) Default BIOS (rev. 0403) and FBSD 5.1 amd64 boots, produces ACPI warning= =20 messages above and works normally (no NIC, no SATA tried). 2) Newest BIOS (rev. 0506) and FBSD 5.1 amd64 boots and then page faults in= =20 kernel mode in vm_pageq_enqueue right after GEOM adds ad0. ACPI warning is= =20 still there. 3) I didn't try 6-STABLE with the newest BIOS, since having busted ACPI the= re=20 means you can't get _anything_ done. =46rom the booted 5.1 environment I got an ACPI dump and after hacking utmi= sc.c=20 in contrib/dev/acpica to accept a broken character 0x03, I got a disassembl= y.=20 The bad character is in 0x43035350, which from the looks of the IASL should= =20 have been PSSC (0x43535350) but somehow isn't. It's in one of the processor= =20 sections (the other has a Name(PSSC, 0x0A) ). Elsewhere in the IASL there's some undefined symbols ending in _HFZF (sorry= , I=20 don't have the machine under scrutiny on or functional at this very moment)= ,=20 which I suppose is semi-normal, and then a totally weird-ass Return( While(Local1) { ... }) This chokes the compiler, of course. I suspect that it should read Return(0x00) While (Local1) ... or so, but this suggests yet more broken ACPI tables. Over in Linux land, http://www.nvnews.net/vbulletin/showthread.php?t=3D6059= 6=20 shows that with some effort and the latest of the latest everything, it is= =20 possible to get a functioning machine. If I can create a barely legal ASL=20 file that compiles, I'll have to try out what's described in "11.16.5.3=20 Overriding the Default AML " of the handbook. Until then (or someone more competent than myself deals with the issues), I= 'd=20 suggest avoiding this board entirely. [ade] From owner-freebsd-acpi@FreeBSD.ORG Sat Dec 24 07:24:30 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 517BB16A41F for ; Sat, 24 Dec 2005 07:24:30 +0000 (GMT) (envelope-from takash-i@sophia.ac.jp) Received: from rockliff.cc.sophia.ac.jp (rockliff.cc.sophia.ac.jp [133.12.140.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2540D43D4C for ; Sat, 24 Dec 2005 07:24:26 +0000 (GMT) (envelope-from takash-i@sophia.ac.jp) Received: from heuvers.cc.sophia.ac.jp (heuvers [133.12.138.37]) by rockliff.cc.sophia.ac.jp (Postfix) with ESMTP id D69DF10E0C for ; Sat, 24 Dec 2005 16:24:25 +0900 (JST) Received: from [133.12.65.4] (koetoi [133.12.138.217]) by heuvers.cc.sophia.ac.jp (Postfix) with ESMTP id C590418B1A for ; Sat, 24 Dec 2005 16:24:25 +0900 (JST) Message-ID: <43ACF7F2.90803@sophia.ac.jp> Date: Sat, 24 Dec 2005 16:25:38 +0900 From: Takashi Inoue User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051013 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: fujitsu notebook and acpi resume from sleep 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: Sat, 24 Dec 2005 07:24:30 -0000 Hi, Which FreeBSD are you using? Anyway, I sugest diabling apic. It helps here on ThinkPad X40 with 6.0R for similar problem. I guess apic is not compatible with resume . (on some machines?). cheers. T.I.