From owner-freebsd-acpi@FreeBSD.ORG Sun Sep 25 21:20:19 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 E564716A420 for ; Sun, 25 Sep 2005 21:20:19 +0000 (GMT) (envelope-from marquezjesse@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A38343D53 for ; Sun, 25 Sep 2005 21:20:19 +0000 (GMT) (envelope-from marquezjesse@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so207544nzk for ; Sun, 25 Sep 2005 14:20:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=LjscsfnMe07fHbxbqI1Obbm+jobENp7BD+37Z5S6cbOEqj662nJZV9tX7hAJvJfdWjlDIUcsvwt9Uq+CGO77zscXXcih+FM2fKUZ5Eg7D/558NhKOo9PEhicW+u/vYykJDcAiUqH73PEPIM8qeGHnSIfQsTpBYMLGbGQKZ+1iGI= Received: by 10.36.36.10 with SMTP id j10mr909926nzj; Sun, 25 Sep 2005 14:20:19 -0700 (PDT) Received: from ?192.168.1.209? ( [66.194.80.250]) by mx.gmail.com with ESMTP id i5sm805353nzi.2005.09.25.14.20.18; Sun, 25 Sep 2005 14:20:18 -0700 (PDT) Message-ID: <4337148D.10900@gmail.com> Date: Sun, 25 Sep 2005 16:20:13 -0500 From: jesse User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Performance gain? 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, 25 Sep 2005 21:20:20 -0000 Hi all, Is there any performance gain when using Standard-PC HAL over ACPI-PC HAL? I'm running FreeBSD 5.4-STABLE on a abit KR7A(KT266A) motherboard. I currently have APIC disabled in the bios, ACPI disabled at boot and I feel like my system is snappier. Just wondering if there is any truth to this. over and out, Jesse From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 26 11:02: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 0F55E16A41F for ; Mon, 26 Sep 2005 11:02:03 +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 CEDF043D48 for ; Mon, 26 Sep 2005 11:02:02 +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.3/8.13.3) with ESMTP id j8QB22cW026910 for ; Mon, 26 Sep 2005 11:02:02 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8QB21AU026901 for freebsd-acpi@freebsd.org; Mon, 26 Sep 2005 11:02:01 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 26 Sep 2005 11:02:01 GMT Message-Id: <200509261102.j8QB21AU026901@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, 26 Sep 2005 11:02:03 -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 10 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 acpi / power-on by timer support o [2004/11/17] kern/74030 acpi Unplugging AC causes battery % to stay lo o [2004/11/21] kern/74215 acpi [request] add ACPI headers to /usr/includ o [2005/05/09] kern/80815 acpi ACPI(pci_link) problem in 5.4-STABLE: TIM 8 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 26 12:15:17 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 C28BB16A41F for ; Mon, 26 Sep 2005 12:15:17 +0000 (GMT) (envelope-from brendanpcaefsckcykyahydwlue@hobbyshopnj.com) Received: from hobbyshopnj.com (dsl-084-059-132-214.arcor-ip.net [84.59.132.214]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D58C43D53 for ; Mon, 26 Sep 2005 12:15:14 +0000 (GMT) (envelope-from brendanpcaefsckcykyahydwlue@hobbyshopnj.com) Received: from [192.168.78.241] (helo=disbarment) by hobbyshopnj.com with SMTP (Visualization rh 2.85 (Fumigate)) id aRUraU-KKbSxZ-gd for freebsd-acpi@freebsd.org; Mon, 26 Sep 2005 07:14:38 -0500 Message-ID: <774115.IQDNVLDXTWYJ@disbarment> From: "Brendan Luera" To: "Agrafena Ahearn" Date: Mon, 26 Sep 2005 07:14:34 -0500 MIME-Version: 1.0 X-Priority: 3 X-Mailer: Visualization rh 2.85 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Special , Pharrmhacy X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brendan Luera List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 12:15:17 -0000 CiaMeUltXanCelAmProValLevVia lisridiaramaxebrex= bienpeciaiumitragra $ $ = $ 1.21 3.75 = 3.33 http://www.preferollin.com= who revilest me; but this mischance which has befallen me. care and eat = enough to last me both today and tomorrow. While he could. The travelers = turned towards the sound and wondered what volume of Nevelet forms a complete = = Corpus Fabularum The Hawk and the Nightingale bolted to the brink of a deep = precipice. While he was in the act From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 26 12:37:25 2005 Return-Path: X-Original-To: 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 5111B16A420 for ; Mon, 26 Sep 2005 12:37:25 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id D44DE43D4C for ; Mon, 26 Sep 2005 12:37:24 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j8QCYK3k029093; Mon, 26 Sep 2005 06:34:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 26 Sep 2005 06:34:50 -0600 (MDT) Message-Id: <20050926.063450.125600264.imp@bsdimp.com> To: mcsi@mcsi.pp.ru From: "M. Warner Losh" In-Reply-To: <43303AAE.8050105@mcsi.pp.ru> References: <433016F8.903@mcsi.pp.ru> <20050920145932.GB1616@poupinou.org> <43303AAE.8050105@mcsi.pp.ru> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 26 Sep 2005 06:34:28 -0600 (MDT) Cc: acpi@freebsd.org Subject: Re: Hard hang with powerd 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, 26 Sep 2005 12:37:25 -0000 In message: <43303AAE.8050105@mcsi.pp.ru> Maxim Maximov writes: : Of course! As soon, as CURRENT won't be broken by recent pccard/devfs : work. :) What's broken for you? Warner From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 05:28:30 2005 Return-Path: X-Original-To: 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 B57CC16A41F for ; Tue, 27 Sep 2005 05:28:30 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from zombie.ezone.ru (zombie.ezone.ru [195.128.162.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0429C43D48 for ; Tue, 27 Sep 2005 05:28:29 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [172.16.4.26] (ultra.domain [172.16.4.26] (may be forged)) by zombie.ezone.ru (8.13.4/8.12.11) with ESMTP id j8R5S376002026; Tue, 27 Sep 2005 09:28:04 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <4338D861.6080002@mcsi.pp.ru> Date: Tue, 27 Sep 2005 09:28:01 +0400 From: Maxim Maximov User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "M. Warner Losh" References: <433016F8.903@mcsi.pp.ru> <20050920145932.GB1616@poupinou.org> <43303AAE.8050105@mcsi.pp.ru> <20050926.063450.125600264.imp@bsdimp.com> In-Reply-To: <20050926.063450.125600264.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: Re: Hard hang with powerd 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: Tue, 27 Sep 2005 05:28:30 -0000 M. Warner Losh wrote: > In message: <43303AAE.8050105@mcsi.pp.ru> > Maxim Maximov writes: > : Of course! As soon, as CURRENT won't be broken by recent pccard/devfs > : work. :) > > What's broken for you? That's the bug you've fixed already - second pccard slot makes the notebook panic on boot. -- Maxim Maximov From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 06:06:48 2005 Return-Path: X-Original-To: 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 9DE1F16A420; Tue, 27 Sep 2005 06:06:48 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D017D43D58; Tue, 27 Sep 2005 06:06:47 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EK8c2-0000Tb-3Y; Tue, 27 Sep 2005 10:06:46 +0400 From: Vladimir Grebenschikov To: current Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 27 Sep 2005 10:06:45 +0400 Message-Id: <1127801205.1268.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@freebsd.org Subject: Invalid detection CPU frequency ? 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: Tue, 27 Sep 2005 06:06:48 -0000 Hi It looks strange but sometimes my notebook start on full-speed (1.7GHz) and sysctls output looks like: dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1687 dev.cpu.0.freq_levels: 1687/-1 1476/-1 1265/-1 1054/-1 843/-1 632/-1 421/-1 210/-1 dev.acpi_throttle.0.%desc: ACPI CPU Throttling dev.acpi_throttle.0.%driver: acpi_throttle dev.acpi_throttle.0.%parent: cpu0 dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.acpi_sony.0.brightness: 8 dev.acpi_sony.0.ctr: 0 dev.acpi_sony.0.pcr: 0 dev.acpi_sony.0.wdp: 1281 dev.acpi_sony.0.cdp: 1 dev.acpi_sony.0.%desc: Sony notebook controller dev.acpi_sony.0.%driver: acpi_sony dev.acpi_sony.0.%location: handle=\_SB_.PCI0.LPCB.SNC_ dev.acpi_sony.0.%pnpinfo: _HID=SNY5001 _UID=0 dev.acpi_sony.0.%parent: acpi0 And sometimes it starts on low speed (~500 Mhz) dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 595 dev.cpu.0.freq_levels: 595/-1 520/-1 446/-1 371/-1 297/-1 223/-1 148/-1 74/-1 dev.acpi_throttle.0.%desc: ACPI CPU Throttling dev.acpi_throttle.0.%driver: acpi_throttle dev.acpi_throttle.0.%parent: cpu0 dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 dev.acpi_sony.0.brightness: 8 dev.acpi_sony.0.ctr: 0 dev.acpi_sony.0.pcr: 0 dev.acpi_sony.0.wdp: 1281 dev.acpi_sony.0.cdp: 1 dev.acpi_sony.0.%desc: Sony notebook controller dev.acpi_sony.0.%driver: acpi_sony dev.acpi_sony.0.%location: handle=\_SB_.PCI0.LPCB.SNC_ dev.acpi_sony.0.%pnpinfo: _HID=SNY5001 _UID=0 dev.acpi_sony.0.%parent: acpi0 And speed can't be raised by powerd or other. Looks like it happens when notebook stats or shutdowns on batteries. Rebooting on AC power cures situation. But anyway - I do not think it is normal. Any suggestions ? I run 7-CURRENT here (19 Sep 05). powerd also enbled with default setup: % fgrep powerd /etc/rc.conf powerd_enable="YES" # Run powerd to lower our power usage. % -- Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 06:28:02 2005 Return-Path: X-Original-To: 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 0DF7516A41F; Tue, 27 Sep 2005 06:28:02 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7637C43D48; Tue, 27 Sep 2005 06:28:00 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:oe3EkCBIim8C3KEOQkmHAYt7KJk6Me3ot3ikgyoKGzKVMjsZrnM8RN/1mTE3J2QP@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.4/8.13.4) with ESMTP/inet6 id j8R6RuAZ068549 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Sep 2005 15:27:57 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 27 Sep 2005 15:27:56 +0900 Message-ID: From: Hajimu UMEMOTO To: Vladimir Grebenschikov In-Reply-To: <1127801205.1268.9.camel@localhost> References: <1127801205.1268.9.camel@localhost> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 5.4-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0 (ameno.mahoroba.org [IPv6:::1]); Tue, 27 Sep 2005 15:27:57 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ameno.mahoroba.org Cc: acpi@freebsd.org, current Subject: Re: Invalid detection CPU frequency ? 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: Tue, 27 Sep 2005 06:28:02 -0000 Hi, >>>>> On Tue, 27 Sep 2005 10:06:45 +0400 >>>>> Vladimir Grebenschikov said: vova> And speed can't be raised by powerd or other. vova> Looks like it happens when notebook stats or shutdowns on batteries. vova> Rebooting on AC power cures situation. But anyway - I do not think it is normal. I met this, too. Putting cpufreq_load="YES" into your /boot/loader.conf should solve your problem. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 15:11: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 545EE16A41F; Tue, 27 Sep 2005 15:11:42 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 400C343D48; Tue, 27 Sep 2005 15:11:40 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-37-18.dynamic.qsc.de [212.202.37.18]) by efacilitas.de (Postfix) with ESMTP id CA3C54AF5A; Tue, 27 Sep 2005 17:18:27 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 8B2943328D1; Tue, 27 Sep 2005 17:11:45 +0200 (CEST) Message-ID: <43396131.8010204@cs.tu-berlin.de> Date: Tue, 27 Sep 2005 17:11:45 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Content-Type: multipart/mixed; boundary="------------050805070805060904050204" Cc: Subject: ACPI-related weird behaviour of PCMCIA network adapter X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-acpi@freebsd.org List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 15:11:42 -0000 This is a multi-part message in MIME format. --------------050805070805060904050204 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hello, I have an IBM Thinkpad 600 (Pentium II 300) with a 3com Megahertz 574B PCMCIA network adapter. ACPI-related commits to HEAD on November 23th 2004 have broken something. These commits concern the files src/sys/dev/acpica/acpi_pci_link.c src/sys/dev/acpica/acpi_pcib.c src/sys/dev/acpica/acpi_pcib_acpi.c src/sys/dev/acpica/acpi_pcib_pci.c src/sys/dev/acpica/acpi_pcibvar.h The problem is that the network adapter behaves very strange. It works overall and there is no packet loss, but there is a high latency and a low throughput as a result. The output of ping might give a clue what's going on: before: 64 bytes from 192.168.1.4: icmp_seq=0 ttl=64 time=0.690 ms 64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.565 ms 64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=0.560 ms 64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=0.579 ms after: 64 bytes from 192.168.1.4: icmp_seq=0 ttl=64 time=642.271 ms 64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=765.606 ms 64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=8652.092 ms 64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=7651.296 ms 64 bytes from 192.168.1.4: icmp_seq=4 ttl=64 time=6650.415 ms 64 bytes from 192.168.1.4: icmp_seq=5 ttl=64 time=5649.384 ms 64 bytes from 192.168.1.4: icmp_seq=6 ttl=64 time=4648.452 ms 64 bytes from 192.168.1.4: icmp_seq=7 ttl=64 time=3647.554 ms 64 bytes from 192.168.1.4: icmp_seq=8 ttl=64 time=2646.692 ms 64 bytes from 192.168.1.4: icmp_seq=9 ttl=64 time=1645.702 ms 64 bytes from 192.168.1.4: icmp_seq=10 ttl=64 time=644.745 ms 64 bytes from 192.168.1.4: icmp_seq=11 ttl=64 time=754.280 ms 64 bytes from 192.168.1.4: icmp_seq=12 ttl=64 time=8653.586 ms 64 bytes from 192.168.1.4: icmp_seq=13 ttl=64 time=7652.703 ms 64 bytes from 192.168.1.4: icmp_seq=14 ttl=64 time=6651.699 ms 64 bytes from 192.168.1.4: icmp_seq=15 ttl=64 time=5651.197 ms 64 bytes from 192.168.1.4: icmp_seq=16 ttl=64 time=4650.333 ms 64 bytes from 192.168.1.4: icmp_seq=17 ttl=64 time=3649.383 ms 64 bytes from 192.168.1.4: icmp_seq=18 ttl=64 time=2648.421 ms 64 bytes from 192.168.1.4: icmp_seq=19 ttl=64 time=1647.459 ms 64 bytes from 192.168.1.4: icmp_seq=20 ttl=64 time=646.492 ms 64 bytes from 192.168.1.4: icmp_seq=21 ttl=64 time=743.899 ms There is a scheme. It looks like that 9 replies arrives at the same time; in this case the packets with the sequence number 2-10 and 12-20. It continues periodically. The length of a period is exactly 10 seconds. I attached output of 'vmstat -i' and verbose boot messages to this mail. I would appreciate a hint to make it easier for me to find the responsible piece of code in the huge changes of November 23th. Regards Björn --------------050805070805060904050204 Content-Type: text/plain; name="dmesg.boot.after" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot.after" Copyright (c) 1992-2004 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-CURRENT #0: Tue Sep 27 12:49:45 UTC 2005 root@nestor.local:/usr/obj/usr/src/sys/SYN Preloaded elf kernel "/boot/kernel/kernel" at 0xc0634000. Preloaded elf module "/boot/modules/acpi_broken.ko" at 0xc063415c. Calibrating clock(s) ... i8254 clock: 1193108 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 298422367 Hz CPU: Pentium II/Pentium II Xeon/Celeron (298.42-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 201129984 (191 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000825000 - 0x000000000bc40fff, 188858368 bytes (46108 pages) avail memory = 191578112 (182 MB) bios32: Found BIOS32 Service Directory header at 0xc00fd800 bios32: Entry = 0xfd820 (c00fd820) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd880+0x0 pnpbios: Found PnP BIOS data at 0xc00fe700 pnpbios: Entry = f0000:e724 Rev = 1.0 pnpbios: Event flag at 415 Other BIOS signatures found: VESA: information block 56 45 53 41 00 02 1f 01 00 01 00 00 00 00 22 00 00 01 1f 00 10 01 00 01 00 01 09 01 00 01 1a 01 00 01 00 01 01 01 02 01 03 01 04 01 05 01 0d 01 0e 01 10 01 11 01 12 01 13 01 14 01 15 01 16 01 VESA: 22 mode(s) found VESA: v2.0, 1984k memory, flags:0x0, mode table:0xc05ef342 (1000022) VESA: MagicGraph 128XD 40K SVGA BIOS VESA: NeoMagic MagicGraph 128XV 01.0 mem: Pentium Pro MTRR support enabled random: null: io: npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x000038c8 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71928086) pcibios: BIOS version 2.10 Found $PIR table, 4 entries at 0xc00f9e40 PCI-Only Interrupts: 11 Location Bus Device Pin Link IRQs embedded 0 7 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 7 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 3 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 D 0x63 3 4 5 6 7 9 10 11 12 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 1 func 0 acpi0: [MPSAFE] acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 2 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 2 func 1 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 3 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 1 acpi0: Power Button (fixed) atpic: Programming IRQ9 as level/low acpi_ec0: port 0x66,0x62 on acpi0 acpi_ec0: info: new max delay is 10 us acpi_ec0: info: new max delay is 20 us acpi_ec0: info: new max delay is 30 us acpi_ec0: info: new max delay is 50 us acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 0 func 1 ACPI timer: 0/5 0/4 0/4 0/4 0/4 0/4 0/4 0/4 0/4 0/4 -> 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 pci_link0: on acpi0 pci_link0: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link0: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link0: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link1: on acpi0 pci_link1: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link1: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link1: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link2: on acpi0 pci_link2: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link2: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link2: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link3: on acpi0 pci_link3: Links after initial probe: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link3: Links after initial validation: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 pci_link3: Links after disable: Index IRQ Rtd Ref IRQs 0 255 N 0 3 4 5 6 7 9 10 11 12 14 15 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: physical bus=0 map[10]: type 3, range 32, base 00000000, size 28, enabled found-> vendor=0x8086, dev=0x7192, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0xa200, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base 20301000, size 12, enabled found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=2, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 20300000, size 12, enabled found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=2, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=b, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base e0000000, size 24, enabled map[14]: type 1, range 32, base 20000000, size 21, enabled map[18]: type 1, range 32, base 20200000, size 20, enabled pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKA:0) pci_link0: Picked IRQ 9 with weight 0 pcib0: slot 3 INTA routed to irq 9 via \\_SB_.LNKA found-> vendor=0x10c8, dev=0x0004, revid=0x01 bus=0, slot=3, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x80 (3840 ns), mingnt=0x10 (4000 ns), maxlat=0xff (63750 ns) intpin=a, irq=9 found-> vendor=0x8086, dev=0x7110, revid=0x01 bus=0, slot=7, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000fcf0, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 00008400, size 5, enabled pcib0: matched entry for 0.7.INTD (src \\_SB_.LNKD:0) pci_link3: Picked IRQ 9 with weight 3 pcib0: slot 7 INTD routed to irq 9 via \\_SB_.LNKD found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x30 (1440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=9 map[90]: type 4, range 32, base 0000efa0, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x01 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) cbb0: mem 0x20301000-0x20301fff at device 2.0 on pci0 cbb0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x20301000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: matched entry for 0.2.INTA (src \\_SB_.LNKA:0) pcib0: slot 2 INTA routed to irq 9 via \\_SB_.LNKA cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0xac16104c 0x02100007 0x06070002 0x0082a808 0x10: 0x20301000 0x020000a0 0xb0030100 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc 0x30: 0x00000000 0x0000fffc 0x00000000 0x07400109 0x40: 0x00921014 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x00449061 0x00000000 0x09818148 0xfba97543 0x90: 0x606202c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00808000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 cbb1: mem 0x20300000-0x20300fff at device 2.1 on pci0 cbb1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x20300000 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib0: matched entry for 0.2.INTB (src \\_SB_.LNKB:0) pci_link1: Picked IRQ 9 with weight 4 pcib0: slot 2 INTB routed to irq 9 via \\_SB_.LNKB cbb1: [MPSAFE] cbb1: PCI Configuration space: 0x00: 0xac16104c 0x02100007 0x06070002 0x0082a808 0x10: 0x20300000 0x020000a0 0xb0060400 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc 0x30: 0x00000000 0x0000fffc 0x00000000 0x07400209 0x40: 0x00921014 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x00449061 0x00000000 0x09818148 0xfba97543 0x90: 0x606202c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00808000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pci0: at device 3.0 (no driver attached) PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfcf0 ata0: channel #0 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: channel #1 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=01 ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x01 err=0x04 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=01 devices=0x4 ata1: [MPSAFE] pci0: at device 7.2 (no driver attached) pci0:7:2: Transition from D0 to D3 pci0: at device 7.3 (no driver attached) pci0:7:3: Transition from D0 to D3 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x54ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] acpi_ec0: info: new max delay is 60 us acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 acpi_ec0: info: new max delay is 70 us ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: at iomem 0xc0000-0xc9fff on isa0 pmtimer0 on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) ppc0 failed to probe at irq 7 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0 failed to probe at port 0x3f8 irq 4 on isa0 sio1 failed to probe at port 0x2f8 irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. Timecounter "TSC" frequency 298422367 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached acpi_cmbat0: battery initialization start acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times ata0-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin ata0-master: setting PIO4 on Intel PIIX4 chip ata0-master: setting UDMA33 on Intel PIIX4 chip ad0: ATA-4 disk at ata0-master ad0: 6149MB (12594960 sectors), 13328 C, 15 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA33 GEOM: new disk ad0 acpi_tz1: _AC1: temperature 44.8 >= setpoint 40.5 acpi_tz1: _AC0: temperature 44.8 >= setpoint 41.5 acpi_tz1: switched from NONE to _AC0: 44.8C ata1-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin ata1-master: setting PIO4 on Intel PIIX4 chip acd0: CDROM drive at ata1 as master acd0: read 1377KB/s (4125KB/s), 256KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc acpi_tz1: _AC1: temperature 44.8 >= setpoint 40.5 acpi_tz1: _AC1: temperature 44.8 >= setpoint 40.5 Mounting root from ufs:/dev/ad0s1a start_init: trying /sbin/init pccard0: CIS version PCCARD 2.0 or 2.1 pccard0: CIS info: 3Com, Megahertz 574B, B, 001 pccard0: Manufacturer code 0x101, product 0x574 pccard0: function 0: network adapter, ccr addr 10000 mask 3 pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; io8 io16 irqlevel ep0: <3Com Megahertz 574B> at port 0x100-0x11f irq 9 function 0 config 1 on pccard0 Unknown ID: 0x201 ep0: Pass 1 of 2 detection failed (nonfatal) id 0x201 ep0: bpf attached ep0: Ethernet address: 00:01:03:81:cf:61 ep0: [MPSAFE] acpi_tz1: _AC1: temperature 44.8 >= setpoint 40.5 --------------050805070805060904050204 Content-Type: text/plain; name="dmesg.boot.before" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.boot.before" Copyright (c) 1992-2004 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-CURRENT #0: Tue Sep 27 12:49:45 UTC 2005 root@nestor.local:/usr/obj/usr/src/sys/SYN Preloaded elf kernel "/boot/kernel/kernel" at 0xc0634000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc063415c. Calibrating clock(s) ... i8254 clock: 1193107 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 298422322 Hz CPU: Pentium II/Pentium II Xeon/Celeron (298.42-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 201129984 (191 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000000825000 - 0x000000000bc40fff, 188858368 bytes (46108 pages) avail memory = 191578112 (182 MB) bios32: Found BIOS32 Service Directory header at 0xc00fd800 bios32: Entry = 0xfd820 (c00fd820) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd880+0x0 pnpbios: Found PnP BIOS data at 0xc00fe700 pnpbios: Entry = f0000:e724 Rev = 1.0 pnpbios: Event flag at 415 Other BIOS signatures found: VESA: information block 56 45 53 41 00 02 1f 01 00 01 00 00 00 00 22 00 00 01 1f 00 10 01 00 01 00 01 09 01 00 01 1a 01 00 01 00 01 01 01 02 01 03 01 04 01 05 01 0d 01 0e 01 10 01 11 01 12 01 13 01 14 01 15 01 16 01 VESA: 22 mode(s) found VESA: v2.0, 1984k memory, flags:0x0, mode table:0xc05ef342 (1000022) VESA: MagicGraph 128XD 40K SVGA BIOS VESA: NeoMagic MagicGraph 128XV 01.0 mem: Pentium Pro MTRR support enabled random: null: io: npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pci_open(1): mode 1 addr port (0x0cf8) is 0x000038c8 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71928086) pcibios: BIOS version 2.10 Found $PIR table, 4 entries at 0xc00f9e40 PCI-Only Interrupts: 11 Location Bus Device Pin Link IRQs embedded 0 7 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 7 D 0x63 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 2 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 3 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 A 0x60 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 B 0x61 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 C 0x62 3 4 5 6 7 9 10 11 12 14 15 embedded 0 4 D 0x63 3 4 5 6 7 9 10 11 12 14 15 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 1 func 0 acpi0: [MPSAFE] acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 2 func 0 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 2 func 1 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 3 acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 7 func 1 acpi0: Power Button (fixed) atpic: Programming IRQ9 as level/low acpi_ec0: port 0x66,0x62 on acpi0 acpi_ec0: info: new max delay is 10 us acpi_ec0: info: new max delay is 20 us acpi_ec0: info: new max delay is 30 us acpi_ec0: info: new max delay is 50 us acpi_bus_number: root bus has no _BBN, assuming 0 AcpiOsDerivePciId: bus 0 dev 0 func 1 ACPI timer: 0/4 0/4 0/4 0/5 0/4 0/4 0/5 0/4 0/4 0/4 -> 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 ACPI PCI link initial configuration: \\_SB_.LNKD irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.7.3 \\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.2.0 \\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.2.1 \\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.3.0 \\_SB_.LNKB irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.5.0 \\_SB_.LNKA irq 0: [ 3 4 5 6 7 9 10 11 12 14 15] 0+ low,level,sharable 0.6.0 pci0: on pcib0 pci0: physical bus=0 map[10]: type 3, range 32, base 00000000, size 28, enabled found-> vendor=0x8086, dev=0x7192, revid=0x02 bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0xa200, cachelnsz=0 (dwords) lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[10]: type 1, range 32, base 20301000, size 12, enabled found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=2, func=0 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=a, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 1, range 32, base 20300000, size 12, enabled found-> vendor=0x104c, dev=0xac16, revid=0x02 bus=0, slot=2, func=1 class=06-07-00, hdrtype=0x02, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=8 (dwords) lattimer=0xa8 (5040 ns), mingnt=0xc0 (48000 ns), maxlat=0x03 (750 ns) intpin=b, irq=255 powerspec 1 supports D0 D1 D2 D3 current D0 map[10]: type 3, range 32, base e0000000, size 24, enabled map[14]: type 1, range 32, base 20000000, size 21, enabled map[18]: type 1, range 32, base 20200000, size 20, enabled pcib0: matched entry for 0.3.INTA (src \\_SB_.LNKA) pcib0: possible interrupts: 3 4 5 6 7 9 10 11 12 14 15 ACPI PCI link arbitrated settings: \\_SB_.LNKA (references 3, priority 34300): interrupts: 11 10 5 9 12 7 6 4 3 15 14 penalty: 60 60 110 120 5060 5060 5060 5060 5060 50060 50060 \\_SB_.LNKB (references 2, priority 22867): interrupts: 11 10 5 9 12 7 6 4 3 15 14 penalty: 60 60 110 120 5060 5060 5060 5060 5060 50060 50060 \\_SB_.LNKD (references 1, priority 11433): interrupts: 11 10 5 9 12 7 6 4 3 15 14 penalty: 60 60 110 120 5060 5060 5060 5060 5060 50060 50060 acpi link set: _CRS failed for link \\_SB_.LNKA - AE_NULL_ENTRY acpi link set: curr irq 0 != 11 for \\_SB_.LNKA pcib0: slot 3 INTA routed to irq 11 via \\_SB_.LNKA found-> vendor=0x10c8, dev=0x0004, revid=0x01 bus=0, slot=3, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x80 (3840 ns), mingnt=0x10 (4000 ns), maxlat=0xff (63750 ns) intpin=a, irq=11 found-> vendor=0x8086, dev=0x7110, revid=0x01 bus=0, slot=7, func=0 class=06-80-00, hdrtype=0x00, mfdev=1 cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 0000fcf0, size 4, enabled found-> vendor=0x8086, dev=0x7111, revid=0x01 bus=0, slot=7, func=1 class=01-01-80, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) map[20]: type 4, range 32, base 00008400, size 5, enabled pcib0: matched entry for 0.7.INTD (src \\_SB_.LNKD) pcib0: possible interrupts: 3 4 5 6 7 9 10 11 12 14 15 ACPI PCI link arbitrated settings: \\_SB_.LNKB (references 2, priority 23003): interrupts: 10 11 5 9 12 7 6 4 3 15 14 penalty: 120 150 170 240 5120 5120 5120 5120 5120 50120 50120 \\_SB_.LNKD (references 1, priority 11501): interrupts: 10 11 5 9 12 7 6 4 3 15 14 penalty: 120 150 170 240 5120 5120 5120 5120 5120 50120 50120 acpi link set: _CRS failed for link \\_SB_.LNKD - AE_NULL_ENTRY acpi link set: curr irq 0 != 10 for \\_SB_.LNKD atpic: Programming IRQ10 as level/low pcib0: slot 7 INTD routed to irq 10 via \\_SB_.LNKD found-> vendor=0x8086, dev=0x7112, revid=0x01 bus=0, slot=7, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x30 (1440 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=d, irq=10 map[90]: type 4, range 32, base 0000efa0, size 4, enabled found-> vendor=0x8086, dev=0x7113, revid=0x01 bus=0, slot=7, func=3 class=06-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) cbb0: mem 0x20301000-0x20301fff at device 2.0 on pci0 cbb0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x20301000 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: matched entry for 0.2.INTA (src \\_SB_.LNKA) pcib0: slot 2 INTA is already routed to irq 11 cbb0: [MPSAFE] cbb0: PCI Configuration space: 0x00: 0xac16104c 0x02100007 0x06070002 0x0082a808 0x10: 0x20301000 0x020000a0 0xb0030100 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc 0x30: 0x00000000 0x0000fffc 0x00000000 0x0740010b 0x40: 0x00921014 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x00449061 0x00000000 0x09818148 0xfba97543 0x90: 0x606202c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00808000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 cbb1: mem 0x20300000-0x20300fff at device 2.1 on pci0 cbb1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x20300000 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib0: matched entry for 0.2.INTB (src \\_SB_.LNKB) pcib0: possible interrupts: 3 4 5 6 7 9 10 11 12 14 15 ACPI PCI link arbitrated settings: \\_SB_.LNKB (references 2, priority 23147): interrupts: 10 5 11 9 12 7 6 4 3 15 14 penalty: 190 230 270 360 5180 5180 5180 5180 5180 50180 50180 acpi link set: _CRS failed for link \\_SB_.LNKB - AE_NULL_ENTRY acpi link set: curr irq 0 != 10 for \\_SB_.LNKB pcib0: slot 2 INTB routed to irq 10 via \\_SB_.LNKB cbb1: [MPSAFE] cbb1: PCI Configuration space: 0x00: 0xac16104c 0x02100007 0x06070002 0x0082a808 0x10: 0x20300000 0x020000a0 0xb0060400 0xfffff000 0x20: 0x00000000 0xfffff000 0x00000000 0x0000fffc 0x30: 0x00000000 0x0000fffc 0x00000000 0x0740020a 0x40: 0x00921014 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x00449061 0x00000000 0x09818148 0xfba97543 0x90: 0x606202c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00808000 0x00000000 0x00000000 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pci0: at device 3.0 (no driver attached) PCI-ISA bridge with incorrect subclass 0x80 PCI-ISA bridge with incorrect subclass 0x80 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfcf0 ata0: channel #0 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0xd0 err=0xd0 lsb=0xd0 msb=0xd0 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: channel #1 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=01 ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x01 err=0x04 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=01 devices=0x4 ata1: [MPSAFE] pci0: at device 7.2 (no driver attached) pci0:7:2: Transition from D0 to D3 pci0: at device 7.3 (no driver attached) pci0:7:3: Transition from D0 to D3 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x54ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 atkbd0: [GIANT-LOCKED] acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 acpi_ec0: info: new max delay is 70 us ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it atkbdc: atkbdc0 already exists; skipping it Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: at iomem 0xc0000-0xc9fff on isa0 pmtimer0 on isa0 adv0: not probed (disabled) aha0: not probed (disabled) aic0: not probed (disabled) bt0: not probed (disabled) cs0: not probed (disabled) ed0: not probed (disabled) fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 fe0: not probed (disabled) ie0: not probed (disabled) lnc0: not probed (disabled) ppc0 failed to probe at irq 7 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0 failed to probe at port 0x3f8 irq 4 on isa0 sio1 failed to probe at port 0x2f8 irq 3 on isa0 sio2: not probed (disabled) sio3: not probed (disabled) sn0: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 vt0: not probed (disabled) isa_probe_children: probing PnP devices Device configuration finished. Timecounter "TSC" frequency 298422322 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached Interrupt storm detected on "irq10: cbb1"; throttling interrupt source acpi_cmbat0: battery initialization start acpi_acad0: acline initialization start acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times ata0-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin ata0-master: setting PIO4 on Intel PIIX4 chip ata0-master: setting UDMA33 on Intel PIIX4 chip ad0: ATA-4 disk at ata0-master ad0: 6149MB (12594960 sectors), 13328 C, 15 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA33 GEOM: new disk ad0 ata1-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin ata1-master: setting PIO4 on Intel PIIX4 chip acpi_tz1: _AC1: temperature 43.8 >= setpoint 40.5 acpi_tz1: _AC0: temperacd0: CDROM drive at ata1 as master acd0: read 1377KB/s (4125KB/s), 256KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc ature 43.8 >= setpoint 41.5 acpi_tz1: switched from NONE to _AC0: 43.8C acpi_tz1: _AC1: temperature 43.8 >= setpoint 40.5 acpi_tz1: _AC1: temperature 43.8 >= setpoint 40.5 Mounting root from ufs:/dev/ad0s1a start_init: trying /sbin/init pccard0: CIS version PCCARD 2.0 or 2.1 pccard0: CIS info: 3Com, Megahertz 574B, B, 001 pccard0: Manufacturer code 0x101, product 0x574 pccard0: function 0: network adapter, ccr addr 10000 mask 3 pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 5, iospace 0-1f; io8 io16 irqlevel ep0: <3Com Megahertz 574B> at port 0x100-0x11f irq 11 function 0 config 1 on pccard0 Unknown ID: 0x201 ep0: Pass 1 of 2 detection failed (nonfatal) id 0x201 ep0: bpf attached ep0: Ethernet address: 00:01:03:81:cf:61 ep0: [MPSAFE] acpi_tz1: _AC1: temperature 43.8 >= setpoint 40.5 --------------050805070805060904050204 Content-Type: text/plain; name="vmstat-i.after" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="vmstat-i.after" interrupt total rate irq0: clk 43188 981 irq1: atkbd0 80 1 irq8: rtc 5529 125 irq9: cbb0 cbb1 ep+ 90 2 irq13: npx0 1 0 irq14: ata0 721 16 irq15: ata1 58 1 Total 49667 1128 --------------050805070805060904050204 Content-Type: text/plain; name="vmstat-i.before" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="vmstat-i.before" interrupt total rate irq0: clk 215177 996 irq1: atkbd0 4 0 irq8: rtc 27541 127 irq9: acpi0 332 1 irq10: cbb1 212249 982 irq11: cbb0 ep0 1621 7 irq13: npx0 1 0 irq14: ata0 1015 4 irq15: ata1 58 0 Total 457998 2120 --------------050805070805060904050204-- From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 15:48:48 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 C0D2716A420; Tue, 27 Sep 2005 15:48:48 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2834943D53; Tue, 27 Sep 2005 15:48:45 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j8RFmgZm092361; Tue, 27 Sep 2005 18:48:42 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 05429-02-4; Tue, 27 Sep 2005 18:48:40 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id j8RFj5wv092235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Sep 2005 18:45:05 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.3/8.13.3) id j8RFjONF054526; Tue, 27 Sep 2005 18:45:24 +0300 (EEST) (envelope-from ru) Date: Tue, 27 Sep 2005 18:45:23 +0300 From: Ruslan Ermilov To: freebsd-acpi@FreeBSD.org Message-ID: <20050927154523.GA54045@ip.net.ua> References: <43396131.8010204@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <43396131.8010204@cs.tu-berlin.de> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: freebsd-mobile@FreeBSD.org Subject: Re: ACPI-related weird behaviour of PCMCIA network adapter 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: Tue, 27 Sep 2005 15:48:48 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 27, 2005 at 05:11:45PM +0200, Bj?rn K?nig wrote: > Hello, >=20 > I have an IBM Thinkpad 600 (Pentium II 300) with a 3com Megahertz 574B=20 > PCMCIA network adapter. >=20 I have a similar notebook, and I' happily running it with the following lines in /boot/loader.conf: hw.cbb.start_memory=3D0xd8000 hw.pci.link.LNKA.irq=3D11 hw.pci.link.LNKB.irq=3D11 hw.pci.link.LNKC.irq=3D11 hw.pci.link.LNKD.irq=3D11 IRQ 11 is configured as a "PCI interrupt" using the DOS ThinkPad Configuration Utility, but I think IRQ 11 is the default. Hope this helps, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDOWkTqRfpzJluFF4RAsyfAJkB79gJkrIUwZA7bhK/vvSTwuhlPgCfdck1 Bt9/IH3XJ3H+cTjcNHhaSSI= =+jF1 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 16:16: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 6C13616A41F; Tue, 27 Sep 2005 16:16:54 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD67543D48; Tue, 27 Sep 2005 16:16:53 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-37-18.dynamic.qsc.de [212.202.37.18]) by efacilitas.de (Postfix) with ESMTP id 91CA04AF36; Tue, 27 Sep 2005 18:23:41 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 64D383328D1; Tue, 27 Sep 2005 18:16:57 +0200 (CEST) Message-ID: <43397079.4000700@cs.tu-berlin.de> Date: Tue, 27 Sep 2005 18:16:57 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <43396131.8010204@cs.tu-berlin.de> <20050927154523.GA54045@ip.net.ua> In-Reply-To: <20050927154523.GA54045@ip.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: ACPI-related weird behaviour of PCMCIA network adapter 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: Tue, 27 Sep 2005 16:16:54 -0000 Ruslan Ermilov wrote: > On Tue, Sep 27, 2005 at 05:11:45PM +0200, Bj?rn K?nig wrote: > >>Hello, >> >>I have an IBM Thinkpad 600 (Pentium II 300) with a 3com Megahertz 574B >>PCMCIA network adapter. >> > > I have a similar notebook, and I' happily running it with the following > lines in /boot/loader.conf: > > hw.cbb.start_memory=0xd8000 > hw.pci.link.LNKA.irq=11 > hw.pci.link.LNKB.irq=11 > hw.pci.link.LNKC.irq=11 > hw.pci.link.LNKD.irq=11 > > IRQ 11 is configured as a "PCI interrupt" using the DOS ThinkPad > Configuration Utility, but I think IRQ 11 is the default. > > > Hope this helps, Great! It works. Thank you. Björn From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 27 23:35:07 2005 Return-Path: X-Original-To: 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 71F1516A41F; Tue, 27 Sep 2005 23:35:07 +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 167DC43D49; Tue, 27 Sep 2005 23:35:05 +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 j8RNZ8o5016169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 27 Sep 2005 16:35:09 -0700 Message-ID: <4339D724.3020102@root.org> Date: Tue, 27 Sep 2005 16:35:00 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vladimir Grebenschikov References: <1127801205.1268.9.camel@localhost> In-Reply-To: <1127801205.1268.9.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org, current Subject: Re: Invalid detection CPU frequency ? 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: Tue, 27 Sep 2005 23:35:07 -0000 Vladimir Grebenschikov wrote: > It looks strange but sometimes my notebook start on full-speed (1.7GHz) > and sysctls output looks like: > > dev.cpu.0.freq: 1687 > dev.cpu.0.freq_levels: 1687/-1 1476/-1 1265/-1 1054/-1 843/-1 632/-1 421/-1 210/-1 > dev.acpi_throttle.0.%desc: ACPI CPU Throttling > > And sometimes it starts on low speed (~500 Mhz) > dev.cpu.0.freq: 595 > dev.cpu.0.freq_levels: 595/-1 520/-1 446/-1 371/-1 297/-1 223/-1 148/-1 74/-1 > dev.acpi_throttle.0.%desc: ACPI CPU Throttling > And speed can't be raised by powerd or other. > Looks like it happens when notebook stats or shutdowns on batteries. > Rebooting on AC power cures situation. But anyway - I do not think it is normal. > > Any suggestions ? It's very simple. You have an old notebook that only supports throttling, not SpeedStep or other options. Your BIOS sets the initial speed based on AC line status on boot. If you look at your CPU announcement at the top of dmesg, it will show 595 Mhz or whatever since it uses a simple calibration loop. I might consider always setting 100% in the attach routine for acpi_throttle and p4tcc to get proper probe values. You'll still have a problem if you use the TSC timecounter since it's only calibrated at boot. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 00:23:43 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 7C58216A41F for ; Wed, 28 Sep 2005 00:23:43 +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 2450643D55 for ; Wed, 28 Sep 2005 00:23:42 +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 j8S0Nko5016572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 27 Sep 2005 17:23:47 -0700 Message-ID: <4339E28A.3050309@root.org> Date: Tue, 27 Sep 2005 17:23:38 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jesse References: <4337148D.10900@gmail.com> In-Reply-To: <4337148D.10900@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Performance gain? 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, 28 Sep 2005 00:23:43 -0000 jesse wrote: > Is there any performance gain when using Standard-PC HAL over ACPI-PC > HAL? I'm running FreeBSD 5.4-STABLE on a abit KR7A(KT266A) motherboard. > I currently have APIC disabled in the bios, ACPI disabled at boot and I > feel like my system is snappier. Just wondering if there is any truth to > this. There should be no difference. The implementation of ACPI on some boards will block interrupts while the embedded controller is being polled. But yours is not a laptop so it doesn't have an EC. If you can enable fine grained profiling (config -g -g KERNELNAME) and then run gprof(8), perhaps you can see where the performance is going. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 00:52: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 D29DA16A41F for ; Wed, 28 Sep 2005 00:52:47 +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 789BB43D49 for ; Wed, 28 Sep 2005 00:52:47 +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 j8S0qjo5016796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 27 Sep 2005 17:52:46 -0700 Message-ID: <4339E954.6040603@root.org> Date: Tue, 27 Sep 2005 17:52:36 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pranav Peshwe References: <004401c5bb4f$27e31090$0201a8c0@pranav> In-Reply-To: <004401c5bb4f$27e31090$0201a8c0@pranav> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Implementing 'Software suspend in FreeBSD' as a final year project. 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, 28 Sep 2005 00:52:48 -0000 Pranav Peshwe wrote: > Thanks to the replies and the information > provided, we have finally decided to implement 'Software > Suspend(S4OS) on the FreeBSD Operating System' as our final > year project. > > We have worked with the linux kernel but not that much > with the FBSD one.So,currently we do not have much knowledge > about the FBSD kernel. > Can we get any pointers as to, where we should start > from ? and which kernel subsystems will be of particular importance > to us.Also, which version of FBSD should we preferably use ? > > Any links for reading would be of immense help.We currently have for > reference,the book 'The Design and Implementation of the FreeBSD(v5.2) > Operating System' - Marshall Kirk McKusick, George V. Neville-Neil I'm glad someone is taking a cut at this. It is a somewhat difficult task you are taking on so I hope you are prepared. 1. Read the suspend/resume sections (S4 in particular) of the ACPI spec: http://acpi.info 2. Review the source code and email list archives for Linux software suspend 2: http://www.suspend2.net There are two means of achieving this. S4 requires ACPI while software suspend does not. You should implement the latter first since it is useful on non-x86 platforms and without ACPI. S4 depends on a working software suspend anyway. First, your goal is to get the system suspended to an image on disk. One easy way to do this is to overload the kernel dump system to write the system image to swap. Relevant source is here: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/kern/kern_shutdown.c?rev=1.176 The dumpsys() function calls a device-specific callback to perform the actual dump (i.e. sys/dev/ata, addump()). The call is this: error = (*devsw(dumpdev)->d_dump)(dumpdev); This dump function has to run in polled mode with interrupts disabled. You need to add code to dump userspace as well as kernel space, otherwise resume is not very useful. Also, you need to call the root DEVICE_SUSPEND() routine so that all devices will save their state. After you can generate a full image, the next step is resuming. You should use a different signature in the header of the saved image than the one used for kernel core dumps. For testing purposes, you may want a separate swap partition enabled separately so you can still do core dumps to debug your suspend code. Next, update the loader(8) to look for this signature in the swap file and load it at the same place as it was saved. Then, jump into an exported disk_resume() routine that calls DEVICE_RESUME() and then continues running. I'm a little unclear of all the initialization that needs to occur but you at least have to set up protected mode and a few other things that normal init performs without doing the full boot process. The most likely bug you'll run into in all this is devices that don't behave well when resumed this way. For instance, I believe the apic device does different initialization in its startup routine versus its resume routine. To avoid problems, test on the most minimally configured system you can. This should be enough to get you started. Feel free to post progress reports and questions here. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 01:01:16 2005 Return-Path: X-Original-To: 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 7384B16A41F for ; Wed, 28 Sep 2005 01:01:16 +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 20D1B43D48 for ; Wed, 28 Sep 2005 01:01:16 +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 j8S11Jo5016980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 27 Sep 2005 18:01:20 -0700 Message-ID: <4339EB56.2040503@root.org> Date: Tue, 27 Sep 2005 18:01:10 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Maximov References: <4330020C.5030302@mcsi.pp.ru> <20050920135958.GA1616@poupinou.org> <433016F8.903@mcsi.pp.ru> <20050920145932.GB1616@poupinou.org> <4332505A.5050201@mcsi.pp.ru> In-Reply-To: <4332505A.5050201@mcsi.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: acpi@freebsd.org Subject: Re: Hard hang with powerd 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, 28 Sep 2005 01:01:16 -0000 Maxim Maximov wrote: > Bruno Ducrot wrote: > >> On Tue, Sep 20, 2005 at 06:04:40PM +0400, Maxim Maximov wrote: >> >>> Bruno Ducrot wrote: >>>> The 2 logical CPUs need to set the same MSRs at the same time, >>>> but if the second one is forced to be idle, I'm not sure if p4tcc will >>>> work fine. >>>> >>>> Therefore, I'm wondering if this hard hang happens with a SMP kernel >>>> and hyperthreading is enabled, or if this happens with a UP kernel. >>> >>> Yes, kernel is SMP one. >>> >>> # sysctl machdep.hyperthreading_allowed >>> machdep.hyperthreading_allowed: 1 >>> >> >> It's weird. Could you please try with a kernel without SMP for >> testing purpose? >> > > It's fine. Now I'm running UP kernel with 'powerd -v' Maxim, can you try some debugging things to figure out where the hang is happening? First, add printfs of 1, 2, 3, 4, etc. throughout sys/i386/cpufreq/p4tcc.c in p4tcc_set(). Then recompile the SMP kernel and boot single user (to save an fsck) and change some settings via sysctl dev.cpu.0.freq=xxx until you can get a hang. See what numbers were printed and where it hung. It should go through all the numbers twice when there is no hang since we set a value on cpu0 and cpu1. Also, see if you can break to the debugger (ctrl-alt-esc) from console when it is hung. I'm guessing no. -- Nate From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 06:33:38 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 7323616A41F for ; Wed, 28 Sep 2005 06:33:38 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C55B43D48 for ; Wed, 28 Sep 2005 06:33:37 +0000 (GMT) (envelope-from pranavpeshwe@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so191403nzk for ; Tue, 27 Sep 2005 23:33:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:reply-to:from:to:cc:subject:date:mime-version:content-type:content-transfer-encoding:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=CjVMDSglSNwMRxqPt+DPbvxZF1XY5uEIGMoxvOZ04Fx5lUdHh7MOTLvADQfQPD0kpluPVs0Ho3817ZF7As6Ks7TmutQVtXrpMrLh9zPc6tnEwUJWOYmzu5bdom3QSm+YraDKimUBAD2gmjYRgf5Y2AQ57MoOl3sXR/KwwysA3qo= Received: by 10.36.39.15 with SMTP id m15mr3535296nzm; Tue, 27 Sep 2005 23:33:37 -0700 (PDT) Received: from theone ( [59.95.0.141]) by mx.gmail.com with ESMTP id 19sm4255nzp.2005.09.27.23.33.34; Tue, 27 Sep 2005 23:33:36 -0700 (PDT) Message-ID: <038101c5c3f8$38450400$fefefe0a@theone> From: "Pranav Peshwe" To: "Nate Lawson" Date: Wed, 28 Sep 2005 12:15:26 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Cc: freebsd-acpi@freebsd.org Subject: Re: Implementing 'Software suspend in FreeBSD' as a final year project. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pranav Peshwe List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 06:33:38 -0000 Hello, >1. Read the suspend/resume sections (S4 in particular) of the ACPI spec: > http://acpi.info We have downloaded the ACPI spec and will start reading it soon. >2. Review the source code and email list archives for Linux software >suspend 2: http://www.suspend2.net Went through the patch and found some useful documentation of how they have actually implemented suspend2. To get an atomic copy of the pages,they have divided the pages into two 'pagesets',which are dumped to the disk one after the other, rather than simply writing entire memory contents to the disk page after page. >This should be enough to get you started. Feel free to post progress >reports and questions here. We certainly will :) Sincere regards, Pranav --------------------------------------------------------------------------- "Time is what keeps everything from happening all at once." -- John Wheeler From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 07:02:05 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 DC82C16A41F for ; Wed, 28 Sep 2005 07:02:05 +0000 (GMT) (envelope-from larrypatrickmaloney@yahoo.com) Received: from web60311.mail.yahoo.com (web60311.mail.yahoo.com [209.73.178.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 61A8743D48 for ; Wed, 28 Sep 2005 07:02:05 +0000 (GMT) (envelope-from larrypatrickmaloney@yahoo.com) Received: (qmail 99004 invoked by uid 60001); 28 Sep 2005 07:02:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ByqdkQEvm9l+U34pKZ0WFIx9HE1SCMA7OlZCtLxqJMTmdvucqr5z6m778hTFI/t9VhQkli1Y0hsNj/jdg6hmYiGL1Gx3lQLJ0nmhNSrVuDeIwiigynshCbT0bQ/Xx6nVCXm7kDdhMa60KW9jamMxdYcI5CG2aJDf8L1kXesy+5s= ; Message-ID: <20050928070204.99002.qmail@web60311.mail.yahoo.com> Received: from [24.6.170.185] by web60311.mail.yahoo.com via HTTP; Wed, 28 Sep 2005 00:02:04 PDT Date: Wed, 28 Sep 2005 00:02:04 -0700 (PDT) From: Larry Maloney To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: S4 & Partitions X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: larrypatrickmaloney@yahoo.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 07:02:06 -0000 I was hoping to implement ACPI S4 on my workstation. I have read through the mailing list, and I am confused as to the requirments for S4. Do I need a partition designated to dump my memory for S4 to resume? My system is a VIA C3 based system, and is a workstation, not a laptop. acpiconfig shows that I can do S1,S4 and S5. When I execute apiconfig -s S4 (or S4OS or S4BIOS) the system appears to write something to disk, then shutsdown just fine. However, when I restart, the system does a normal boot up sequence. I haven't created a parition, and I haven't seen any instructions in the FreeBSD that said I should create a partition. May I should just look at the acpiconf code.... :) I guess most people who use acpi are laptop users, and the mailing list threads seem to be from laptop users who have pre-configured disk partitions from the laptop manufacturer. So, back to the question, is it mandatory or not to have a dedication resume partition defined on my disk? Thank you. Larry P. Maloney __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 09:32:06 2005 Return-Path: X-Original-To: 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 AE81916A41F; Wed, 28 Sep 2005 09:32:06 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12AE343D58; Wed, 28 Sep 2005 09:32:05 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EKVu7-0000Ku-Sm; Wed, 28 Sep 2005 10:58:59 +0400 From: Vladimir Grebenschikov To: Nate Lawson In-Reply-To: <4339D724.3020102@root.org> References: <1127801205.1268.9.camel@localhost> <4339D724.3020102@root.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 28 Sep 2005 10:58:58 +0400 Message-Id: <1127890738.1220.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@freebsd.org, current Subject: Re: Invalid detection CPU frequency ? 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, 28 Sep 2005 09:32:06 -0000 =F7 =D7=D4, 27/09/2005 =D7 16:35 -0700, Nate Lawson =D0=C9=DB=C5=D4: > Vladimir Grebenschikov wrote: > > It looks strange but sometimes my notebook start on full-speed (1.7GHz) > > and sysctls output looks like: > >=20 > > dev.cpu.0.freq: 1687 > > dev.cpu.0.freq_levels: 1687/-1 1476/-1 1265/-1 1054/-1 843/-1 632/-1 42= 1/-1 210/-1 > > dev.acpi_throttle.0.%desc: ACPI CPU Throttling > >=20 > > And sometimes it starts on low speed (~500 Mhz) > > dev.cpu.0.freq: 595 > > dev.cpu.0.freq_levels: 595/-1 520/-1 446/-1 371/-1 297/-1 223/-1 148/-1= 74/-1 > > dev.acpi_throttle.0.%desc: ACPI CPU Throttling >=20 > > And speed can't be raised by powerd or other. > > Looks like it happens when notebook stats or shutdowns on batteries. > > Rebooting on AC power cures situation. But anyway - I do not think it i= s normal. > >=20 > > Any suggestions ?=20 >=20 > It's very simple. You have an old notebook that only supports=20 > throttling, not SpeedStep or other options. Your BIOS sets the initial=20 > speed based on AC line status on boot. If you look at your CPU=20 > announcement at the top of dmesg, it will show 595 Mhz or whatever since=20 > it uses a simple calibration loop. >=20 > I might consider always setting 100% in the attach routine for=20 > acpi_throttle and p4tcc to get proper probe values. You'll still have a=20 > problem if you use the TSC timecounter since it's only calibrated at boot= . Nate, thanks for explanation, is loading cpufreq.ko from loader is good solution ? Or I will still have TSC problems ?=20 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 09:32:08 2005 Return-Path: X-Original-To: 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 33B9616A420; Wed, 28 Sep 2005 09:32:08 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B53F843D55; Wed, 28 Sep 2005 09:32:07 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EKVsQ-0000Kq-Uy; Wed, 28 Sep 2005 10:57:14 +0400 From: Vladimir Grebenschikov To: Hajimu UMEMOTO In-Reply-To: References: <1127801205.1268.9.camel@localhost> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 28 Sep 2005 10:57:13 +0400 Message-Id: <1127890633.1220.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@FreeBSD.org, current Subject: Re: Invalid detection CPU frequency ? 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, 28 Sep 2005 09:32:08 -0000 =F7 =D7=D4, 27/09/2005 =D7 15:27 +0900, Hajimu UMEMOTO =D0=C9=DB=C5=D4: > Hi, >=20 > >>>>> On Tue, 27 Sep 2005 10:06:45 +0400 > >>>>> Vladimir Grebenschikov said: >=20 > vova> And speed can't be raised by powerd or other. > vova> Looks like it happens when notebook stats or shutdowns on batteries= . > vova> Rebooting on AC power cures situation. But anyway - I do not think = it is normal. >=20 > I met this, too. Putting cpufreq_load=3D"YES" into your > /boot/loader.conf should solve your problem. Thank you, it really helps, now after boot I always get valid 1.7Ghz as high possible CPU speed. but sysctl picture changed: now I have: % sysctl dev.cpufreq dev.cpu dev.p4tcc dev.acpi_throttle dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=3D\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1487 dev.cpu.0.freq_levels: 1700/-1 1487/-1 1400/-1 1225/-1 1200/-1 1050/-1 1000= /-1 875/-1 800/-1 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 7= 5/-1 dev.p4tcc.0.%desc: CPU Frequency Thermal Control dev.p4tcc.0.%driver: p4tcc dev.p4tcc.0.%parent: cpu0 dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1= 2500/-1 1250/-1 sysctl: unknown oid 'dev.acpi_throttle' % so I've lost dev.acpi_throttle and got dev.p4tcc. Is it right ? powerd still works as expected. > Sincerely, --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 09:45:37 2005 Return-Path: X-Original-To: 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 75B6B16A41F; Wed, 28 Sep 2005 09:45:37 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F91143D49; Wed, 28 Sep 2005 09:45:36 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=marcin) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1EKYUs-0005Am-Fm; Wed, 28 Sep 2005 11:45:08 +0200 Date: Wed, 28 Sep 2005 11:45:32 +0200 From: Marcin Jessa To: Vladimir Grebenschikov Message-Id: <20050928114532.6ab80f6b.lists@yazzy.org> In-Reply-To: <1127890738.1220.5.camel@localhost> References: <1127801205.1268.9.camel@localhost> <4339D724.3020102@root.org> <1127890738.1220.5.camel@localhost> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.8 (-) Cc: acpi@freebsd.org, current@freebsd.org Subject: Re: Invalid detection CPU frequency ? 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, 28 Sep 2005 09:45:37 -0000 On Wed, 28 Sep 2005 10:58:58 +0400 Vladimir Grebenschikov wrote: > Ð’ вт, 27/09/2005 в 16:35 -0700, Nate Lawson пишет: > > Vladimir Grebenschikov wrote: > > > It looks strange but sometimes my notebook start on full-speed > > > (1.7GHz) and sysctls output looks like: > > > > > > dev.cpu.0.freq: 1687 > > > dev.cpu.0.freq_levels: 1687/-1 1476/-1 1265/-1 1054/-1 843/-1 > > > 632/-1 421/-1 210/-1 dev.acpi_throttle.0.%desc: ACPI CPU > > > Throttling > > > > > > And sometimes it starts on low speed (~500 Mhz) > > > dev.cpu.0.freq: 595 > > > dev.cpu.0.freq_levels: 595/-1 520/-1 446/-1 371/-1 297/-1 223/-1 > > > 148/-1 74/-1 dev.acpi_throttle.0.%desc: ACPI CPU Throttling > > > > > And speed can't be raised by powerd or other. > > > Looks like it happens when notebook stats or shutdowns on > > > batteries. Rebooting on AC power cures situation. But anyway - I > > > do not think it is normal. > > > > > > Any suggestions ? > > > > It's very simple. You have an old notebook that only supports > > throttling, not SpeedStep or other options. Your BIOS sets the > > initial speed based on AC line status on boot. If you look at your > > CPU announcement at the top of dmesg, it will show 595 Mhz or > > whatever since it uses a simple calibration loop. > > > > I might consider always setting 100% in the attach routine for > > acpi_throttle and p4tcc to get proper probe values. You'll still > > have a problem if you use the TSC timecounter since it's only > > calibrated at boot. > > Nate, thanks for explanation, is loading cpufreq.ko from loader is > good solution ? Or I will still have TSC problems ? I compiled it into my kernel which works fine on thinkpad R50e device cpufreq #CPU frequency control framework My entire setup can be found on: http://www.yazzy.org/configs/freebsd/thinkpad/ Cheers, Cheers, Marcin From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 10:00: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 732E816A41F; Wed, 28 Sep 2005 10:00:58 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from nibbel.kulnet.kuleuven.ac.be (nibbel.kulnet.kuleuven.ac.be [134.58.240.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 007A643D55; Wed, 28 Sep 2005 10:00:57 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id EB28D4C0E0; Wed, 28 Sep 2005 12:00:55 +0200 (CEST) Received: from smtp01.kuleuven.be (octavianus.kulnet.kuleuven.ac.be [134.58.240.71]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 11FCB4C10A; Wed, 28 Sep 2005 12:00:55 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.42.180]) by smtp01.kuleuven.be (Postfix) with ESMTP id A002C63D76; Wed, 28 Sep 2005 12:00:51 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.4/8.13.3) with ESMTP id j8SA0oe3001385; Wed, 28 Sep 2005 12:00:51 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-acpi@freebsd.org Date: Wed, 28 Sep 2005 12:00:49 +0200 User-Agent: KMail/1.8.2 References: <1127801205.1268.9.camel@localhost> <1127890633.1220.3.camel@localhost> In-Reply-To: <1127890633.1220.3.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200509281200.50426.tijl@ulyssis.org> X-Virus-Scanned: by KULeuven Antivirus Cluster Cc: Vladimir Grebenschikov , freebsd-current@freebsd.org Subject: Re: Invalid detection CPU frequency ? 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, 28 Sep 2005 10:00:58 -0000 On Wednesday 28 September 2005 08:57, Vladimir Grebenschikov wrote: > =F7 =D7=D4, 27/09/2005 =D7 15:27 +0900, Hajimu UMEMOTO =D0=C9=DB=C5=D4: > > > I met this, too. Putting cpufreq_load=3D"YES" into your > > /boot/loader.conf should solve your problem. > > Thank you, it really helps, now after boot I always get valid 1.7Ghz > as high possible CPU speed. > > but sysctl picture changed: > now I have: > % sysctl dev.cpufreq dev.cpu dev.p4tcc dev.acpi_throttle > dev.cpufreq.0.%driver: cpufreq > dev.cpufreq.0.%parent: cpu0 > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=3D\_PR_.CPU0 > dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: 1487 > dev.cpu.0.freq_levels: 1700/-1 1487/-1 1400/-1 1225/-1 1200/-1 > 1050/-1 1000/-1 875/-1 800/-1 700/-1 600/-1 525/-1 450/-1 375/-1 > 300/-1 225/-1 150/-1 75/-1 dev.p4tcc.0.%desc: CPU Frequency Thermal > Control > dev.p4tcc.0.%driver: p4tcc > dev.p4tcc.0.%parent: cpu0 > dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > 3750/-1 2500/-1 1250/-1 sysctl: unknown oid 'dev.acpi_throttle' > % > > so I've lost dev.acpi_throttle and got dev.p4tcc. Is it right ? Yes, and it looks like you also gained dev.est. From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 10:08:45 2005 Return-Path: X-Original-To: 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 7537016A41F for ; Wed, 28 Sep 2005 10:08:45 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EA2E43D53 for ; Wed, 28 Sep 2005 10:08:44 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EKYrf-0000No-W7; Wed, 28 Sep 2005 14:08:39 +0400 From: Vladimir Grebenschikov To: Tijl Coosemans In-Reply-To: <200509281200.50426.tijl@ulyssis.org> References: <1127801205.1268.9.camel@localhost> <1127890633.1220.3.camel@localhost> <200509281200.50426.tijl@ulyssis.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 28 Sep 2005 14:08:38 +0400 Message-Id: <1127902118.1288.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@freebsd.org Subject: Re: Invalid detection CPU frequency ? 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, 28 Sep 2005 10:08:45 -0000 =F7 =D3=D2, 28/09/2005 =D7 12:00 +0200, Tijl Coosemans =D0=C9=DB=C5=D4: > On Wednesday 28 September 2005 08:57, Vladimir Grebenschikov wrote: > > =F7 =D7=D4, 27/09/2005 =D7 15:27 +0900, Hajimu UMEMOTO =D0=C9=DB=C5=D4: > > > > > I met this, too. Putting cpufreq_load=3D"YES" into your > > > /boot/loader.conf should solve your problem. > > > > Thank you, it really helps, now after boot I always get valid 1.7Ghz > > as high possible CPU speed. > > > > but sysctl picture changed: > > now I have: > > % sysctl dev.cpufreq dev.cpu dev.p4tcc dev.acpi_throttle > > dev.cpufreq.0.%driver: cpufreq > > dev.cpufreq.0.%parent: cpu0 > > dev.cpu.0.%desc: ACPI CPU > > dev.cpu.0.%driver: cpu > > dev.cpu.0.%location: handle=3D\_PR_.CPU0 > > dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 > > dev.cpu.0.%parent: acpi0 > > dev.cpu.0.freq: 1487 > > dev.cpu.0.freq_levels: 1700/-1 1487/-1 1400/-1 1225/-1 1200/-1 > > 1050/-1 1000/-1 875/-1 800/-1 700/-1 600/-1 525/-1 450/-1 375/-1 > > 300/-1 225/-1 150/-1 75/-1 dev.p4tcc.0.%desc: CPU Frequency Thermal > > Control > > dev.p4tcc.0.%driver: p4tcc > > dev.p4tcc.0.%parent: cpu0 > > dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 > > 3750/-1 2500/-1 1250/-1 sysctl: unknown oid 'dev.acpi_throttle' > > % > > > > so I've lost dev.acpi_throttle and got dev.p4tcc. Is it right ? >=20 > Yes, and it looks like you also gained dev.est. Sure, dev.est.0.%desc: Enhanced SpeedStep Frequency Control dev.est.0.%driver: est dev.est.0.%parent: cpu0 dev.est.0.freq_settings: 1700/-1 1400/-1 1200/-1 1000/-1 800/-1 600/-1 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@swsoft.com From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 12:22: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 D6AD916A41F for ; Wed, 28 Sep 2005 12:22:54 +0000 (GMT) (envelope-from bmiele@ipnstock.com) Received: from ms-smtp-03.nyroc.rr.com (ms-smtp-03.nyroc.rr.com [24.24.2.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5230343D5F for ; Wed, 28 Sep 2005 12:22:53 +0000 (GMT) (envelope-from bmiele@ipnstock.com) Received: from [192.168.0.2] (cpe-72-224-239-165.maine.res.rr.com [72.224.239.165]) by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id j8SCMo7a028725 for ; Wed, 28 Sep 2005 08:22:50 -0400 (EDT) Date: Wed, 28 Sep 2005 08:22:49 -0400 (EDT) From: Brad Miele To: freebsd-acpi@freebsd.org Message-ID: <20050928080217.S5989@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Thermal issues when on battery 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, 28 Sep 2005 12:22:55 -0000 Hi, I recently had the mainboard on my HP NC6230 replaced under warrantee for a no-post issue. Since it has been returned, the machine throws an error of temperature too high and shuts down moments after it is unplugged and under battery power. It runs continuously with no problems when plugged in. I have never had to adjust the acpi stuff before, and have gone so far as to dump the asl for my system, I assume that I have to change something in there and override it at boot? The HP tech report on the new mainboard states that the bios is current, I may double check that today. Any advice would be appreciated. I have attached dmesg, and systctl hw.acpi below. this is the syslog from when i remove the ac adapter: Sep 27 07:19:51 payswan kernel: cpu0: Cx states changed Sep 27 07:19:51 payswan power_profile: changed to 'economy' Sep 27 07:20:11 payswan root: WARNING: system temperature too high, shutting down soon! Sep 27 07:20:21 payswan kernel: acpi_tz2: WARNING - current temperature (149.4C) exceeds safe limits Sep 27 07:20:22 payswan syslogd: exiting on signal 15 thanks, Brad ------------------------------------------------------------ Brad Miele Technology Director IPNStock (866) 476-7862 x902 bmiele@ipnstock.com -dmesg 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 5.4-STABLE #0: Tue Sep 6 19:21:39 EDT 2005 brad@payswan.miggles.com:/usr/obj/usr/src/sys/PAYSWAN ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.86GHz (1862.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff real memory = 536674304 (511 MB) avail memory = 515493888 (491 MB) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 ACPI-1304: *** Error: Method execution failed [\\_PR_.C000.C273] (Node 0xc19c5060), AE_AML_PACKAGE_LIMIT ACPI-1304: *** Error: Method execution failed [\\_PR_.C000._PSS] (Node 0xc19c2d60), AE_AML_PACKAGE_LIMIT acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci16: on pcib2 bge0: mem 0xc8000000-0xc800ffff irq 16 at device 0.0 on pci16 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:12:79:c2:dd:30 pcib3: at device 28.1 on pci0 pci32: on pcib3 uhci0: port 0x3000-0x301f irq 20 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x3020-0x303f irq 17 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x3040-0x305f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib4: at device 30.0 on pci0 pci2: on pcib4 iwi0: mem 0xc8400000-0xc8400fff irq 21 at device 4.0 on pci2 iwi0: Ethernet address: 00:0e:35:ed:01:d5 iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps cbb0: mem 0xc8401000-0xc8401fff irq 18 at device 6.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pci2: at device 6.3 (no driver attached) pci2: at device 6.4 (no driver attached) pci2: at device 6.5 (no driver attached) pcm0: port 0x3200-0x323f,0x3100-0x31ff mem 0xc8c02000-0xc8c020ff,0xc8c01000-0xc8c011ff irq 21 at device 30.2 on pci0 pcm0: pci0: at device 30.3 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x3580-0x358f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 16 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 acpi_cmbat0: on acpi0 acpi_cmbat1: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 sio0: port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: port 0x100-0x10f,0x3e8-0x3ef irq 3 drq 3 on acpi0 sio1: type 16550A ppc0: port 0x778-0x77a,0x378-0x37f irq 7 drq 1 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc0000-0xcffff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ugen0: Broadcom HP integrated Bluetooth module, rev 1.10/0.06, addr 2 Timecounter "TSC" frequency 1862009600 Hz quality 800 Timecounters tick every 10.000 msec ad0: 57231MB [116280/16/63] at ata0-master UDMA100 acd0: CDRW at ata0-slave PIO4 Mounting root from ufs:/dev/ad0s2a - sysctl hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 hw.acpi.lid_switch_state: NONE hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 1 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_supported: C1/1 C2/2 C3/38 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% 0.00% hw.acpi.battery.life: 97 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 2 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 53.0C hw.acpi.thermal.tz0.active: 3 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 100.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 105.0C hw.acpi.thermal.tz0._ACx: 80.0C 70.0C 58.0C 35.0C -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 57.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: -1 hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 115.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz2.temperature: 26.2C hw.acpi.thermal.tz2.active: -1 hw.acpi.thermal.tz2.thermal_flags: 0 hw.acpi.thermal.tz2._PSV: 60.0C hw.acpi.thermal.tz2._HOT: -1 hw.acpi.thermal.tz2._CRT: 105.0C hw.acpi.thermal.tz2._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 14:51: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 B4C8716A41F for ; Wed, 28 Sep 2005 14:51:53 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from ns.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id C684943D48 for ; Wed, 28 Sep 2005 14:51:48 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from init-main.com (localhost [127.0.0.1]) by ns.init-main.com (8.13.3/8.13.1) with ESMTP id j8SEohr0064917; Wed, 28 Sep 2005 23:50:48 +0900 (JST) (envelope-from takawata@init-main.com) Message-Id: <200509281450.j8SEohr0064917@ns.init-main.com> To: Brad Miele From: takawata@jp.frebsd.org In-reply-to: Your message of "Wed, 28 Sep 2005 08:22:49 -0400." <20050928080217.S5989@localhost> Date: Wed, 28 Sep 2005 23:50:43 +0900 Sender: takawata@init-main.com Cc: freebsd-acpi@freebsd.org Subject: Re: Thermal issues when on battery 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, 28 Sep 2005 14:51:53 -0000 In message <20050928080217.S5989@localhost>, Brad Miele $B$5$s$$$o$/(B: >Hi, > >I recently had the mainboard on my HP NC6230 replaced under warrantee for >a no-post issue. Since it has been returned, the machine throws an error >of temperature too high and shuts down moments after it is unplugged and >under battery power. It runs continuously with no problems when >plugged in. I have never had to adjust the acpi stuff before, and >have gone so far as to dump the asl for my system, I assume that I have to >change something in there and override it at boot? The HP tech report on >the new mainboard states that the bios is current, I may double check that >today. > >Any advice would be appreciated. I have attached dmesg, and systctl >hw.acpi below. > >this is the syslog from when i remove the ac adapter: > >Sep 27 07:19:51 payswan kernel: cpu0: Cx states changed >Sep 27 07:19:51 payswan power_profile: changed to 'economy' >Sep 27 07:20:11 payswan root: WARNING: system temperature too high, >shutting down soon! >Sep 27 07:20:21 payswan kernel: acpi_tz2: WARNING - current temperature >(149.4C) exceeds safe limits >Sep 27 07:20:22 payswan syslogd: exiting on signal 15 > >thanks, > >Brad Would you show us acpidump -t -d result, too? TZ2 seems to have gone invalid state. There may be some notify to tell the thermal zone detached or so. From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 15:53: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 7012F16A41F for ; Wed, 28 Sep 2005 15:53:03 +0000 (GMT) (envelope-from bmiele@ipnstock.com) Received: from ms-smtp-03.nyroc.rr.com (ms-smtp-03.nyroc.rr.com [24.24.2.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE6E43D4C for ; Wed, 28 Sep 2005 15:53:01 +0000 (GMT) (envelope-from bmiele@ipnstock.com) Received: from [192.168.0.2] (cpe-72-224-239-165.maine.res.rr.com [72.224.239.165]) by ms-smtp-03.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id j8SFqh7a023951; Wed, 28 Sep 2005 11:52:44 -0400 (EDT) Date: Wed, 28 Sep 2005 11:52:43 -0400 (EDT) From: Brad Miele To: takawata@jp.frebsd.org In-Reply-To: <200509281450.j8SEohr0064917@ns.init-main.com> Message-ID: <20050928115111.B702@localhost> References: <200509281450.j8SEohr0064917@ns.init-main.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-912269244-1127922763=:702" X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Mailman-Approved-At: Wed, 28 Sep 2005 09:26:46 -0700 Cc: freebsd-acpi@freebsd.org Subject: Re: Thermal issues when on battery 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, 28 Sep 2005 15:53:03 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-912269244-1127922763=:702 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE sure, here is the dump. thanks for the help. /* RSD PTR: OEM=3DHP, ACPI_Rev=3D1.0x (0) =09RSDT=3D0x1ffefc84, cksum=3D44 */ /* RSDT: Length=3D52, Revision=3D1, Checksum=3D240, =09OEMID=3DHP, OEM Table ID=3D0944, OEM Revision=3D0x22070520, =09Creator ID=3DHP, Creator Revision=3D0x1 =09Entries=3D{ 0x1ffefc00, 0x1ffefcb8, 0x1ffefd14, 0x1fff7d5b } */ /* FACP: Length=3D132, Revision=3D2, Checksum=3D42, =09OEMID=3DHP, OEM Table ID=3D0944, OEM Revision=3D0x2, =09Creator ID=3DHP, Creator Revision=3D0x1 =09FACS=3D0x1fffae80, DSDT=3D0x1ffefd50 =09INT_MODEL=3DPIC =09Preferred_PM_Profile=3DUnspecified (0) =09SCI_INT=3D9 =09SMI_CMD=3D0xb2, ACPI_ENABLE=3D0xf1, ACPI_DISABLE=3D0xf0, S4BIOS_REQ=3D0= xf2 =09PSTATE_CNT=3D0x80 =09PM1a_EVT_BLK=3D0x1000-0x1003 =09PM1a_CNT_BLK=3D0x1004-0x1005 =09PM2_CNT_BLK=3D0x1020-0x1020 =09PM_TMR_BLK=3D0x1008-0x100b =09GPE0_BLK=3D0x1028-0x102f =09P_LVL2_LAT=3D2 us, P_LVL3_LAT=3D138 us =09FLUSH_SIZE=3D0, FLUSH_STRIDE=3D0 =09DUTY_OFFSET=3D1, DUTY_WIDTH=3D3 =09DAY_ALRM=3D13, MON_ALRM=3D0, CENTURY=3D50 =09IAPC_BOOT_ARCH=3D{LEGACY_DEV,8042} =09Flags=3D{WBINVD,PROC_C1,SLP_BUTTON,RTC_S4} */ /* FACS:=09Length=3D64, HwSig=3D0x00000000, Firm_Wake_Vec=3D0x00000000 =09Global_Lock=3D =09Flags=3DS4BIOS =09Version=3D0 */ /* DSDT: Length=3D32779, Revision=3D1, Checksum=3D197, =09OEMID=3DHP, OEM Table ID=3Dnc6200, OEM Revision=3D0x10000, =09Creator ID=3DMSFT, Creator Revision=3D0x100000e */ /* APIC: Length=3D90, Revision=3D1, Checksum=3D86, =09OEMID=3DHP, OEM Table ID=3D0944, OEM Revision=3D0x1, =09Creator ID=3DHP, Creator Revision=3D0x1 =09Local APIC ADDR=3D0xfec01000 =09Flags=3D{PC-AT} =09Type=3DLocal APIC =09ACPI CPU=3D1 =09Flags=3D{ENABLED} =09APIC ID=3D0 =09Type=3DIO APIC =09APIC ID=3D1 =09INT BASE=3D0 =09ADDR=3D0x00000000fec00000 =09Type=3DINT Override =09BUS=3D0 =09IRQ=3D0 =09INTR=3D2 =09Flags=3D{Polarity=3Dconforming, Trigger=3Dconforming} =09Type=3DINT Override =09BUS=3D0 =09IRQ=3D9 =09INTR=3D9 =09Flags=3D{Polarity=3Dactive-hi, Trigger=3Dlevel} =09Type=3DLocal NMI =09ACPI CPU=3D1 =09LINT Pin=3D1 =09Flags=3D{Polarity=3Dactive-hi, Trigger=3Dedge} */ /* MCFG: Length=3D60, Revision=3D1, Checksum=3D132, =09OEMID=3DHP, OEM Table ID=3D0944, OEM Revision=3D0x1, =09Creator ID=3DHP, Creator Revision=3D0x1 */ /* SSDT: Length=3D881, Revision=3D1, Checksum=3D166, =09OEMID=3DHP, OEM Table ID=3DHPQPpc, OEM Revision=3D0x1001, =09Creator ID=3DMSFT, Creator Revision=3D0x100000e */ /* * Intel ACPI Component Architecture * AML Disassembler version 20041119 * * Disassembly of /tmp/acpidump.JVOScW, Wed Sep 28 11:52:16 2005 */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "HP ", "nc6200", 65536) { Processor (\_PR.C000, 0x01, 0x00001010, 0x06) { Name (C001, 0x00) Method (_CST, 0, NotSerialized) { Store (\_SB.C002.C003.C004.C005 (), Local0) If (LEqual (C001, 0x00)) { Store (0x01, C001) } If (LAnd (LEqual (Local0, 0x00), \_SB.C002.C006.C007.C008 ())) { Store (0x0400, \_SB.C002.C003.C009) XOr (\_SB.C002.C003.C009, \_SB.C002.C003.C00A, Local1) If (LEqual (And (Local1, 0x0400), 0x00)) { Store (0x01, Local0) } } Else { Store (0x01, Local0) } If (LAnd (And (\_SB.C00B, 0x80), LEqual (Local0, 0x00))) { Store (0x04, Index (C00C, 0x00)) Store (C00D, Index (C00C, 0x01)) Store (C00E, Index (C00C, 0x02)) Store (C00F, Index (C00C, 0x03)) Store (C010, Index (C00C, 0x04)) Return (C00C) } If (And (\_SB.C00B, 0x40)) { Store (0x03, Index (C011, 0x00)) Store (C00D, Index (C011, 0x01)) Store (C00E, Index (C011, 0x02)) Store (C00F, Index (C011, 0x03)) Return (C011) } Store (0x02, Index (C012, 0x00)) Store (C00D, Index (C012, 0x01)) Store (C00E, Index (C012, 0x02)) Return (C012) } Name (C00C, Package (0x05) {}) Name (C011, Package (0x04) {}) Name (C012, Package (0x03) {}) Name (C00D, Package (0x04) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, 0x01, 0x01, 0x03E8 }) Name (C00E, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001014) }, 0x02, 0x02, 0x01F4 }) Name (C00F, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001015) }, 0x03, 0x26, 0xFA }) Name (C010, Package (0x04) { ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x0000000000001016) }, 0x03, 0x8A, 0x64 }) } Name (\C013, Package (0x10) { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F" }) Method (\C014, 2, NotSerialized) { Store (Arg0, Local0) Store ("", Local7) Store (Arg1, Local4) While (LGreater (Local4, 0x00)) { And (Local0, 0x0F, Local1) Store (DerefOf (Index (\C013, Local1)), Local2) Concatenate (Local2, Local7, Local3) Store (Local3, Local7) ShiftRight (Local0, 0x04, Local0) Decrement (Local4) } Return (Local7) } Method (\C015, 2, NotSerialized) { Store (SizeOf (Arg0), Local7) If (LNot (LEqual (Local7, SizeOf (Arg1)))) { Return (0x00) } Name (C016, Buffer (Local7) {}) Name (C017, Buffer (Local7) {}) Store (Arg0, C016) Store (Arg1, C017) Store (0x00, Local6) Store (0x01, Local0) While (LAnd (LNot (LEqual (Local6, Local7)), Local0)) { Store (DerefOf (Index (C016, Local6)), Local2) Store (DerefOf (Index (C017, Local6)), Local3) Increment (Local6) If (LNot (LEqual (Local2, Local3))) { Store (0x00, Local0) } } Return (Local0) } Name (C018, 0xFFFFFFFD) Name (C019, Package (0x03) { "Microsoft Windows", "Microsoft WindowsME: Millennium Edition", "Microsoft Windows NT" }) Method (C01A, 0, Serialized) { If (LEqual (C018, 0xFFFFFFFD)) { Store (\_OS, Local0) Store (SizeOf (C019), Local7) Store (0x00, Local1) While (LAnd (LLess (Local1, Local7), LEqual (C018, 0xFFFFFFFD)= )) { Store (\C015 (Local0, DerefOf (Index (C019, Local1))), Loc= al2) If (Local2) { Add (Local1, 0x01, C018) } Else { Increment (Local1) } } If (LEqual (C018, 0xFFFFFFFD)) { Store (0x00, C018) } If (LOr (LEqual (C018, 0x00), LEqual (C018, 0x03))) { If (CondRefOf (\_OSI, Local0)) { If (\_OSI ("Windows 2001")) { Store (0x04, C018) } } } Store (C018, \_SB.C01A) } Return (C018) } Method (\_SB._INI, 0, NotSerialized) { \C01A () } Method (C01C, 2, Serialized) { Store (SizeOf (Arg0), Local6) Store (SizeOf (Arg1), Local7) If (LEqual (Local6, 0x00)) { Store (Arg1, Local0) Return (Local0) } If (LEqual (Local7, 0x00)) { Store (Arg0, Local0) Return (Local0) } Add (Local7, Local6, Local1) Subtract (Local1, 0x02, Local1) Store (Buffer (Local1) {}, Local0) Store (0x00, Local1) While (LLess (Local1, SizeOf (Arg0))) { Store (DerefOf (Index (Arg0, Local1)), Index (Local0, Local1)) Increment (Local1) } Subtract (Local1, 0x02, Local1) Store (0x00, Local2) While (LLess (Local2, SizeOf (Arg1))) { Store (DerefOf (Index (Arg1, Local2)), Index (Local0, Local1)) Increment (Local1) Increment (Local2) } Return (Local0) } Scope (\_SB) { Device (C01D) { Name (_HID, EisaId ("PNP0C01")) Method (_CRS, 0, NotSerialized) { Name (C01E, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, 0x000A0000) Memory32Fixed (ReadOnly, 0x000F0000, 0x00100000) Memory32Fixed (ReadWrite, 0x00100000, 0x00F00000) }) CreateDWordField (C01E, 0x20, C021) CreateDWordField (C01E, 0x1C, C022) Subtract (\_SB.C023 (), C022, C021) CreateDWordField (C01E, 0x14, C024) CreateDWordField (C01E, 0x10, C025) Store (ShiftLeft (\_SB.C026, 0x04), C025) Subtract (C022, C025, C024) Return (C01E) } } Method (C023, 0, NotSerialized) { Store (C027, Local0) Return (Local0) } Method (C028, 0, NotSerialized) { Store (C029, Local0) Return (Local0) } Method (C02A, 0, NotSerialized) { Add (C029, 0x1098, Local0) Return (Local0) } Method (C02C, 0, NotSerialized) { Add (C028 (), 0x0002AEC0, Local0) Return (Local0) } OperationRegion (C02D, SystemMemory, 0x000F8000, 0x2C) Field (C02D, WordAcc, NoLock, Preserve) { C029, 32, C02E, 16 } OperationRegion (C02F, SystemMemory, C028, 0x1010) Field (C02F, AnyAcc, NoLock, Preserve) { C030, 32896 } OperationRegion (C031, SystemMemory, C02A, 0xD2) Field (C031, AnyAcc, NoLock, Preserve) { C032, 16, C033, 16, C034, 16, C035, 16, C036, 16, C037, 8, C038, 8, Offset (0x10), C039, 1544 } OperationRegion (C03A, SystemMemory, C02C, 0x0140) Field (C03A, AnyAcc, NoLock, Preserve) { C03B, 32, C03C, 4, C03D, 1, C01A, 4, C03E, 5, C03F, 1, C040, 1, C041, 2, C042, 1, C043, 1, C044, 1, C045, 1, C046, 10, C047, 32, C026, 16, C00B, 32, Offset (0x16), C048, 8, Offset (0x1A), C027, 32, C049, 8, C04A, 8, C04B, 8, C04C, 8, C04D, 8, C04E, 8, C04F, 48, Offset (0x68), C050, 32, C051, 32, C052, 32, C053, 32, Offset (0x8C), C054, 32 } Method (C056, 2, Serialized) { Store (Arg0, Local0) If (LEqual (Local0, 0x01)) { Store (\_SB.C047, Local1) Or (Local1, Arg1, Local1) Store (Local1, \_SB.C047) } Else { Store (\_SB.C047, Local1) Not (Arg1, Local2) And (Local1, Local2, Local1) Store (Local1, \_SB.C047) } } Device (C002) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, 0x030AD041) Name (_ADR, 0x00) Device (C057) { Name (_ADR, 0x00010000) Method (_STA, 0, NotSerialized) { Store (0x00, Local0) If (C058) { Store (0x0F, Local0) } Return (Local0) } } Device (C059) { Name (_ADR, 0x00020000) Method (_STA, 0, NotSerialized) { Store (0x00, Local0) If (C05A) { Store (0x0F, Local0) } Return (Local0) } } OperationRegion (C05B, PCI_Config, 0x54, 0x43) Field (C05B, AnyAcc, NoLock, Preserve) { , 1, C058, 1, , 1, C05A, 1, Offset (0x3D), C05C, 48 } Alias (C05C, \_SB.C05C) Scope (\_SB) { Name (C05D, Package (0x0C) { 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000, 0x4000 }) Method (C05E, 0, NotSerialized) { Acquire (C05F, 0xFFFF) If (LEqual (C060, 0xFFFFFFFD)) { Store (0x00, Local0) Store (Local0, C060) Store (Local0, Local2) Store (C05C, Local5) Store (DerefOf (Index (Local5, Local0)), Local1) Store (0x000C0000, Local4) Store (ShiftLeft (C026, 0x04), Local3) While (LAnd (LNot (LGreater (Local4, Local3)), LLe= ss (C060, 0x06))) { If (LEqual (And (Local1, 0x03), 0x00)) { If (LEqual (Local2, 0x00)) { Store (Local4, Index (C061, C060)) } Store (0x01, Local2) } Else { If (Local2) { Subtract (Local4, 0x01, Index (C062, C= 060)) Increment (C060) } Store (0x00, Local2) } If (LLess (Local4, Local3)) { Add (Local4, DerefOf (Index (C05D, Local0)= ), Local4) ShiftRight (Local1, 0x04, Local1) If (And (Local0, 0x01)) { Store (0x01, Local1) If (LLess (Local4, Local3)) { ShiftRight (Local0, 0x01, Local6) Increment (Local6) Store (DerefOf (Index (Local5, Loc= al6)), Local1) } } } Else { Increment (Local4) } Increment (Local0) } } Release (C05F) } } Method (_INI, 0, NotSerialized) { C05E () } Name (C063, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDe= code, 0x0000, 0x0000, 0x00FF, 0x0000, 0x0100) IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, E= ntireRange, 0x0000, 0x0000, 0x0CF7, 0x0000, 0x0CF8) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, E= ntireRange, 0x0000, 0x0D00, 0xFFFF, 0x0000, 0xF300) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFix= ed, Cacheable, ReadWrite, 0x00000000, 0x000A0000, 0x000BFFFF, 0x00000000, 0x00020000) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFix= ed, Cacheable, ReadWrite, 0x00000000, 0x00000000, 0xFEC00FFF, 0x00000000, 0x00000000) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFix= ed, Cacheable, ReadWrite, 0x00000000, 0xFEC02000, 0xFFFFFFFF, 0x00000000, 0x013FDFFF) }) Scope (\_SB) { Name (C061, Package (0x07) {}) Name (C062, Package (0x07) {}) Name (C060, 0xFFFFFFFD) Mutex (C05F, 0x00) } Method (C065, 4, NotSerialized) { Store (Arg1, Local2) Store (Arg3, Local4) Add (Local4, 0x1A, Local5) While (LLess (Local4, Local5)) { Store (DerefOf (Index (C063, Local4)), Index (Arg0, Lo= cal2)) Increment (Local4) Increment (Local2) } Store (Arg1, Local2) Add (Local2, 0x0A, Local2) CreateDWordField (Arg0, Local2, C066) Add (Local2, 0x04, Local2) CreateDWordField (Arg0, Local2, C067) Add (Local2, 0x08, Local2) CreateDWordField (Arg0, Local2, C068) Store (DerefOf (Index (C061, Arg2)), C066) Store (DerefOf (Index (C062, Arg2)), C067) Subtract (C067, C066, Local3) Add (Local3, 0x01, C068) Add (Local2, 0x04, Local2) Return (Local2) } Method (C069, 0, NotSerialized) { Acquire (C05F, 0xFFFF) Multiply (C060, 0x1A, Local1) Add (SizeOf (C063), Local1, Local2) Store (Buffer (Local2) {}, Local0) Store (0x00, Local1) Store (0x00, Local2) While (LLess (Local1, SizeOf (C063))) { Store (DerefOf (Index (C063, Local1)), Index (Local0, = Local2)) Increment (Local2) Increment (Local1) } Store (0x00, Local1) Subtract (Local2, 0x02, Local2) Subtract (Local2, 0x1A, Local3) While (LLess (Local1, C060)) { Store (C065 (Local0, Local2, Local1, Local3), Local2) Increment (Local1) } CreateWordField (Local0, Local2, C06A) Store (0x79, C06A) Release (C05F) Return (Local0) } Method (_CRS, 0, NotSerialized) { CreateDWordField (C063, 0x5C, C066) CreateDWordField (C063, 0x68, C068) CreateDWordField (C063, 0x60, C067) Store (C06B (), Local1) Store (Local1, C066) Subtract (C067, Local1, Local1) Add (Local1, 0x01, C068) Store (C069 (), Local2) Return (Local2) } Method (C06B, 0, Serialized) { Store (\_SB.C023 (), Local0) Return (Local0) } Name (_S3D, 0x02) Name (_S4D, 0x03) Device (C06C) { Name (_ADR, 0x001E0000) Name (_PRW, Package (0x02) { 0x0B, 0x05 }) OperationRegion (C06D, SystemMemory, 0xFED90000, 0x4000) Field (C06D, DWordAcc, NoLock, Preserve) { Offset (0x3418), C06E, 32 } Device (C06F) { Name (_ADR, 0x00080000) Method (_STA, 0, NotSerialized) { Return (C070 (0x80)) } } } Method (C070, 1, NotSerialized) { Store (0x0F, Local0) If (And (^C06C.C06E, Arg0)) { Store (0x00, Local0) } Return (Local0) } Device (C071) { Name (_ADR, 0x001E0002) Method (_STA, 0, NotSerialized) { Return (C070 (0x20)) } } Device (C072) { Name (_ADR, 0x001E0003) Method (_STA, 0, NotSerialized) { Return (C070 (0x40)) } } Device (C003) { Name (_ADR, 0x001F0000) OperationRegion (C073, PCI_Config, 0x60, 0xA0) Field (C073, AnyAcc, NoLock, Preserve) { C074, 8, C075, 8, C076, 8, C077, 8, Offset (0x08), C078, 8, C079, 8, C07A, 8, C07B, 8, Offset (0x20), C07C, 3, , 1, C07D, 3, Offset (0x21), C07E, 2, , 2, C07F, 1, Offset (0x22), C080, 1, C081, 1, C082, 1, C083, 1, Offset (0x24), C084, 16, Offset (0x28), C085, 16, Offset (0x40), , 7, C086, 1, Offset (0x58), C087, 32 } OperationRegion (C088, SystemIO, 0xB2, 0x01) Field (C088, AnyAcc, NoLock, Preserve) { C089, 8 } OperationRegion (C08A, SystemIO, 0x1000, 0x3C) Field (C08A, AnyAcc, NoLock, Preserve) { Offset (0x2A), C08B, 16, , 2, C08C, 1, Offset (0x30), C08D, 1, C08E, 1, , 2, C08F, 1, Offset (0x34), , 5, C090, 1, Offset (0x38), C091, 16, C009, 16 } OperationRegion (C092, SystemIO, 0x1060, 0x14) Field (C092, ByteAcc, NoLock, Preserve) { C093, 9, Offset (0x04), , 3, C094, 1, Offset (0x06), , 1, C095, 1, Offset (0x08), , 11, C096, 1, Offset (0x12), C097, 10 } OperationRegion (C098, SystemMemory, 0xFFBC0100, 0x01) Field (C098, ByteAcc, NoLock, Preserve) { C099, 5 } OperationRegion (C09A, SystemIO, 0x1100, 0x3C) Field (C09A, AnyAcc, NoLock, Preserve) { Offset (0x0C), C09B, 32, Offset (0x2C), C00A, 32, Offset (0x38), C09C, 16 } OperationRegion (C09D, SystemIO, 0x1200, 0x06) Field (C09D, ByteAcc, NoLock, Preserve) { C09E, 8, Offset (0x02), C09F, 8, C0A0, 8, C0A1, 8, C0A2, 8 } Method (C0A3, 3, Serialized) { Acquire (\_GL, 0xFFFF) Store (0x00, Local2) Store (0xFA, Local0) While (LAnd (And (C09E, 0x01), LGreater (Local0, 0x00)= )) { Stall (0x64) Decrement (Local0) } If (Local0) { Store (Arg1, C0A0) Store (Arg0, C0A1) If (LEqual (And (Arg0, 0x01), 0x00)) { Store (Arg2, C0A2) } Store (0xFF, C09E) Store (0x48, C09F) Store (0xFA, Local0) While (LAnd (LEqual (And (C09E, 0x1E), 0x00), LGre= ater (Local0, 0x00))) { Stall (0x64) Decrement (Local0) } And (C09E, 0x1C, Local1) Store (0xFF, C09E) If (LAnd (LEqual (Local1, 0x00), And (Arg0, 0x01))= ) { Store (C0A2, Local2) } } Else { Store (0x01, Local1) } Release (\_GL) If (And (Arg0, 0x01)) { ShiftLeft (Local1, 0x08, Local3) Or (Local3, Local2, Local1) } Return (Local1) } Name (C0A4, Package (0x08) { 0x03F8, 0x02F8, 0x0220, 0x0228, 0x0238, 0x02E8, 0x0338, 0x03E8 }) Name (C0A5, Package (0x03) { 0x0378, 0x0278, 0x03BC }) Method (C0A6, 3, NotSerialized) { Store (0x00, Local1) Store (Match (Arg0, MEQ, Arg1, MTR, 0x00, 0x00), Local= 0) If (LNot (LEqual (Local0, Ones))) { ShiftLeft (Local0, Arg2, Local1) } Return (Local1) } Method (C0A7, 2, Serialized) { If (LEqual (Arg0, 0x00)) { Store (0x00, C083) } Else { If (LEqual (Arg0, 0x01)) { Store (0x00, C082) } Else { If (LEqual (Arg0, 0x02)) { Store (0x00, C080) } Else { If (LEqual (Arg0, 0x03)) { Store (0x00, C081) And (C085, 0xFFFFFFFE, C085) } } } } } Method (C0A8, 3, Serialized) { If (LEqual (Arg0, 0x00)) { Store (0x00, Local0) If (LEqual (Arg1, 0x0370)) { Store (0x01, Local0) } Store (Local0, C07F) Store (0x01, C083) } Else { If (LEqual (Arg0, 0x01)) { Store (C0A6 (C0A5, Arg1, 0x00), C07E) Store (0x01, C082) } Else { If (LEqual (Arg0, 0x02)) { Store (C0A6 (C0A4, Arg1, 0x00), C07C) Store (0x01, C080) } Else { If (LEqual (Arg0, 0x03)) { Store (C0A6 (C0A4, Arg1, 0x00), C07D) Store (0x01, C081) Or (Arg2, 0x01, C085) } } } } } } Device (C0A9) { Name (_ADR, 0x001F0001) Method (_STA, 0, NotSerialized) { Return (C070 (0x02)) } OperationRegion (C0AA, PCI_Config, 0x40, 0x18) Field (C0AA, AnyAcc, NoLock, Preserve) { C0AB, 16, C0AC, 16, C0AD, 8, Offset (0x08), C0AE, 8, Offset (0x0A), C0AF, 16, Offset (0x14), C0B0, 32 } Method (C0B1, 2, Serialized) { If (LEqual (Arg0, 0x00)) { Store (C0AB, Local0) } Else { Store (C0AC, Local0) } If (LEqual (Arg1, 0x00)) { If (LEqual (And (Local0, 0x09), 0x00)) { Return (0x0384) } If (LEqual (And (Local0, 0x09), 0x08)) { Return (0x0384) } ShiftRight (And (Local0, 0x0300), 0x08, Local1) ShiftRight (And (Local0, 0x3000), 0x0C, Local2) Return (Multiply (0x1E, Subtract (0x09, Add (Local= 1, Local2)))) } Else { If (LEqual (And (Local0, 0x90), 0x00)) { Return (0x0384) } If (LEqual (And (Local0, 0x90), 0x80)) { Return (0x0384) } If (And (Local0, 0x4000)) { Store (C0AD, Local0) If (LEqual (Arg0, 0x01)) { ShiftRight (Local0, 0x04, Local0) } Return (Multiply (0x1E, Subtract (0x09, Add (A= nd (ShiftRight (Local0, 0x02), 0x03), And (Local0, 0x03))))) } Else { ShiftRight (And (Local0, 0x0300), 0x08, Local1= ) ShiftRight (And (Local0, 0x3000), 0x0C, Local2= ) Return (Multiply (0x1E, Subtract (0x09, Add (L= ocal1, Local2)))) } } } Name (C0B2, Buffer (0x05) { 0x70, 0x49, 0x36, 0x27, 0x19 }) Method (C0B3, 2, Serialized) { ShiftLeft (0x01, Add (Multiply (Arg0, 0x02), Arg1), Lo= cal0) If (And (C0AE, Local0)) { Store (C0B0, Local1) If (And (ShiftRight (Local1, 0x0C), Local0)) { Return (0x11) } Store (And (ShiftRight (C0AF, Add (Multiply (Arg0,= 0x08), Multiply (Arg1, 0x04))), 0x03), Local2) If (And (Local1, Local0)) { Add (Local2, 0x02, Local2) } Return (DerefOf (Index (C0B2, Local2))) } Return (0xFFFFFFFF) } Method (C0B4, 1, Serialized) { If (LEqual (Arg0, 0x00)) { Store (C0AB, Local0) } Else { Store (C0AC, Local0) } Store (ShiftRight (C0AE, Multiply (0x02, Arg0)), Local= 1) Store (0x00, Local3) If (And (Local1, 0x01)) { Or (Local3, 0x01, Local3) } If (And (Local1, 0x02)) { Or (Local3, 0x04, Local3) } If (And (Local0, 0x02)) { Or (Local3, 0x02, Local3) } If (And (Local0, 0x20)) { Or (Local3, 0x08, Local3) } Or (Local3, 0x10, Local3) Return (Local3) } Method (C0B5, 5, Serialized) { CreateWordField (Arg4, 0x02, C0B6) CreateWordField (Arg4, 0x04, C0B7) CreateWordField (Arg4, 0x08, C0B8) Store (0x0C, Local0) Store (0x00, Local1) Store (0x00, Local2) Store (0x01, Local5) If (LAnd (And (Arg3, ShiftLeft (0x02, Multiply (Arg1, = 0x02))), And (C0B6, 0x0800))) { Or (Local0, 0x02, Local0) Store (0x08, Local5) } If (LAnd (LNot (LGreater (Arg2, 0xF0)), And (C0B7, 0x0= 2))) { Or (And (Local0, 0xFFFFFFF7), 0x01, Local0) If (LAnd (LNot (LGreater (Arg2, 0x78)), And (C0B8,= 0x02))) { Store (0x2300, Local1) Store (0x0B, Local2) Or (Local5, 0x04, Local5) } Else { If (LAnd (LNot (LGreater (Arg2, 0xB4)), And (C= 0B8, 0x01))) { Store (0x2100, Local1) Store (0x09, Local2) Or (Local5, 0x03, Local5) } Else { Store (0x0100, Local1) Store (0x04, Local2) Or (Local5, 0x02, Local5) } } } If (LEqual (Arg1, 0x00)) { Or (Local0, Local1, Local0) Store (0x40F0, Local4) } Else { ShiftLeft (Local0, 0x04, Local0) If (And (Arg3, 0x10)) { Or (Local0, 0x4000, Local0) If (LEqual (Arg0, 0x00)) { Or (And (C0AD, 0xF0), Local2, C0AD) } Else { Or (And (C0AD, 0x0F), ShiftLeft (Local2, 0= x04), C0AD) } } Store (0x3F0F, Local4) } Or (Local0, 0x8000, Local0) If (LEqual (Arg0, 0x00)) { Or (And (C0AB, Local4), Local0, C0AB) } Else { Or (And (C0AC, Local4), Local0, C0AC) } Return (Local5) } Method (C0B9, 5, Serialized) { CreateWordField (Arg4, 0x0C, C0BA) Store (0x00, Local0) Store (0x00, Local1) Store (0x00, Local2) Add (Multiply (Arg0, 0x02), Arg1, Local3) Store (0x00, Local4) ShiftLeft (0x1011, Local3, Local5) If (And (Arg3, ShiftLeft (0x01, Multiply (Arg1, 0x02))= )) { Store (0x01, Local1) Store (C0BB (Arg0, Arg1), Local6) If (LAnd (LNot (LLess (Local6, 0x05)), LAnd (LLess= (Arg2, 0x19), And (C0BA, 0x20)))) { Store (0x01, Local0) Store (0x45, Local2) ShiftLeft (0x1011, Local3, Local4) } Else { If (LAnd (LNot (LLess (Local6, 0x04)), LAnd (L= Less (Arg2, 0x27), And (C0BA, 0x10)))) { Store (0x02, Local0) Store (0x44, Local2) ShiftLeft (0x11, Local3, Local4) } Else { If (LAnd (LNot (LLess (Local6, 0x03)), LAn= d (LLess (Arg2, 0x36), And (C0BA, 0x08)))) { Store (0x01, Local0) Store (0x43, Local2) ShiftLeft (0x11, Local3, Local4) } Else { If (LAnd (LNot (LLess (Local6, 0x02)),= LAnd (LLess (Arg2, 0x49), And (C0BA, 0x04)))) { Store (0x02, Local0) Store (0x42, Local2) } Else { If (LAnd (LNot (LLess (Local6, 0x0= 1)), LAnd (LLess (Arg2, 0x70), And (C0BA, 0x02)))) { Store (0x01, Local0) Store (0x41, Local2) } Else { Store (0x00, Local0) Store (0x40, Local2) } } } } } } Or (And (C0AE, Not (ShiftLeft (0x01, Local3))), ShiftL= eft (Local1, Local3), C0AE) Multiply (Local3, 0x04, Local3) Or (And (C0AF, Not (ShiftLeft (0x03, Local3))), ShiftL= eft (Local0, Local3), C0AF) Or (And (C0B0, Not (Local5)), Local4, C0B0) Return (Local2) } } Device (C0BC) { Name (_ADR, 0x001F0002) Method (_STA, 0, NotSerialized) { Return (C070 (0x04)) } OperationRegion (C0AA, PCI_Config, 0x40, 0x18) Field (C0AA, AnyAcc, NoLock, Preserve) { C0AB, 16, C0AC, 16, C0AD, 8, Offset (0x08), C0AE, 8, Offset (0x0A), C0AF, 16, Offset (0x14), C0B0, 32 } } Device (C0BD) { Name (_ADR, 0x001D0000) Method (_STA, 0, NotSerialized) { Return (C070 (0x0100)) } OperationRegion (C0BE, PCI_Config, 0xC4, 0x04) Field (C0BE, AnyAcc, NoLock, Preserve) { C0BF, 1, C0C0, 1 } Method (_PSW, 1, NotSerialized) { Store (Arg0, Local0) If (LEqual (Local0, 0x01)) { Store (0x01, C0BF) Store (0x01, C0C0) } Else { Store (0x00, C0BF) Store (0x00, C0C0) } } Device (C0C1) { Name (_ADR, 0x00) Device (C0C2) { Name (_ADR, 0x00) } Device (C0C3) { Name (_ADR, 0x01) } } } Device (C0C4) { Name (_ADR, 0x001D0001) Method (_STA, 0, NotSerialized) { Return (C070 (0x0200)) } OperationRegion (C0BE, PCI_Config, 0xC4, 0x04) Field (C0BE, AnyAcc, NoLock, Preserve) { C0BF, 1, C0C0, 1 } Method (_PSW, 1, NotSerialized) { Store (Arg0, Local0) If (LEqual (Local0, 0x01)) { Store (0x01, C0BF) Store (0x01, C0C0) } Else { Store (0x00, C0BF) Store (0x00, C0C0) } } Device (C0C1) { Name (_ADR, 0x00) Device (C0C2) { Name (_ADR, 0x00) } Device (C0C3) { Name (_ADR, 0x01) } } } Device (C0C5) { Name (_ADR, 0x001D0002) Method (_STA, 0, NotSerialized) { Return (C070 (0x0400)) } OperationRegion (C0BE, PCI_Config, 0xC4, 0x01) Field (C0BE, AnyAcc, NoLock, Preserve) { C0BF, 1, C0C0, 1 } Method (_PSW, 1, NotSerialized) { Store (Arg0, Local0) If (LEqual (Local0, 0x01)) { Store (0x01, C0BF) Store (0x01, C0C0) } Else { Store (0x00, C0BF) Store (0x00, C0C0) } } Device (C0C1) { Name (_ADR, 0x00) Device (C0C2) { Name (_ADR, 0x00) } Device (C0C3) { Name (_ADR, 0x01) } } } Device (C0C6) { Name (_ADR, 0x001D0003) Method (_STA, 0, NotSerialized) { Return (C070 (0x0800)) } OperationRegion (C0BE, PCI_Config, 0xC4, 0x01) Field (C0BE, AnyAcc, NoLock, Preserve) { C0BF, 1, C0C0, 1 } Method (_PSW, 1, NotSerialized) { Store (Arg0, Local0) If (LEqual (Local0, 0x01)) { Store (0x01, C0BF) Store (0x01, C0C0) } Else { Store (0x00, C0BF) Store (0x00, C0C0) } } Device (C0C1) { Name (_ADR, 0x00) Device (C0C2) { Name (_ADR, 0x00) } Device (C0C3) { Name (_ADR, 0x01) } } } Device (C0C7) { Name (_ADR, 0x001D0007) Method (_STA, 0, NotSerialized) { Return (C070 (0x8000)) } Device (C0C1) { Name (_ADR, 0x00) Device (C0C2) { Name (_ADR, 0x00) } Device (C0C3) { Name (_ADR, 0x01) } Device (C0C8) { Name (_ADR, 0x02) } Device (C0C9) { Name (_ADR, 0x03) } Device (C0CA) { Name (_ADR, 0x04) } Device (C0CB) { Name (_ADR, 0x05) } Device (C0CC) { Name (_ADR, 0x06) } Device (C0CD) { Name (_ADR, 0x07) } } } Device (C006) { Name (_ADR, 0x001C0000) Method (_STA, 0, NotSerialized) { Return (C070 (0x00010000)) } OperationRegion (C0CE, PCI_Config, 0x50, 0x90) Field (C0CE, AnyAcc, NoLock, Preserve) { , 4, C0CF, 1, Offset (0x0A), C0D0, 16, Offset (0x10), C0D1, 16, C0D2, 1, Offset (0x88), C0D3, 32, , 30, C0D4, 1, C0D5, 1 } OperationRegion (C0D6, SystemMemory, 0xE00E0304, 0x02) Field (C0D6, AnyAcc, NoLock, Preserve) { , 15, C0D7, 1 } Method (_PRT, 0, NotSerialized) { If (C0D8) { 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, C0D9, 0x00 }, Package (0x04) { 0xFFFF, 0x01, C0DA, 0x00 }, Package (0x04) { 0xFFFF, 0x02, C0DB, 0x00 }, Package (0x04) { 0xFFFF, 0x03, C0DC, 0x00 } }) } } } Device (C0DD) { Name (_ADR, 0x001C0001) Method (_STA, 0, NotSerialized) { Return (C070 (0x00020000)) } OperationRegion (C0DE, PCI_Config, 0x50, 0x90) Field (C0DE, AnyAcc, NoLock, Preserve) { , 4, C0CF, 1, Offset (0x0A), C0D0, 16, Offset (0x10), C0D1, 16, C0D2, 1, Offset (0x88), C0D3, 32, , 30, C0D4, 1, C0D5, 1 } OperationRegion (C0DF, SystemMemory, 0xE00E1304, 0x02) Field (C0DF, AnyAcc, NoLock, Preserve) { , 15, C0D7, 1 } Method (_PRT, 0, NotSerialized) { If (C0D8) { 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, C0DA, 0x00 }, Package (0x04) { 0xFFFF, 0x01, C0DB, 0x00 }, Package (0x04) { 0xFFFF, 0x02, C0DC, 0x00 }, Package (0x04) { 0xFFFF, 0x03, C0D9, 0x00 } }) } } } Device (C0E0) { Name (_ADR, 0x001C0002) Method (_STA, 0, NotSerialized) { Return (C070 (0x00040000)) } OperationRegion (C0E1, PCI_Config, 0x50, 0x90) Field (C0E1, AnyAcc, NoLock, Preserve) { , 4, C0CF, 1, Offset (0x0A), C0D0, 16, Offset (0x10), C0D1, 16, C0D2, 1, Offset (0x88), C0D3, 32, , 30, C0D4, 1, C0D5, 1 } OperationRegion (C0E2, SystemMemory, 0xE00E2304, 0x02) Field (C0E2, AnyAcc, NoLock, Preserve) { , 15, C0D7, 1 } Method (_PRT, 0, NotSerialized) { If (C0D8) { 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, C0DB, 0x00 }, Package (0x04) { 0xFFFF, 0x01, C0DC, 0x00 }, Package (0x04) { 0xFFFF, 0x02, C0D9, 0x00 }, Package (0x04) { 0xFFFF, 0x03, C0DA, 0x00 } }) } } } Device (C0E3) { Name (_ADR, 0x001C0003) Method (_STA, 0, NotSerialized) { Return (C070 (0x00080000)) } OperationRegion (C0E4, PCI_Config, 0x50, 0x90) Field (C0E4, AnyAcc, NoLock, Preserve) { , 4, C0CF, 1, Offset (0x0A), C0D0, 16, Offset (0x10), C0D1, 16, C0D2, 1, Offset (0x88), C0D3, 32, , 30, C0D4, 1, C0D5, 1 } OperationRegion (C0E5, SystemMemory, 0xE00E3304, 0x02) Field (C0E5, AnyAcc, NoLock, Preserve) { , 15, C0D7, 1 } Method (_PRT, 0, NotSerialized) { If (C0D8) { 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, C0DC, 0x00 }, Package (0x04) { 0xFFFF, 0x01, C0D9, 0x00 }, Package (0x04) { 0xFFFF, 0x02, C0DA, 0x00 }, Package (0x04) { 0xFFFF, 0x03, C0DB, 0x00 } }) } } } Device (C0E6) { Name (_ADR, 0x001B0000) Method (_STA, 0, NotSerialized) { Return (C070 (0x10)) } } Method (C0E7, 1, Serialized) { Name (C0E8, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {} }) CreateWordField (C0E8, 0x01, C0EA) Store (0x00, Local1) Store (Arg0, Local0) And (Local0, 0x8F, Local0) If (LLess (Local0, 0x80)) { And (Local0, 0x0F, Local0) ShiftLeft (0x01, Local0, Local1) } Store (Local1, C0EA) Return (C0E8) } Method (C0EB, 1, Serialized) { Store (Arg0, Local0) And (Local0, 0x80, Local0) If (LEqual (Local0, 0x00)) { Store (0x0B, Local0) } Else { Store (0x09, Local0) } Return (Local0) } Method (C0EC, 1, Serialized) { Store (Arg0, Local0) And (Local0, 0xF0, Local0) Or (Local0, 0x80, Local0) Return (Local0) } Method (C0ED, 1, Serialized) { CreateWordField (Arg0, 0x01, C0EE) If (LEqual (C0EE, 0x00)) { Store (0x00, Local0) } Else { FindSetRightBit (C0EE, Local0) Decrement (Local0) } Return (Local0) } Device (C0D9) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x60) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C074)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C074), ^^C003.C074) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C074) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C074)) } } Device (C0DA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x61) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C075)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C075), ^^C003.C075) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C075) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C075)) } } Device (C0DB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x62) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C076)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C076), ^^C003.C076) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C076) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C076)) } } Device (C0DC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x63) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C077)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C077), ^^C003.C077) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C077) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C077)) } } Device (C0EF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x68) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C078)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C078), ^^C003.C078) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C078) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C078)) } } Device (C0F0) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x69) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C079)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C079), ^^C003.C079) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C079) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C079)) } } Device (C0F1) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x6A) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C07A)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C07A), ^^C003.C07A) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C07A) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C07A)) } } Device (C0F2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x6B) Method (_STA, 0, NotSerialized) { Return (C0EB (^^C003.C07B)) } Method (_DIS, 0, NotSerialized) { Store (C0EC (^^C003.C07B), ^^C003.C07B) } Method (_SRS, 1, NotSerialized) { Store (C0ED (Arg0), ^^C003.C07B) } Method (_CRS, 0, NotSerialized) { Return (C0E7 (^^C003.C07B)) } } Method (C0F3, 1, NotSerialized) { While (^C003.C090) { Stall (0x01) } Store (0xF3, ^C003.C089) Stall (0x32) While (^C003.C090) { Stall (0x01) } } Mutex (C0F4, 0x00) Name (C0F5, 0x00) Name (C0F6, 0x00) Method (C0F7, 0, NotSerialized) { Acquire (C0F4, 0xFFFF) If (LEqual (C0F6, 0x00)) { Store (0x00, ^C003.C08D) Store (0x00, ^C003.C08E) } Increment (C0F6) Release (C0F4) } Method (C0F8, 0, NotSerialized) { Acquire (C0F4, 0xFFFF) Decrement (C0F6) If (LEqual (C0F6, 0x00)) { Store (0x01, ^C003.C08E) Store (0x01, ^C003.C08D) } Release (C0F4) } Scope (C057) { Device (C0F9) { Name (_ADR, 0x00) Name (C0FA, 0x00) OperationRegion (C0FB, PCI_Config, 0x2C, 0x04) Field (C0FB, DWordAcc, NoLock, Preserve) { C0FC, 32 } OperationRegion (C0FD, PCI_Config, 0x4C, 0x04) Field (C0FD, DWordAcc, NoLock, Preserve) { C0FE, 32 } Method (_REG, 2, NotSerialized) { If (LAnd (LEqual (Arg0, 0x02), LEqual (Arg1, 0x01)= )) { Store (C0FC, Local0) If (LEqual (C0FA, 0x00)) { Store (Local0, C0FA) } Else { If (LNot (LEqual (Local0, C0FA))) { Store (C0FA, C0FE) } } } } Name (_S3D, 0x03) Name (_S4D, 0x03) Method (C0FF, 1, Serialized) { Store (0x00, Local0) If (And (C100 (0x00), Arg0)) { Store (0x01, Local0) If (And (C04B, Arg0)) { Store (0x1D, Local0) If (And (C04A, Arg0)) { Store (0x1F, Local0) } } } Return (Local0) } Method (C101, 1, Serialized) { Store (0x00, Local0) If (And (C04C, Arg0)) { Store (0x01, Local0) } Return (Local0) } Method (C102, 2, Serialized) { Store (C04D, Local0) If (And (Arg1, 0x01)) { Or (Local0, Arg0, Local0) } Else { And (Local0, Not (Arg0), Local0) } Store (Local0, C04D) If (And (Arg1, 0x40000000)) { Store (Local0, C04A) } If (LEqual (And (Arg1, 0xC0000000), 0x80000000)) { \_SB.C103 (0xEA74, 0x01, 0x00, 0x00, 0x00) } } Method (_DOS, 1, NotSerialized) { And (C049, 0xF8, Local0) And (C049, 0x83, Local1) Or (Local0, Arg0, C049) If (CondRefOf (^C104, Local2)) { ^C104 (Arg0, Local1) } } Device (C105) { Name (_ADR, 0x0100) Method (_DCS, 0, NotSerialized) { Return (C0FF (0x02)) } Method (_DGS, 0, NotSerialized) { Return (C101 (0x02)) } Method (_DSS, 1, NotSerialized) { C102 (0x02, Arg0) } } Device (C106) { Name (_ADR, 0x0110) Method (_DCS, 0, NotSerialized) { Return (C0FF (0x01)) } Method (_DGS, 0, NotSerialized) { Return (C101 (0x01)) } Method (_DSS, 1, NotSerialized) { C102 (0x01, Arg0) } } Device (C107) { Name (_ADR, 0x0200) Method (_DCS, 0, NotSerialized) { Return (C0FF (0x04)) } Method (_DGS, 0, NotSerialized) { Return (C101 (0x04)) } Method (_DSS, 1, NotSerialized) { C102 (0x04, Arg0) } } Device (C108) { Name (_ADR, 0x0210) Method (_DCS, 0, NotSerialized) { Return (C0FF (0x08)) } Method (_DGS, 0, NotSerialized) { Return (C101 (0x08)) } Method (_DSS, 1, NotSerialized) { C102 (0x08, Arg0) } } Name (C109, 0xFFFFFFFD) Method (C100, 1, Serialized) { If (LAnd (Arg0, LEqual (C109, 0xFFFFFFFD))) { Store (0x07, Local0) If (LEqual (And (\_SB.C002.C003.C00A, 0x80), 0= x00)) { Or (Local0, 0x08, Local0) } Store (Local0, C109) } Return (C109) } Method (_DOD, 0, NotSerialized) { Return (Package (0x04) { 0x00010100, 0x00010110, 0x00010200, 0x00010210 }) } Method (C104, 2, NotSerialized) { If (LNot (LEqual (Arg0, Arg1))) { Store (\_SB.C002.C003.C091, Local0) If (Arg0) { And (Local0, 0xFFFFDFFF, Local0) } Else { Or (Local0, 0x2000, Local0) } Store (Local0, \_SB.C002.C003.C091) } } } } Method (\C0F3, 1, NotSerialized) { \_SB.C002.C0F3 (Arg0) } Method (\C0F7, 0, NotSerialized) { \_SB.C002.C0F7 () } Method (\C0F8, 0, NotSerialized) { \_SB.C002.C0F8 () } Scope (C003) { Method (C10A, 5, Serialized) { If (LEqual (Arg1, 0x00)) { ^C0A7 (Arg0, Arg2) } Else { ^C0A8 (Arg0, Arg1, Arg2) } } Method (C10B, 1, Serialized) { Store (0x00, Local0) If (LOr (C094, Arg0)) { Store (0x01, C096) Store (0x01, C095) Store (0x01, C094) Store (0x04, C097) Store (0x00, C093) Store (0x00, C096) Store (0x01, Local0) } Return (Local0) } } Method (\_SB.C10C, 5, Serialized) { ^C002.C003.C10A (Arg0, Arg1, Arg2, Arg3, Arg4) } Method (\_SB.C10D, 0, NotSerialized) { Store (\_SB.C002.C003.C00A, Local0) Store (0x01, Local1) If (And (Local0, 0x1000)) { Store (0x07, Local1) } Return (Local1) } Scope (C003) { Device (C004) { Name (_HID, EisaId ("PNP0C09")) Name (_GPE, 0x10) Method (_STA, 0, NotSerialized) { Return (0x0F) } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0062, 0x0062, 0x01, 0x01) IO (Decode16, 0x0066, 0x0066, 0x01, 0x01) }) Mutex (C10E, 0x00) Name (C10F, 0x00) Name (C110, 0x00) Method (C111, 0, Serialized) { C112 (0x07, 0xFF) Store (C113 (), Local0) C114 () C115 (Local0, 0x81) C116 () } Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Arg1, C110) Store (LOr (LEqual (\C01A (), 0x01), LEqual (\= C01A (), 0x02)), Local1) If (LAnd (Arg1, LNot (Local1))) { C111 () } } } OperationRegion (C117, EmbeddedControl, 0x00, 0xFF) Field (C117, ByteAcc, NoLock, Preserve) { Offset (0x80), Offset (0x81), , 4, C118, 4, , 1, , 1, C119, 1, , 1, , 1, , 1, , 1, C11A, 1, C11B, 1, , 1, , 1, , 1, , 1, C11C, 1, C11D, 1, C11E, 1, C11F, 1, , 1, , 1, C120, 1, C121, 4, C122, 1, Offset (0x86), C123, 4, Offset (0x87), C124, 8, C125, 8, C126, 16, Offset (0x8D), C127, 16, Offset (0x91), C128, 1, Offset (0x92), C129, 16, Offset (0x95), C12A, 16, C12B, 16, C12C, 4, Offset (0x9D), C12D, 16, C12E, 16, C12F, 16, C130, 16, C131, 16, C132, 16, C133, 16, C134, 16, C135, 16, Offset (0xB1), C136, 16, Offset (0xB5), C137, 8, Offset (0xB7), C138, 16, C139, 8, Offset (0xBD), C13A, 8, Offset (0xC1), C13B, 64, C13C, 16, C13D, 16, C13E, 8, Offset (0xD1), C13F, 32, C140, 8, C141, 8, C142, 8, C143, 8, C144, 8, C145, 8, C146, 8, C147, 8, C148, 4, C149, 4, C14A, 16, C14B, 16, Offset (0xE3), C14C, 4, Offset (0xE4), Offset (0xE5), C14D, 1, C14E, 1 } Method (_INI, 0, NotSerialized) { If (LOr (LEqual (\C01A (), 0x01), LEqual (\C01A ()= , 0x02))) { C111 () } } OperationRegion (C14F, SystemIO, 0x0500, 0x02) Field (C14F, ByteAcc, NoLock, Preserve) { C150, 8, C151, 8 } IndexField (C150, C151, ByteAcc, NoLock, Preserve) { Offset (0x92), C152, 8, Offset (0x9D), C153, 8 } Method (C154, 1, Serialized) { Multiply (Arg0, 0x40, Local1) Divide (Local1, 0x64, Local2, Local0) Subtract (0x40, Local0, Local0) And (C152, 0x80, Local1) If (LEqual (Local0, 0x40)) { Or (Local1, 0x01, Local1) } Else { ShiftLeft (Local0, 0x01, Local0) Or (Local0, Local1, Local1) } Store (Local1, C152) } Method (C155, 0, Serialized) { And (C152, 0x7F, Local0) If (And (Local0, 0x01)) { Store (0x00, Local1) } Else { ShiftRight (Local0, 0x01, Local0) Subtract (0x40, Local0, Local0) Multiply (Local0, 0x64, Local0) Divide (Add (Local0, 0x20), 0x40, Local2, Loca= l1) Increment (Local1) } Return (Local1) } Name (C156, 0xFF) Name (C157, 0xFF) Name (C158, 0x07) Name (C159, 0x01) Name (C15A, 0x00) Name (C15B, 0x01) Name (C15C, 0x00) Name (C15D, 0x05) Name (C15E, 0x01) Mutex (C15F, 0x00) Name (C160, Package (0x08) { "Unknown", "NiMH", "LiIon" }) Method (C005, 0, Serialized) { Acquire (C15F, 0xFFFF) If (And (C158, 0x01)) { And (C158, 0x06, C158) Release (C15F) Store (0x01, Local0) Acquire (C10E, 0xFFFF) If (C110) { Store (C11F, Local0) } Release (C10E) Store (Local0, C159) } Else { Release (C15F) Store (C159, Local0) } Return (Local0) } Method (C113, 0, Serialized) { Acquire (C15F, 0xFFFF) If (And (C158, 0x02)) { And (C158, 0x05, C158) Release (C15F) Acquire (C10E, 0xFFFF) If (C110) { Store (C121, C15A) } Release (C10E) } Else { Release (C15F) } Return (C15A) } Method (C112, 2, Serialized) { Store (0x00, Local0) Acquire (C15F, 0xFFFF) Or (Arg0, C158, Local1) And (Local1, 0x07, C158) If (And (C158, 0x02)) { Or (C156, Arg1, C156) } If (And (C158, 0x04)) { If (LNot (LEqual (C157, 0xFF))) { Store (0x01, Local0) } Or (C157, Arg1, C157) } Release (C15F) Return (Local0) } Method (C161, 1, Serialized) { If (LEqual (Arg0, 0x01)) { Store (0x01, C15B) } Else { If (LEqual (Arg0, 0x00)) { Store (0x00, C15B) } } Return (C15B) } Method (C162, 1, Serialized) { C161 (0x01) Store (C113 (), Local0) Store (0x0F, Local1) If (And (Local0, Arg0)) { Store (0x1F, Local1) } Return (Local1) } Method (C163, 2, Serialized) { ToBCD (Arg0, Local0) Store (\C014 (Local0, 0x05), Local3) Concatenate (Local3, " ", Local4) ShiftRight (Arg1, 0x09, Local0) Add (Local0, 0x07BC, Local1) ToBCD (Local1, Local0) Store (\C014 (Local0, 0x04), Local2) Concatenate (Local4, Local2, Local3) Concatenate (Local3, "/", Local4) ShiftRight (Arg1, 0x05, Local0) And (Local0, 0x0F, Local1) ToBCD (Local1, Local0) Store (\C014 (Local0, 0x02), Local2) Concatenate (Local4, Local2, Local3) Concatenate (Local3, "/", Local4) And (Arg1, 0x1F, Local1) ToBCD (Local1, Local0) Store (\C014 (Local0, 0x02), Local2) Concatenate (Local4, Local2, Local3) Return (Local3) } Method (C164, 1, Serialized) { ShiftLeft (0x01, Arg0, Local7) C161 (0x01) If (LEqual (C162 (Local7), 0x0F)) { Return (0xFFFFFFFD) } Acquire (C15F, 0xFFFF) Store (C156, Local0) Release (C15F) If (LEqual (And (Local0, Local7), 0x00)) { Return (0x00) } Store (C165, Index (C166, Arg0)) Acquire (C10E, 0xFFFF) If (C110) { Store (Arg0, C123) Store (C127, Local0) Store (Local0, Index (DerefOf (Index (C167, Ar= g0)), 0x01)) Store (Local0, Index (DerefOf (Index (C167, Ar= g0)), 0x02)) Store (C12A, Index (DerefOf (Index (C167, Arg0= )), 0x04)) Multiply (Local0, C15D, Local1) Divide (Add (Local1, 0x63), 0x64, Local3, Loca= l2) Store (Local2, Index (DerefOf (Index (C167, Ar= g0)), 0x05)) Store (0x00, Local2) If (C15E) { Multiply (Local0, C15E, Local1) Divide (Add (Local1, 0x63), 0x64, Local3, = Local2) } Store (Local2, Index (DerefOf (Index (C167, Ar= g0)), 0x06)) Store (C13C, Local0) Store (C13D, Local1) } Release (C10E) Store (C163 (Local0, Local1), Local2) Store (Local2, Index (DerefOf (Index (C167, Arg0))= , 0x0A)) Acquire (C15F, 0xFFFF) And (C156, Not (Local7), C156) Release (C15F) Return (0x00) } Method (C168, 2, Serialized) { ShiftLeft (0x01, Arg0, Local7) C161 (0x01) If (LEqual (C162 (Local7), 0x0F)) { Store (Package (0x04) { 0x00, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF }, Index (C166, Arg0)) Return (0xFFFFFFFD) } Acquire (C15F, 0xFFFF) If (Arg1) { Store (0xFF, C157) } Store (C157, Local0) Release (C15F) If (LEqual (And (Local0, Local7), 0x00)) { Return (0x00) } Acquire (C10E, 0xFFFF) If (C110) { Store (Arg0, C123) Store (C12C, Local0) Store (C12D, Local3) Store (C12F, Index (DerefOf (Index (C166, Arg0= )), 0x02)) Store (C131, Index (DerefOf (Index (C166, Arg0= )), 0x03)) } Release (C10E) If (LEqual (C005 (), 0x01)) { And (0xFFFFFFFE, Local0, Local0) } Else { And (0xFFFFFFFD, Local0, Local0) } If (And (Local0, 0x01)) { Acquire (C15F, 0xFFFF) Store (Local7, C15C) Release (C15F) } Store (Local0, Index (DerefOf (Index (C166, Arg0))= , 0x00)) If (And (Local0, 0x01)) { If (LOr (LLess (Local3, 0x0190), LGreater (Loc= al3, 0x1964))) { Store (DerefOf (Index (DerefOf (Index (C16= 6, Arg0)), 0x01)), Local5) If (LOr (LLess (Local5, 0x0190), LGreater = (Local5, 0x1964))) { Store (0x0D7A, Local3) } Else { Store (Local5, Local3) } } } Store (Local3, Index (DerefOf (Index (C166, Arg0))= , 0x01)) Acquire (C15F, 0xFFFF) And (C157, Not (Local7), C157) Release (C15F) Return (0x00) } Method (C114, 0, NotSerialized) { If (LEqual (\C01A (), 0x01)) { Store (0x10, C15D) Store (0x0C, C15E) Store (C15E, Local0) } Else { Store (0x03, Local0) } If (C110) { Store (C15D, C124) Store (Local0, C125) } } Method (C16A, 1, NotSerialized) { Acquire (C10E, 0xFFFF) If (C110) { If (And (C121, ShiftLeft (0x01, Arg0))) { Store (Arg0, C123) Store (Package (0x03) { 0x00, 0x3E, Buffer (0x3E) {} }, Local0) Store (C126, Index (DerefOf (Index (Local0= , 0x02)), 0x00)) Store (ShiftRight (C126, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x01)) Store (C127, Index (DerefOf (Index (Local0= , 0x02)), 0x02)) Store (ShiftRight (C127, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x03)) Store (C12F, Index (DerefOf (Index (Local0= , 0x02)), 0x04)) Store (ShiftRight (C12F, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x05)) Store (C129, Index (DerefOf (Index (Local0= , 0x02)), 0x06)) Store (ShiftRight (C129, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x07)) Store (C130, Index (DerefOf (Index (Local0= , 0x02)), 0x08)) Store (ShiftRight (C130, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x09)) Store (C14B, Local1) Subtract (Local1, 0x0AAC, Local1) Divide (Local1, 0x0A, Local2, Local3) Store (Local3, Index (DerefOf (Index (Loca= l0, 0x02)), 0x0A)) Store (ShiftRight (Local3, 0x08), Index (D= erefOf (Index (Local0, 0x02)), 0x0B)) Store (C131, Index (DerefOf (Index (Local0= , 0x02)), 0x0C)) Store (ShiftRight (C131, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x0D)) Store (C12E, Local1) If (Local1) { If (And (C138, 0x40)) { Add (Not (Local1), 0x01, Local1) And (Local1, 0xFFFF) } } Store (Local1, Index (DerefOf (Index (Loca= l0, 0x02)), 0x0E)) Store (ShiftRight (Local1, 0x08), Index (D= erefOf (Index (Local0, 0x02)), 0x0F)) Store (C12A, Index (DerefOf (Index (Local0= , 0x02)), 0x10)) Store (ShiftRight (C12A, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x11)) Store (C138, Index (DerefOf (Index (Local0= , 0x02)), 0x12)) Store (ShiftRight (C138, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x13)) Store (C12B, Index (DerefOf (Index (Local0= , 0x02)), 0x14)) Store (ShiftRight (C12B, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x15)) Store (C132, Index (DerefOf (Index (Local0= , 0x02)), 0x16)) Store (ShiftRight (C132, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x17)) Store (C133, Index (DerefOf (Index (Local0= , 0x02)), 0x18)) Store (ShiftRight (C133, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x19)) Store (C134, Index (DerefOf (Index (Local0= , 0x02)), 0x1A)) Store (ShiftRight (C134, 0x08), Index (Der= efOf (Index (Local0, 0x02)), 0x1B)) CreateField (DerefOf (Index (Local0, 0x02)= ), 0xE0, 0x80, C16B) Store (C163 (C13C, C13D), C16B) Store ("HP ", Local1) If (LEqual (C13E, 0x53)) { Store ("SIMPLO", Local1) } Else { If (LEqual (C13E, 0x4D)) { Store ("MOTOROLA", Local1) } } CreateField (DerefOf (Index (Local0, 0x02)= ), 0x0160, Multiply (SizeOf (Local1), 0x08), C16C) Store (Local1, C16C) } Else { Store (Package (0x02) { 0x06, 0x00 }, Local0) } } Else { Store (Package (0x02) { 0x0D, 0x00 }, Local0) } Release (C10E) Return (Local0) } Method (_Q03, 0, NotSerialized) { Acquire (C15F, 0xFFFF) Store (C15C, Local0) Release (C15F) C112 (0x04, Local0) C115 (Local0, 0x80) } Method (_Q04, 0, NotSerialized) { Acquire (C15F, 0xFFFF) Store (C15C, Local0) Release (C15F) Store (C113 (), Local2) If (LEqual (\C01A (), 0x03)) { Store (0x81, Local1) } Else { Store (0x80, Local1) } C112 (0x06, Local2) C115 (Local0, Local1) } Method (_Q05, 0, NotSerialized) { Acquire (\_TZ.C16D, 0xFFFF) Store (0x04, \_TZ.C16E) Release (\_TZ.C16D) Notify (\_TZ.TZ3, 0x80) } Method (_Q06, 0, NotSerialized) { C112 (0x05, 0x03) If (C161 (0x02)) { Notify (\_SB.C16F, 0x80) If (\_PR.C000.C001) { Notify (\_PR.C000, 0x81) } Notify (\_PR.C000, 0x80) Notify (\_TZ.TZ1, 0x81) Notify (\_TZ.TZ2, 0x81) } } Method (_Q08, 0, NotSerialized) { C112 (0x06, 0x01) Store (C113 (), Local0) If (LNot (LEqual (Local0, 0x02))) { C112 (0x04, 0x02) If (C161 (0x02)) { Notify (\_SB.C170, 0x80) } } If (C161 (0x02)) { Notify (\_SB.C171, 0x81) } } Method (_Q09, 0, NotSerialized) { C112 (0x04, 0x01) If (C161 (0x02)) { Notify (\_SB.C171, 0x80) } } Method (_Q18, 0, NotSerialized) { C112 (0x06, 0x02) Store (C113 (), Local0) If (LNot (LEqual (Local0, 0x01))) { C112 (0x04, 0x01) If (C161 (0x02)) { Notify (\_SB.C171, 0x80) } } If (C161 (0x02)) { Notify (\_SB.C170, 0x81) } } Method (_Q19, 0, NotSerialized) { C112 (0x04, 0x02) If (C161 (0x02)) { Notify (\_SB.C170, 0x80) } } Method (C115, 2, Serialized) { If (And (Arg0, 0x01)) { Notify (\_SB.C171, Arg1) } If (And (Arg0, 0x02)) { Notify (\_SB.C170, Arg1) } } Method (C116, 0, NotSerialized) { If (\_PR.C000.C001) { Notify (\_PR.C000, 0x81) } } } Device (C172) { Name (_HID, EisaId ("PNP0A06")) OperationRegion (C173, SystemIO, 0x4E, 0x02) Field (C173, ByteAcc, NoLock, Preserve) { C174, 8, C175, 8 } IndexField (C174, C175, ByteAcc, NoLock, Preserve) { Offset (0x01), , 2, C176, 1, C177, 1, Offset (0x02), , 3, C178, 1, , 3, C179, 1, Offset (0x04), C17A, 2, Offset (0x23), C17B, 8, C17C, 8, C17D, 8, C17E, 4, Offset (0x27), C17F, 4, Offset (0x28), C180, 4, C181, 4, Offset (0x2B), C182, 8, C183, 4 } OperationRegion (C184, SystemIO, 0x0510, 0x10) Field (C184, ByteAcc, NoLock, Preserve) { Offset (0x0C), C185, 8, C186, 5, Offset (0x0E), C187, 8, C188, 8 } Mutex (C189, 0x00) Name (C18A, 0x00) Name (C18B, 0x00) Method (C18C, 0, NotSerialized) { Acquire (C189, 0xFFFF) Store (0x55, C174) } Method (C18D, 0, NotSerialized) { Store (0xAA, C174) Release (C189) } Method (C18E, 1, NotSerialized) { C18C () Store (0x00, Local0) If (LEqual (Arg0, 0x01)) { Store (C17B, Local0) } Else { If (LEqual (Arg0, 0x02)) { Store (C17C, Local0) } Else { If (LEqual (Arg0, 0x03)) { Store (C17D, Local0) } } } Store (0x00, Local1) If (And (Local0, 0xC0)) { ShiftLeft (Local0, 0x02, Local1) } C18D () Return (Local1) } Method (C18F, 1, NotSerialized) { Name (C190, Package (0x04) { 0x00, 0x00, 0x00, 0x00 }) C18C () Store (0x00, Local0) Store (0x00, Local1) Store (0x00, Local2) Store (0x00, Local3) If (LEqual (Arg0, 0x01)) { Store (C17B, Local0) Store (C17F, Local2) Store (C17E, Local3) } Else { If (LEqual (Arg0, 0x02)) { Store (C17C, Local0) Store (C181, Local2) } Else { If (LEqual (Arg0, 0x03)) { Store (C17D, Local0) Store (C182, Local1) Store (C180, Local2) Store (C183, Local3) } } } ShiftLeft (Local0, 0x02, Index (C190, 0x00)) ShiftLeft (Local1, 0x03, Index (C190, 0x01)) Store (0x00, Local4) If (LGreater (Local2, 0x00)) { ShiftLeft (0x01, Local2, Local4) } Store (Local4, Index (C190, 0x02)) Store (0x00, Local4) If (LAnd (LGreater (Local3, 0x00), LLess (Local3, = 0x04))) { ShiftLeft (0x01, Local3, Local4) } Store (Local4, Index (C190, 0x03)) C18D () Return (C190) } Method (C191, 5, NotSerialized) { C18C () ShiftRight (Arg1, 0x02, Local0) FindSetRightBit (Arg3, Local1) If (LAnd (LGreater (Local1, 0x01), LLess (Local1, = 0x11))) { Decrement (Local1) } Else { Store (0x00, Local1) } FindSetRightBit (Arg4, Local2) If (LAnd (LGreater (Local2, 0x01), LLess (Local2, = 0x05))) { Decrement (Local2) } Else { Store (0x0F, Local2) } If (LEqual (Arg0, 0x01)) { Store (Local0, C17B) Store (Local1, C17F) Store (Local2, C17E) } Else { If (LEqual (Arg0, 0x02)) { And (Local0, 0xFE, C17C) Store (Local1, C181) } Else { If (LEqual (Arg0, 0x03)) { And (Local0, 0xFE, C17D) ShiftRight (Arg2, 0x03, C182) Store (Local1, C180) Store (Local2, C183) } } } C18D () } Method (C192, 0, NotSerialized) { C18C () Store (C177, Local0) Store (C17A, Local1) C18D () If (Local0) { Store (0x00, Local2) } Else { Store (0x03, Local2) If (LEqual (Local1, 0x00)) { Store (0x01, Local2) } If (LEqual (Local1, 0x01)) { Store (0x02, Local2) } } Return (Local2) } Method (C193, 1, Serialized) { C18C () If (LEqual (Arg0, 0x01)) { Store (C176, Local0) } Else { If (LEqual (Arg0, 0x02)) { Store (C178, Local0) } Else { If (LEqual (Arg0, 0x03)) { Store (C179, Local0) } } } C18D () Return (Local0) } Method (C194, 2, Serialized) { C18C () If (LEqual (Arg0, 0x01)) { Store (Arg1, C176) } Else { If (LEqual (Arg0, 0x02)) { Store (Arg1, C178) } Else { If (LEqual (Arg0, 0x03)) { Store (Arg1, C179) } } } C18D () } Method (C195, 2, Serialized) { And (C03E, 0x10, Local0) And (Not (C03E), Arg1, Local1) If (LOr (Local0, Local1)) { Store (0x00, Local0) } Else { Store (C18E (Arg0), Local1) Store (0x0D, Local0) If (Local1) { Store (0x0F, Local0) } } Return (Local0) } Method (C196, 1, Serialized) { If (C18E (Arg0)) { Store (C18F (Arg0), Local0) Store (DerefOf (Index (Local0, 0x01)), Local1) Store (DerefOf (Index (Local0, 0x02)), Local2) Store (DerefOf (Index (Local0, 0x03)), Local3) \_SB.C10C (Arg0, 0x00, Local1, Local2, Local3) C191 (Arg0, 0x00, 0x00, 0x00, 0x00) } } Method (C197, 0, NotSerialized) { Store (^^C198, Local3) If (\_SB.C199 ()) { If (C18E (0x02)) { Name (C19A, ResourceTemplate () { IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x= 08) }) CreateWordField (C19A, 0x02, C19C) CreateWordField (C19A, 0x04, C19D) Store (C18F (0x02), Local1) Store (DerefOf (Index (Local1, 0x00)), C19= C) Store (C19C, C19D) Store (\C01C (Local3, C19A), Local0) Store (Local0, Local3) } } Return (Local3) } Device (C19E) { Name (_HID, EisaId ("PNP0501")) Name (_CID, 0x0005D041) Name (_DDN, "COM1") Name (C19F, 0x00) Name (C1A0, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08) IRQNoFlags () {4} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08) IRQNoFlags () {3} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08) IRQNoFlags () {4} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08) IRQNoFlags () {3} } EndDependentFn () }) Method (_PRS, 0, NotSerialized) { Return (C1A0) } Method (_STA, 0, NotSerialized) { If (C19F) { Store (0x0D, Local0) } Else { Store (C195 (0x02, 0x02), Local0) } Return (Local0) } Method (_DIS, 0, NotSerialized) { If (LOr (\_SB.C03D, LEqual (0x00, 0x01))) { Store (0x01, C19F) Return (0x00) } C196 (0x02) Return (0x00) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, 0x02, C19C) CreateWordField (Arg0, 0x09, C1A1) If (C195 (0x02, 0x02)) { _DIS () \_SB.C10C (0x02, C19C, 0x00, C1A1, 0x00) C191 (0x02, C19C, 0x00, C1A1, 0x00) } Store (0x00, C19F) } Method (_CRS, 0, NotSerialized) { Name (C01E, ResourceTemplate () { IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08) IRQNoFlags () {4} }) CreateWordField (C01E, 0x02, C19C) CreateWordField (C01E, 0x04, C19D) CreateWordField (C01E, 0x09, C1A1) If (C19F) { Store (0x00, Local0) } Else { Store (C195 (0x02, 0x02), Local0) } If (LEqual (Local0, 0x00)) { Store (0x00, C19C) Store (0x00, C19D) Store (0x00, C1A1) Return (C01E) } Store (C18F (0x02), Local1) Store (DerefOf (Index (Local1, 0x00)), C19C) Store (C19C, C19D) Store (DerefOf (Index (Local1, 0x02)), C1A1) Return (C01E) } PowerResource (C1A2, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C193 (0x02)) } Method (_ON, 0, NotSerialized) { C194 (0x02, 0x01) } Method (_OFF, 0, NotSerialized) { } } Name (_PR0, Package (0x01) { C1A2 }) } Device (C1A3) { Name (_HID, EisaId ("SMCF010")) Name (_CID, 0x1105D041) Name (C1A0, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08) IO (Decode16, 0x0100, 0x0130, 0x10, 0x10) IRQNoFlags () {3,4,5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08) IO (Decode16, 0x0100, 0x0130, 0x10, 0x10) IRQNoFlags () {3,4,5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08) IO (Decode16, 0x0100, 0x0130, 0x10, 0x10) IRQNoFlags () {3,4,5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08) IO (Decode16, 0x0100, 0x0130, 0x10, 0x10) IRQNoFlags () {3,4,5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } EndDependentFn () }) Method (_PRS, 0, NotSerialized) { Return (C1A0) } Method (_STA, 0, NotSerialized) { Return (C195 (0x03, 0x01)) } Method (_DIS, 0, NotSerialized) { C196 (0x03) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, 0x02, C19C) CreateWordField (Arg0, 0x0A, C1A4) CreateWordField (Arg0, 0x11, C1A1) CreateWordField (Arg0, 0x14, C1A5) If (C195 (0x03, 0x01)) { ^_DIS () \_SB.C10C (0x03, C19C, C1A4, C1A1, C1A5) ^^C191 (0x03, C19C, C1A4, C1A1, C1A5) } } Method (_CRS, 0, NotSerialized) { Name (C01E, ResourceTemplate () { IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08) IO (Decode16, 0x0100, 0x0100, 0x10, 0x10) IRQNoFlags () {3} DMA (Compatibility, NotBusMaster, Transfer= 8) {1} }) CreateWordField (C01E, 0x02, C19C) CreateWordField (C01E, 0x04, C19D) CreateWordField (C01E, 0x0A, C1A4) CreateWordField (C01E, 0x0C, C1A9) CreateWordField (C01E, 0x11, C1A1) CreateWordField (C01E, 0x14, C1A5) If (LEqual (C195 (0x03, 0x01), 0x00)) { Store (0x00, C19C) Store (0x00, C19D) Store (0x00, C1A4) Store (0x00, C1A9) Store (0x00, C1A1) Store (0x00, C1A5) Return (C01E) } Store (C18F (0x03), Local1) Store (DerefOf (Index (Local1, 0x00)), C19C) Store (C19C, C19D) Store (DerefOf (Index (Local1, 0x01)), C1A4) Store (C1A4, C1A9) Store (DerefOf (Index (Local1, 0x02)), C1A1) Store (DerefOf (Index (Local1, 0x03)), C1A5) Return (C01E) } PowerResource (C1AA, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C193 (0x03)) } Method (_ON, 0, NotSerialized) { C194 (0x03, 0x01) } Method (_OFF, 0, NotSerialized) { C194 (0x03, 0x00) } } Name (_PR0, Package (0x01) { C1AA }) } Device (C1AB) { Method (_HID, 0, Serialized) { If (C1AC ()) { Store (0x0104D041, Local0) } Else { Store (0x0004D041, Local0) } Return (Local0) } Name (C1AD, 0xFF) Method (C1AC, 0, Serialized) { If (LEqual (C1AD, 0xFF)) { Store (C192 (), Local0) Store (0x00, C1AD) If (LGreater (Local0, 0x01)) { Store (0x01, C1AD) } } Return (C1AD) } Name (C1AE, 0x00) Name (C1A0, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0378, 0x0378, 0x01, 0x08) IO (Decode16, 0x0778, 0x0778, 0x01, 0x03) IRQNoFlags () {5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0278, 0x0278, 0x01, 0x08) IO (Decode16, 0x0678, 0x0678, 0x01, 0x03) IRQNoFlags () {5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04) IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x03) IRQNoFlags () {5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {1,3} } StartDependentFnNoPri () { IO (Decode16, 0x0378, 0x0378, 0x01, 0x08) IO (Decode16, 0x0778, 0x0778, 0x01, 0x03) IRQNoFlags () {5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {} } StartDependentFnNoPri () { IO (Decode16, 0x0278, 0x0278, 0x01, 0x08) IO (Decode16, 0x0678, 0x0678, 0x01, 0x03) IRQNoFlags () {5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04) IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x03) IRQNoFlags () {5,7} DMA (Compatibility, NotBusMaster, Transfer= 8) {} } StartDependentFnNoPri () { IO (Decode16, 0x0378, 0x0378, 0x01, 0x08) IO (Decode16, 0x0778, 0x0778, 0x01, 0x03) IRQNoFlags () {} DMA (Compatibility, NotBusMaster, Transfer= 8) {} } StartDependentFnNoPri () { IO (Decode16, 0x0278, 0x0278, 0x01, 0x08) IO (Decode16, 0x0678, 0x0678, 0x01, 0x03) IRQNoFlags () {} DMA (Compatibility, NotBusMaster, Transfer= 8) {} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04) IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x03) IRQNoFlags () {} DMA (Compatibility, NotBusMaster, Transfer= 8) {} } EndDependentFn () }) Method (_PRS, 0, NotSerialized) { Return (C1A0) } Method (_STA, 0, NotSerialized) { If (C1AE) { Store (0x0D, Local0) } Else { Store (C195 (0x01, 0x04), Local0) } Return (Local0) } Method (_DIS, 0, NotSerialized) { If (\_SB.C040) { Store (0x01, C1AE) Return (0x00) } C196 (0x01) Return (0x00) } Method (_SRS, 1, NotSerialized) { CreateWordField (Arg0, 0x02, C19C) CreateWordField (Arg0, 0x0A, C1A4) CreateWordField (Arg0, 0x11, C1A1) CreateWordField (Arg0, 0x14, C1A5) If (C195 (0x01, 0x04)) { _DIS () \_SB.C10C (0x01, C19C, C1A4, C1A1, C1A5) C191 (0x01, C19C, C1A4, C1A1, C1A5) } Store (0x00, C1AE) } Method (_CRS, 0, NotSerialized) { Name (C01E, ResourceTemplate () { IO (Decode16, 0x0378, 0x0378, 0x01, 0x08) IO (Decode16, 0x0778, 0x0778, 0x01, 0x03) IRQNoFlags () {7} DMA (Compatibility, NotBusMaster, Transfer= 8) {3} }) CreateWordField (C01E, 0x02, C19C) CreateWordField (C01E, 0x04, C19D) CreateByteField (C01E, 0x07, C1AF) CreateWordField (C01E, 0x0A, C1A4) CreateWordField (C01E, 0x0C, C1A9) CreateByteField (C01E, 0x0F, C1B0) CreateWordField (C01E, 0x11, C1A1) CreateWordField (C01E, 0x14, C1A5) If (C1AE) { Store (0x00, Local0) } Else { Store (C195 (0x01, 0x04), Local0) } If (LEqual (Local0, 0x00)) { Store (0x00, C19C) Store (0x00, C19D) Store (0x00, C1A4) Store (0x00, C1A9) Store (0x00, C1A1) Store (0x00, C1A5) Return (C01E) } Store (C18F (0x01), Local1) Store (DerefOf (Index (Local1, 0x00)), C19C) Store (C19C, C19D) If (LEqual (C19C, 0x0278)) { Store (0x08, C1AF) Store (0x03, C1B0) } If (LEqual (C19C, 0x03BC)) { Store (0x04, C1AF) Store (0x03, C1B0) } Add (C19C, 0x0400, C1A4) Store (C1A4, C1A9) Store (DerefOf (Index (Local1, 0x02)), C1A1) Store (DerefOf (Index (Local1, 0x03)), C1A5) Return (C01E) } PowerResource (C1B1, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C193 (0x01)) } Method (_ON, 0, NotSerialized) { C194 (0x01, 0x01) } Method (_OFF, 0, NotSerialized) { If (LOr (\_SB.C040, LEqual (0x00, 0x01))) { Store (0x00, Local0) } Else { C194 (0x01, 0x00) } } } Name (_PR0, Package (0x01) { C1B1 }) } Method (\_SB.C1B2, 0, NotSerialized) { Store (\_SB.C002.C003.C172.C18E (0x02), Local0) Return (Local0) } Method (\_SB.C199, 0, NotSerialized) { Store (0x01, Local0) If (Not (And (\_SB.C03E, 0x10))) { Store (0x00, Local0) } Return (Local0) } } Device (C1B3) { Name (_HID, EisaId ("IFX0101")) OperationRegion (C1B4, SystemIO, 0x0560, 0x02) Field (C1B4, ByteAcc, NoLock, Preserve) { C1B5, 8, C1B6, 8 } IndexField (C1B5, C1B6, ByteAcc, NoLock, Preserve) { Offset (0x20), C1B7, 8, C1B8, 8 } Mutex (C1B9, 0x00) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0560, 0x0560, 0x01, 0x10) IO (Decode16, 0x0570, 0x0570, 0x01, 0x10) }) Method (_STA, 0, NotSerialized) { C18C () If (LAnd (LEqual (C1B7, 0x06), LEqual (C1B8, 0x00)= )) { Store (0x0F, Local0) } Else { Store (0x00, Local0) } C18D () Return (Local0) } Method (C18C, 0, NotSerialized) { Acquire (C1B9, 0xFFFF) Store (0x55, C1B5) } Method (C18D, 0, NotSerialized) { Store (0xAA, C1B5) Release (C1B9) } } Device (C1BA) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, 0x00F0, 0x01, 0x10) IRQNoFlags () {13} }) } Device (C1BB) { Name (_HID, EisaId ("PNP0100")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0040, 0x0040, 0x01, 0x04) IRQNoFlags () {0} }) } Device (C1A5) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0000, 0x0000, 0x01, 0x10) IO (Decode16, 0x0080, 0x0080, 0x01, 0x10) IO (Decode16, 0x00C0, 0x00C0, 0x01, 0x20) DMA (Compatibility, NotBusMaster, Transfer16) {4} }) } Device (C1BC) { Name (_HID, EisaId ("PNP0800")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0061, 0x0061, 0x01, 0x01) }) } Device (C1BD) { Name (_HID, EisaId ("PNP0B00")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0070, 0x0070, 0x01, 0x02) IO (Decode16, 0x0072, 0x0072, 0x01, 0x02) IRQNoFlags () {8} }) } Device (C1BE) { Name (_HID, EisaId ("PNP0303")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, 0x0060, 0x01, 0x01) IO (Decode16, 0x0064, 0x0064, 0x01, 0x01) IRQNoFlags () {1} }) } Device (C1BF) { Name (_CRS, ResourceTemplate () { IRQNoFlags () {12} }) Name (C1C0, 0x01) PowerResource (C1C1, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C1C0) } Method (_ON, 0, NotSerialized) { Store (0x01, C1C0) } Method (_OFF, 0, NotSerialized) { Store (0x00, C1C0) } } Name (_PR0, Package (0x01) { C1C1 }) } Scope (C1BF) { Name (_HID, EisaId ("SYN010E")) Name (_CID, Package (0x03) { 0x00012E4F, 0x02002E4F, 0x130FD041 }) } Device (C1C2) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, 0x0020, 0x01, 0x02) IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02) IRQNoFlags () {2} }) } } Scope (C06C) { Device (C1C3) { Name (_ADR, 0x00060000) OperationRegion (C1C4, PCI_Config, 0x44, 0x04) Field (C1C4, AnyAcc, NoLock, Preserve) { C1C5, 32 } Method (_INI, 0, NotSerialized) { Store (0x00, C1C5) } } Device (C1C6) { Name (_ADR, 0x00040000) } Device (C1C7) { Name (_ADR, 0x00040001) } Scope (C071) { PowerResource (C1C8, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Store (0x01, Local1) If (And (\_SB.C002.C003.C172.C188, 0x01)) { Store (0x00, Local1) } Return (Local1) } Method (_ON, 0, NotSerialized) { And (\_SB.C002.C003.C172.C188, 0xFFFFFFFE, Loc= al0) Store (Local0, \_SB.C002.C003.C172.C188) } Method (_OFF, 0, NotSerialized) { Or (\_SB.C002.C003.C172.C188, 0x01, Local0) Store (Local0, \_SB.C002.C003.C172.C188) } } Name (_PR0, Package (0x01) { C1C8 }) } } Scope (C006) { Name (_PRW, Package (0x02) { 0x09, 0x05 }) Device (C007) { Name (_ADR, 0x00) Name (_PRW, Package (0x02) { 0x09, 0x05 }) Method (C1C9, 0, NotSerialized) { Store (0x01, \_SB.C002.C006.C0CF) Sleep (0x0A) Store (\_SB.C002.C003.C09B, Local0) And (Local0, 0xF7FFFFFF, \_SB.C002.C003.C09B) \_GPE.C1CA (0x01) } Method (C008, 0, NotSerialized) { Store (CondRefOf (\_GPE._L1A, Local0), Local1) Return (Local1) } } } Scope (C0DD) { Name (_PRW, Package (0x02) { 0x09, 0x05 }) Name (_HPP, Package (0x04) { 0x10, 0x40, 0x00, 0x00 }) Device (C1CB) { Name (_ADR, 0x00) Name (_PRW, Package (0x02) { 0x09, 0x05 }) Method (_RMV, 0, NotSerialized) { Return (0x01) } Method (_EJD, 0, NotSerialized) { Return ("_SB.C002.C0C5.C0C1.C0C2.C1CC.C1CD") } } Device (C1CE) { Name (_ADR, 0x01) } Device (C1CF) { Name (_ADR, 0x02) } Device (C1D0) { Name (_ADR, 0x03) } Device (C1D1) { Name (_ADR, 0x04) } Device (C1D2) { Name (_ADR, 0x05) } Device (C1D3) { Name (_ADR, 0x06) } Device (C1D4) { Name (_ADR, 0x07) } } Scope (C0BD) { Name (_PRW, Package (0x02) { 0x03, 0x03 }) Name (_S3D, 0x03) Name (_S4D, 0x03) } Scope (C0C4) { Name (_PRW, Package (0x02) { 0x04, 0x03 }) Name (_S3D, 0x03) Name (_S4D, 0x03) } Scope (C0C5) { Name (_PRW, Package (0x02) { 0x0C, 0x03 }) Name (_S3D, 0x03) Name (_S4D, 0x03) Scope (C0C1.C0C2) { Device (C1CC) { Name (_ADR, 0x00) Device (C1D5) { Name (_ADR, 0x00) } Device (C1CD) { Name (_ADR, 0x01) Method (_EJD, 0, NotSerialized) { Return ("_SB.C002.C0DD.C1CB") } } Device (C1D6) { Name (_ADR, 0x02) } Device (C1D7) { Name (_ADR, 0x03) } } } } Scope (C0C7) { Name (_PRW, Package (0x02) { 0x0D, 0x03 }) Name (_S3D, 0x03) Name (_S4D, 0x03) Scope (C0C1.C0CA) { Device (C1CC) { Name (_ADR, 0x00) Device (C1D5) { Name (_ADR, 0x00) } Device (C1CD) { Name (_ADR, 0x01) Method (_EJD, 0, NotSerialized) { Return ("_SB.C002.C0DD.C1CB") } } Device (C1D6) { Name (_ADR, 0x02) } Device (C1D7) { Name (_ADR, 0x03) } } } } Scope (C0A9) { Name (C1D8, 0x01) Device (C1D9) { Name (_ADR, 0x00) Name (C1DA, Package (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) Name (C1DB, Package (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Store (Buffer (0x14) { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, = 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, = 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }, Local0) CreateDWordField (Local0, 0x00, C1DC) CreateDWordField (Local0, 0x04, C1DD) CreateDWordField (Local0, 0x08, C1DE) CreateDWordField (Local0, 0x0C, C1DF) CreateDWordField (Local0, 0x10, C1E0) Store (C0B1 (0x00, 0x00), C1DC) Store (C0B4 (0x00), C1E0) If (And (C1E0, 0x01)) { Store (C0B3 (0x00, 0x00), C1DD) } Else { Store (C1DC, C1DD) } If (LOr (LEqual (And (\_SB.C10D (), 0x0F), 0x07), = LEqual (And (C1D8, 0x01), 0x00))) { Store (0x78, C1DE) Store (0x11, C1DF) Or (C1E0, 0x0C, C1E0) } Else { Store (C0B1 (0x00, 0x01), C1DE) If (And (C1E0, 0x04)) { Store (C0B3 (0x00, 0x01), C1DF) } Else { Store (C1DE, C1DF) } } Return (Local0) } Method (_STM, 3, NotSerialized) { CreateDWordField (Arg0, 0x00, C1DC) CreateDWordField (Arg0, 0x04, C1DD) CreateDWordField (Arg0, 0x08, C1DE) CreateDWordField (Arg0, 0x0C, C1DF) CreateDWordField (Arg0, 0x10, C1E0) If (LEqual (SizeOf (Arg1), 0x0200)) { Store (0x00, Local0) Store (Buffer (Multiply (SizeOf (C1E1), 0x02))= {}, Local1) While (LLess (Local0, SizeOf (C1E1))) { Store (DerefOf (Index (C1E1, Local0)), Loc= al2) Multiply (Local2, 0x02, Local2) Multiply (Local0, 0x02, Local3) Store (DerefOf (Index (Arg1, Local2)), Ind= ex (Local1, Local3)) Store (DerefOf (Index (Arg1, Add (Local2, = 0x01))), Index (Local1, Add (Local3, 0x01))) Increment (Local0) } Store (C0B5 (0x00, 0x00, C1DC, C1E0, Local1), = Local2) Store (C0B9 (0x00, 0x00, C1DD, C1E0, Local1), = Local3) \_SB.C1E2 (Local2, Local3, Local1, C1DA) If (\_SB.C1E3) { Store (0x00, \_SB.C1E3) If (And (DerefOf (Index (Arg1, 0x0100)), 0= x02)) { \_SB.C103 (0xEA49, 0x0C, 0x00, 0x00, 0= x00) } } } If (LEqual (And (\_SB.C10D (), 0x0F), 0x01)) { Or (C1D8, 0x01, C1D8) If (LEqual (SizeOf (Arg2), 0x0200)) { Store (0x00, Local0) Store (Buffer (Multiply (SizeOf (C1E1), 0x= 02)) {}, Local1) While (LLess (Local0, SizeOf (C1E1))) { Store (DerefOf (Index (C1E1, Local0)),= Local2) Multiply (Local2, 0x02, Local2) Multiply (Local0, 0x02, Local3) Store (DerefOf (Index (Arg2, Local2)),= Index (Local1, Local3)) Store (DerefOf (Index (Arg2, Add (Loca= l2, 0x01))), Index (Local1, Add (Local3, 0x01))) Increment (Local0) } Store (C0B5 (0x00, 0x01, C1DE, C1E0, Local= 1), Local2) Store (C0B9 (0x00, 0x01, C1DF, C1E0, Local= 1), Local3) \_SB.C1E2 (Local2, Local3, Local1, C1DB) If (And (DerefOf (Index (Arg2, 0x0100)), 0= x04)) { \_SB.C103 (0xEA49, 0x0C, 0x01, 0x00, 0= x00) } } } } Device (C1E4) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Return (\_SB.C1E5 (C1DA, 0x00)) } } Device (C1E6) { Name (_ADR, 0x01) Name (_RMV, 0x01) Method (_PS0, 0, NotSerialized) { Store (0x00, Local0) } Method (_PS3, 0, NotSerialized) { Store (0x00, Local0) } Method (_GTF, 0, NotSerialized) { Return (\_SB.C1E5 (C1DB, 0x01)) } } } Method (C0BB, 2, NotSerialized) { Return (0x05) } } Name (C0D9._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0DA._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0DB._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0DC._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0EF._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0F0._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0F1._PRS, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {10,11} }) Name (C0D8, 0x00) Method (\_PIC, 1, NotSerialized) { If (LEqual (Arg0, 0x01)) { Store (0x01, \_SB.C002.C0D8) } } Method (_PRT, 0, NotSerialized) { If (C0D8) { Return (Package (0x0F) { Package (0x04) { 0x0001FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x0002FFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001CFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001CFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x001CFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0x001CFFFF, 0x03, 0x00, 0x13 }, Package (0x04) { 0x001DFFFF, 0x00, 0x00, 0x14 }, Package (0x04) { 0x001DFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x001DFFFF, 0x02, 0x00, 0x12 }, Package (0x04) { 0x001DFFFF, 0x03, 0x00, 0x13 }, Package (0x04) { 0x001EFFFF, 0x00, 0x00, 0x15 }, Package (0x04) { 0x001EFFFF, 0x01, 0x00, 0x16 }, Package (0x04) { 0x001FFFFF, 0x00, 0x00, 0x10 }, Package (0x04) { 0x001FFFFF, 0x01, 0x00, 0x11 }, Package (0x04) { 0x001FFFFF, 0x03, 0x00, 0x13 } }) } Else { Return (Package (0x0F) { Package (0x04) { 0x0001FFFF, 0x00, C0D9, 0x00 }, Package (0x04) { 0x0002FFFF, 0x00, C0D9, 0x00 }, Package (0x04) { 0x001CFFFF, 0x00, C0D9, 0x00 }, Package (0x04) { 0x001CFFFF, 0x01, C0DA, 0x00 }, Package (0x04) { 0x001CFFFF, 0x02, C0DB, 0x00 }, Package (0x04) { 0x001CFFFF, 0x03, C0DC, 0x00 }, Package (0x04) { 0x001DFFFF, 0x00, C0EF, 0x00 }, Package (0x04) { 0x001DFFFF, 0x01, C0DA, 0x00 }, Package (0x04) { 0x001DFFFF, 0x02, C0DB, 0x00 }, Package (0x04) { 0x001DFFFF, 0x03, C0DC, 0x00 }, Package (0x04) { 0x001EFFFF, 0x00, C0F0, 0x00 }, Package (0x04) { 0x001EFFFF, 0x01, C0F1, 0x00 }, Package (0x04) { 0x001FFFFF, 0x00, C0D9, 0x00 }, Package (0x04) { 0x001FFFFF, 0x01, C0DA, 0x00 }, Package (0x04) { 0x001FFFFF, 0x03, C0DC, 0x00 } }) } } Method (C057._PRT, 0, NotSerialized) { If (C0D8) { Return (Package (0x01) { Package (0x04) { 0xFFFF, 0x00, 0x00, 0x10 } }) } Else { Return (Package (0x01) { Package (0x04) { 0xFFFF, 0x00, C0D9, 0x00 } }) } } Method (C06C._PRT, 0, NotSerialized) { If (C0D8) { Return (Package (0x07) { Package (0x04) { 0x0004FFFF, 0x00, 0x00, 0x15 }, Package (0x04) { 0x0004FFFF, 0x01, 0x00, 0x15 }, Package (0x04) { 0x0006FFFF, 0x00, 0x00, 0x12 }, Package (0x04) { 0x0006FFFF, 0x01, 0x00, 0x13 }, Package (0x04) { 0x0006FFFF, 0x02, 0x00, 0x16 }, Package (0x04) { 0x0006FFFF, 0x03, 0x00, 0x13 }, Package (0x04) { 0x000EFFFF, 0x00, 0x00, 0x14 } }) } Else { Return (Package (0x07) { Package (0x04) { 0x0004FFFF, 0x00, C0F0, 0x00 }, Package (0x04) { 0x0004FFFF, 0x01, C0F0, 0x00 }, Package (0x04) { 0x0006FFFF, 0x00, C0DB, 0x00 }, Package (0x04) { 0x0006FFFF, 0x01, C0DC, 0x00 }, Package (0x04) { 0x0006FFFF, 0x02, C0F1, 0x00 }, Package (0x04) { 0x0006FFFF, 0x03, C0DC, 0x00 }, Package (0x04) { 0x000EFFFF, 0x00, C0EF, 0x00 } }) } } } Name (C167, Package (0x02) { Package (0x0D) { 0x01, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0xFFFFFFFF, 0x00, 0x00, 0x64, 0x64, "Primary", "100000", "LIon", "Hewlett-Packard" }, Package (0x0D) { 0x01, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0xFFFFFFFF, 0x00, 0x00, 0x64, 0x64, "Travel", "100000", "LIon", "Hewlett-Packard" } }) Name (C166, Package (0x02) { Package (0x04) { 0x00, 0x00, 0xB010, 0x40F2 }, Package (0x04) { 0x00, 0x00, 0xB010, 0x40F2 } }) Name (C165, Package (0x04) { 0x00, 0x00, 0xB010, 0x40F2 }) Name (C159, 0x01) Method (C164, 1, Serialized) { Store (\_SB.C002.C003.C004.C164 (Arg0), Local0) If (LEqual (Local0, 0xFFFFFFFD)) { Return (Package (0x0D) { 0x00, 0xFFFFFFFF, 0xFFFFFFFF, 0x01, 0xFFFFFFFF, 0x00, 0x00, 0x00, 0x00, "", "", "", 0x00 }) } Else { Return (DerefOf (Index (C167, Arg0))) } } Name (C1E7, 0x01) Method (C168, 1, Serialized) { Store (\_SB.C002.C003.C10B (C1E7), Local1) If (C1E7) { Store (0x00, C1E7) } Store (\_SB.C002.C003.C004.C168 (Arg0, Local1), Local0) Return (DerefOf (Index (C166, Arg0))) } Device (C171) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { Return (\_SB.C002.C003.C004.C162 (0x01)) } Method (_BIF, 0, NotSerialized) { Return (C164 (0x00)) } Method (_BST, 0, NotSerialized) { Return (C168 (0x00)) } Name (_PCL, Package (0x01) { \_SB }) } Device (C170) { Name (_HID, EisaId ("PNP0C0A")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { Store (0x00, Local0) If (LEqual (\_SB.C041, 0x00)) { Store (\_SB.C002.C003.C004.C162 (0x02), Local0) } Return (Local0) } Method (_BIF, 0, NotSerialized) { Return (C164 (0x01)) } Method (_BST, 0, NotSerialized) { Return (C168 (0x01)) } Name (_PCL, Package (0x01) { \_SB }) } Device (C16F) { Name (_HID, "ACPI0003") Name (_PCL, Package (0x01) { \_SB }) Method (_PSR, 0, NotSerialized) { Store (\_SB.C002.C003.C004.C005 (), Local0) If (XOr (Local0, C159)) { If (\_SB.C002.C006.C007.C008 ()) { \_GPE.C1E8 (0x00) } Store (Local0, C159) If (\_PR.C000.C001) { Store (0x00, \_SB.C002.C003.C086) } } Return (Local0) } } Device (C1E9) { Name (_HID, EisaId ("PNP0C0E")) } Device (C1EA) { Name (_HID, EisaId ("PNP0C0D")) Method (_LID, 0, NotSerialized) { Store (0x00, Local0) If (And (\_SB.C002.C003.C00A, 0x2000)) { Store (0x01, Local0) } Return (Local0) } } Name (C1E1, Buffer (0x09) { 0x2F, 0x31, 0x35, 0x3F, 0x40, 0x53, 0x58, 0x80, 0x00 }) Name (C1E3, 0x00) Method (C1E2, 4, NotSerialized) { CreateWordField (Arg2, 0x00, C1EB) CreateWordField (Arg2, 0x06, C1EC) CreateWordField (Arg2, 0x0A, C1ED) CreateWordField (Arg2, 0x0E, C1EE) Store (0x00, Local0) While (LLess (Local0, SizeOf (Arg3))) { Store (0x00, Index (Arg3, Local0)) Increment (Local0) } Store (Arg0, Local0) Store (Arg1, Local1) If (LEqual (Local1, 0x00)) { If (And (C1EC, 0x01)) { Store (0x20, Local1) If (LAnd (LEqual (And (Local0, 0x07), 0x03), And (C1EC= , 0x02))) { Or (Local1, 0x01, Local1) } Else { If (LAnd (LEqual (And (Local0, 0x07), 0x04), And (= C1EC, 0x04))) { Or (Local1, 0x02, Local1) } } } } Store (Local0, Index (Arg3, 0x00)) Store (Local1, Index (Arg3, 0x01)) If (And (C1EE, 0x01)) { Store (0x01, Index (Arg3, 0x02)) } If (And (C1ED, 0x0800)) { Store (0x01, Index (Arg3, 0x03)) } If (LNot (LEqual (C1EB, 0x00))) { Store (C1EB, Index (Arg3, 0x04)) } } Method (C1EF, 3, NotSerialized) { If (LOr (LEqual (Arg0, 0x00), LEqual (Arg0, 0x01))) { Store (Buffer (0x07) { 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF }, Local0) Store (Arg1, Index (Local0, 0x01)) } If (LEqual (Arg0, 0x02)) { Store (Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5 }, Local0) } If (LEqual (Arg0, 0x03)) { Store (Buffer (0x07) { 0xC1, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1 }, Local0) } If (LEqual (Arg0, 0x04)) { Store (Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC6 }, Local0) Store (Arg1, Index (Local0, 0x01)) } Store (Or (0xA0, ShiftLeft (Arg2, 0x04)), Index (Local0, 0x05)= ) Return (Local0) } Method (C1E5, 2, NotSerialized) { Store (0x00, Local0) While (LLess (Local0, SizeOf (Arg0))) { If (LNot (LEqual (DerefOf (Index (Arg0, Local0)), 0x00))) { Store (C1EF (Local0, DerefOf (Index (Arg0, Local0)), A= rg1), Local2) If (LEqual (Local0, 0x00)) { Store (Local2, Local1) } Else { Concatenate (Local1, Local2, Local3) Store (Local3, Local1) } } Increment (Local0) } Return (Local1) } Device (C1F0) { Name (C1F1, Package (0x07) { 0x04, 0x04, 0x04, 0x00, 0x04, 0x04, 0x00 }) Name (C1F2, Buffer (0x1010) {}) Method (C1F3, 2, NotSerialized) { CreateDWordField (Arg1, 0x00, C1F4) CreateDWordField (Arg1, 0x04, C1F5) CreateDWordField (Arg1, 0x08, C1F6) CreateDWordField (Arg1, 0x0C, C1F7) If (LEqual (Arg0, 0x01)) { Store (0x00, Local0) } If (LEqual (Arg0, 0x02)) { Store (0x04, Local0) } If (LEqual (Arg0, 0x03)) { Store (0x80, Local0) } If (LEqual (Arg0, 0x04)) { Store (0x0400, Local0) } If (LEqual (Arg0, 0x05)) { Store (0x1000, Local0) } Store (Buffer (Add (0x08, Local0)) {}, Local1) CreateDWordField (Local1, 0x00, C1F8) CreateDWordField (Local1, 0x04, C1F9) Store (C1F7, Local5) If (LGreater (C1F7, 0x1000)) { Store (0x1000, Local5) } CreateField (Arg1, 0x00, Multiply (Add (Local5, 0x10), 0x0= 8), C1FA) Store (C1FA, \_SB.C030) Store (0x4C494146, C1F8) Store (0x02, C1F9) If (LEqual (C1F4, 0x55434553)) { Store (0x03, C1F9) If (LEqual (C1F5, 0x01)) { Store (0x04, C1F9) If (LEqual (C1F6, 0x01)) { Store (^C1FB (), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x02)) { Store (^C1FC (), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x03)) { Store (^C1FD (), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x04)) { Store (^C1FE (), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x05)) { Store (^C1FF (), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x07)) { If (C1F7) { Store (DerefOf (Index (Arg1, 0x10)), Local= 3) Store (C200 (Local3), Local2) Store (0x00, C1F9) } Else { Store (0x05, C1F9) } } } If (LEqual (C1F5, 0x02)) { Store (0x04, C1F9) If (LAnd (LGreater (C1F6, 0x00), LNot (LGreater (C= 1F6, 0x06)))) { If (LLess (C1F7, DerefOf (Index (C1F1, Subtrac= t (C1F6, 0x01))))) { Store (0x05, C1F9) } Else { CreateDWordField (Arg1, 0x10, C201) If (LEqual (C1F6, 0x01)) { Store (^C202 (C201), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x02)) { Store (^C203 (C201), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x03)) { Store (^C204 (C201), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x05)) { Store (^C205 (C201), Local2) Store (0x00, C1F9) } If (LEqual (C1F6, 0x06)) { Store (^C206 (C201), Local2) Store (0x00, C1F9) } } } } If (LEqual (C1F5, 0x00020000)) { \_SB.C103 (0xEA75, C1F5, C1F6, 0x574D4953, 0x00) Store (C207 (), Local2) Store (0x00, C1F9) } } If (LEqual (C1F9, 0x00)) { Store (DerefOf (Index (Local2, 0x00)), C1F9) If (LEqual (C1F9, 0x00)) { If (LNot (LGreater (DerefOf (Index (Local2, 0x01))= , Local0))) { Store (0x00, Local0) While (LLess (Local0, DerefOf (Index (Local2, = 0x01)))) { Store (DerefOf (Index (DerefOf (Index (Loc= al2, 0x02)), Local0)), Index (Local1, Add (Local0, 0x08))) Increment (Local0) } Store (0x53534150, C1F8) } Else { Store (0x05, C1F9) } } } Store (C1F2, \_SB.C030) Return (Local1) } Method (C207, 0, NotSerialized) { If (LEqual (C051, 0x00)) { Store (Package (0x02) { 0x00, 0x00 }, Local0) } Else { Store (C051, Local1) Store (Package (0x03) { 0x00, 0x00, Buffer (Local1) {} }, Local0) } Store (C053, Index (Local0, 0x00)) Store (C051, Index (Local0, 0x01)) If (LEqual (C053, 0x00)) { If (LNot (LEqual (C051, 0x00))) { Store (\_SB.C030, Local1) Store (0x00, Local2) While (LLess (Local2, C051)) { Store (DerefOf (Index (Local1, Local2)), Index= (DerefOf (Index (Local0, 0x02)), Local2)) Increment (Local2) } } } Return (Local0) } Method (C208, 2, NotSerialized) { If (LEqual (\_SB.C1F0.C209, 0x00)) { Store (Arg0, \_SB.C1F0.C209) Store (Arg1, \_SB.C1F0.C20A) } Else { Store (Arg0, \_SB.C1F0.C20B) Store (Arg1, \_SB.C1F0.C20C) } Notify (\_SB.C1F0, 0x80) } Name (_HID, EisaId ("PNP0C14")) Name (_UID, 0x00) Name (C209, 0x00) Name (C20A, 0x00) Name (C20B, 0x00) Name (C20C, 0x00) Name (_WDG, Buffer (0x3C) { 0x34, 0xF0, 0xB7, 0x5F, 0x63, 0x2C, 0xE9, 0x45, 0xBE, 0x91, 0x3D, 0x44, 0xE2, 0xC7, 0x07, 0xE4, 0x41, 0x41, 0x01, 0x02, 0x79, 0x42, 0xF2, 0x95, 0x7B, 0x4D, 0x34, 0x43, 0x93, 0x87, 0xAC, 0xCD, 0xC6, 0x7E, 0xF6, 0x1C, 0x80, 0x00, 0x01, 0x08, 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1, 0x11, 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, 0x41, 0x42, 0x01, 0x00 }) Method (WMAA, 3, NotSerialized) { Return (C1F3 (Arg1, Arg2)) } Method (C1FB, 0, NotSerialized) { \_SB.C103 (0xEA74, 0x02, 0x00, 0x00, 0x00) Store (Package (0x03) { 0x00, 0x01, Buffer (0x01) {} }, Local0) Store (And (C04B, 0x0F), Index (DerefOf (Index (Local0, 0x= 02)), 0x00)) Return (Local0) } Method (C202, 1, NotSerialized) { And (Arg0, 0x0F, Local0) If (LEqual (And (\_SB.C049, 0x83), 0x00)) { If (LNot (LEqual (Local0, C04A))) { Store (Local0, C04C) Notify (\_SB.C002.C057.C0F9, 0x80) } } Else { If (And (\_SB.C049, 0x80)) { Store (Local0, C04D) \_SB.C103 (0xEA74, 0x01, 0x00, 0x00, 0x00) } } Return (Package (0x02) { 0x00, 0x00 }) } Method (C1FC, 0, NotSerialized) { Return (Package (0x02) { 0x04, 0x00 }) } Method (C203, 1, NotSerialized) { Return (Package (0x02) { 0x04, 0x00 }) } Method (C1FD, 0, NotSerialized) { Store (Package (0x03) { 0x00, 0x01, Buffer (0x01) { 0x01 } }, Local0) If (And (\_SB.C002.C003.C09B, 0x00020000)) { Store (Package (0x03) { 0x00, 0x01, Buffer (0x01) { 0x00 } }, Local0) } Return (Local0) } Method (C204, 1, NotSerialized) { \_SB.C103 (0xEA75, 0x02, 0x03, 0x574D4953, 0x00) Return (C207 ()) } Method (C1FE, 0, NotSerialized) { Store (Package (0x03) { 0x00, 0x01, Buffer (0x01) { 0x01 } }, Local0) If (And (XOr (\_SB.C002.C003.C08B, \_SB.C002.C003.C00A), 0= x80)) { Store (Package (0x03) { 0x00, 0x01, Buffer (0x01) { 0x00 } }, Local0) } Return (Local0) } Method (C1FF, 0, NotSerialized) { \_SB.C103 (0xEA75, 0x01, 0x05, 0x574D4953, 0x00) Return (C207 ()) } Method (C205, 1, NotSerialized) { \_SB.C103 (0xEA75, 0x02, 0x05, 0x574D4953, 0x00) Return (C207 ()) } Method (C206, 1, NotSerialized) { Return (Package (0x02) { 0x04, 0x00 }) } Method (C200, 1, NotSerialized) { If (LLess (Arg0, SizeOf (C167))) { Return (\_SB.C002.C003.C004.C16A (Arg0)) } Else { Return (Package (0x02) { 0x06, 0x00 }) } } Method (_WED, 1, NotSerialized) { Concatenate (C209, C20A, Local0) If (LNot (LEqual (C20B, 0x00))) { Store (C20B, C209) Store (C20C, C20A) Store (0x00, C20B) Store (0x00, C20C) } Else { Store (0x00, C209) Store (0x00, C20A) } Return (Local0) } Name (WQAB, Buffer (0x08A9) { 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, 0x99, 0x08, 0x00, 0x00, 0x8A, 0x3A, 0x00, 0x00, 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, 0x98, 0x4B, 0x9C, 0x00, 0x01, 0x06, 0x18, 0x42, 0x10, 0x13, 0x10, 0x22, 0x21, 0x04, 0x12, 0x01, 0xA1, 0xC8, 0x2C, 0x0C, 0x86, 0x10, 0x38, 0x2E, 0x84, 0x1C, 0x40, 0x88, 0x59, 0x50, 0x08, 0x21, 0x10, 0xEA, 0x4F, 0x20, 0xBF, 0x02, 0x10, 0x3A, 0x14, 0x20, 0x53, 0x80, 0x41, 0x01, 0x4E, 0x11, 0x44, 0xD0, 0xAB, 0x00, 0x9B, 0x02, 0x4C, 0x0A, 0xB0, 0x28, 0x40, 0xBB, 0x00, 0xCB, 0x02, 0x74, 0x0B, 0x90, 0x0E, 0x4B, 0x44, 0x82, 0xA3, 0xC4, 0x80, 0xA3, 0x74, 0x62, 0x0B, 0x37, 0x6C, 0xF0, 0x42, 0x51, 0x34, 0x83, 0x28, 0x09, 0x2A, 0x17, 0xE0, 0x1B, 0x41, 0xE0, 0xE5, 0x0A, 0x90, 0x3C, 0x01, 0x69, 0x16, 0x60, 0x58, 0x80, 0x75, 0x01, 0xB2, 0x87, 0x40, 0xA5, 0x0E, 0x01, 0x25, 0x67, 0x08, 0xA8, 0x01, 0xB4, 0x3A, 0x01, 0xE1, 0x57, 0x3A, 0x25, 0x24, 0x41, 0x38, 0x63, 0x15, 0x8F, 0xAF, 0x59, 0x34, 0x3D, 0x27, 0x39, 0xC7, 0x90, 0xE3, 0x71, 0xA1, 0x07, 0xC1, 0x05, 0x78, 0x18, 0x06, 0x1D, 0xB2, 0x22, 0x6B, 0x80, 0xC1, 0x58, 0x18, 0x0B, 0x75, 0x31, 0x6A, 0xD4, 0x48, 0xD9, 0x80, 0x0C, 0x51, 0x12, 0x1C, 0x6A, 0xD4, 0x96, 0x28, 0xC0, 0xFC, 0x38, 0x34, 0xBB, 0xB6, 0xC7, 0x42, 0x20, 0x99, 0xB4, 0xA1, 0xA0, 0xA4, 0x40, 0x68, 0x6C, 0x67, 0xEA, 0x19, 0x45, 0x3C, 0x52, 0xC3, 0x24, 0xF0, 0x28, 0x22, 0x1B, 0x8D, 0x43, 0x63, 0x87, 0xE1, 0x61, 0x06, 0x3B, 0x88, 0xC3, 0x38, 0xE6, 0xC8, 0x09, 0x3C, 0xA1, 0x23, 0x3D, 0xF2, 0xC2, 0xE6, 0x29, 0xD4, 0x18, 0xCD, 0x41, 0x11, 0xB8, 0xD0, 0x18, 0x19, 0x10, 0xF2, 0x3C, 0x7E, 0x8D, 0xC4, 0x04, 0x76, 0x2F, 0xC0, 0x1A, 0xA6, 0x60, 0x1B, 0x9B, 0x98, 0xFE, 0xFF, 0x10, 0x47, 0x1E, 0xA3, 0xAD, 0xB9, 0x0B, 0x29, 0x4C, 0x8C, 0x28, 0xC1, 0xE2, 0x55, 0x3C, 0x0D, 0xA1, 0x3C, 0x29, 0x84, 0x8A, 0x54, 0x19, 0x8A, 0x86, 0x1E, 0xA5, 0x42, 0x01, 0xCE, 0xE6, 0x21, 0xDC, 0x1A, 0x41, 0x85, 0x10, 0x2B, 0x52, 0xAC, 0xF6, 0x07, 0x41, 0x42, 0x2E, 0x5B, 0xC7, 0x07, 0x47, 0x1A, 0x0D, 0xEA, 0x50, 0xE0, 0xB1, 0x7B, 0xDC, 0xCF, 0x02, 0x3E, 0x08, 0x9C, 0x5B, 0x90, 0xA3, 0x3B, 0x8B, 0x47, 0x85, 0x83, 0xF6, 0xF0, 0xD8, 0x6D, 0xC0, 0x67, 0x08, 0x9F, 0x02, 0xF0, 0xAE, 0x01, 0x35, 0xFD, 0x83, 0x67, 0x82, 0xE0, 0x50, 0x43, 0xF4, 0xA8, 0xC3, 0x9D, 0xC0, 0x21, 0x32, 0x40, 0x4F, 0xEA, 0xB8, 0xB1, 0x83, 0x3B, 0x99, 0x83, 0x7E, 0x6F, 0x68, 0xF6, 0xC6, 0x40, 0x08, 0x8E, 0xC7, 0x97, 0x05, 0x36, 0xE1, 0x04, 0x96, 0x3F, 0x08, 0xD4, 0xC8, 0x0C, 0xED, 0x51, 0x9E, 0x56, 0xCC, 0x90, 0xCF, 0x0C, 0x26, 0xB0, 0x58, 0x08, 0x29, 0x80, 0xD0, 0x78, 0xC0, 0x7F, 0x03, 0x78, 0xC0, 0xF0, 0xCD, 0xC0, 0xF3, 0x35, 0xC1, 0xB0, 0x10, 0x32, 0xB2, 0x0A, 0x8F, 0x87, 0x8E, 0xC2, 0xD7, 0x83, 0xC3, 0x39, 0xAD, 0x78, 0x26, 0x18, 0x0E, 0x42, 0x27, 0x09, 0x8B, 0x1A, 0x36, 0x3D, 0x39, 0xF0, 0x43, 0x03, 0xBB, 0x19, 0x9C, 0xC1, 0x23, 0x80, 0x47, 0x72, 0x42, 0xFE, 0x98, 0x78, 0x60, 0xF0, 0x01, 0xF1, 0xDE, 0xA7, 0x4C, 0x46, 0x70, 0xA6, 0x06, 0xF4, 0x71, 0xC0, 0xFF, 0xFF, 0xA1, 0xF0, 0x21, 0x7A, 0x7C, 0xA7, 0x7C, 0xBC, 0x96, 0x00, 0x21, 0x59, 0xE3, 0x84, 0x7E, 0x87, 0xF0, 0xF1, 0xC3, 0x47, 0x16, 0x47, 0x84, 0x90, 0x93, 0x53, 0x00, 0x1A, 0xF8, 0x74, 0xCF, 0x2E, 0xC2, 0xE9, 0x7A, 0x52, 0x0E, 0x34, 0x0C, 0x3A, 0x4E, 0x70, 0x9C, 0x07, 0xC0, 0x31, 0x4E, 0xF8, 0xE7, 0x02, 0xF8, 0x03, 0xE4, 0xA7, 0x8C, 0x57, 0x8C, 0x04, 0x8E, 0x39, 0x42, 0xF4, 0xB9, 0xC6, 0x23, 0xC4, 0xC2, 0x3F, 0x55, 0x14, 0x3E, 0x10, 0x32, 0x46, 0x70, 0x01, 0x7A, 0x8C, 0xC0, 0x37, 0xE0, 0x18, 0xD1, 0x47, 0x09, 0xAE, 0xFE, 0xA0, 0x41, 0x07, 0x88, 0xFB, 0xFF, 0x0F, 0x10, 0x3E, 0xA8, 0x07, 0x08, 0x7C, 0xA3, 0x1F, 0x3D, 0xD0, 0xE3, 0xB2, 0xE8, 0xF3, 0x80, 0x8C, 0x9F, 0x68, 0x34, 0x2F, 0x7E, 0x3A, 0xE0, 0x87, 0x0F, 0xF0, 0x80, 0x7A, 0x48, 0x38, 0x50, 0xCC, 0xB4, 0x39, 0xE8, 0xB3, 0xCB, 0xA1, 0x63, 0x87, 0x0B, 0xFE, 0x13, 0x08, 0xB8, 0xE4, 0x1D, 0xC2, 0x40, 0x31, 0x62, 0xFC, 0x39, 0xC8, 0xA7, 0x30, 0xF0, 0xFF, 0xFF, 0x4F, 0x61, 0xB8, 0x11, 0xF0, 0x20, 0xAF, 0x05, 0x9F, 0xB6, 0xA8, 0x74, 0x18, 0xD4, 0x81, 0x0B, 0x30, 0x09, 0x1A, 0xE1, 0x59, 0xA2, 0x36, 0x08, 0x01, 0xBF, 0x4D, 0xBC, 0x6D, 0xF9, 0x16, 0x10, 0xE7, 0xC8, 0x7B, 0x3B, 0x70, 0x11, 0x8C, 0x08, 0xA7, 0x1D, 0xCA, 0x63, 0x88, 0x18, 0x23, 0xCA, 0xE3, 0x96, 0x51, 0xDE, 0xB6, 0x5E, 0x00, 0xE2, 0x9D, 0xE5, 0xF3, 0x96, 0x31, 0x82, 0x47, 0x7E, 0xE0, 0x62, 0x62, 0xDF, 0x13, 0xFA, 0xB9, 0xF9, 0xC0, 0x05, 0x38, 0xFB, 0xFF, 0x1F, 0xB8, 0x00, 0x0E, 0x05, 0x3D, 0x0C, 0xA1, 0x87, 0xE1, 0xA9, 0x9C, 0xCB, 0x13, 0xE5, 0xA9, 0x44, 0x8C, 0x1A, 0x26, 0xEA, 0x33, 0x94, 0x2F, 0x1A, 0x3E, 0x10, 0x81, 0xEF, 0xCC, 0x05, 0xFC, 0xFE, 0xFF, 0x07, 0x22, 0x38, 0x02, 0xCF, 0x34, 0xA0, 0xF4, 0x39, 0x03, 0x81, 0x9C, 0x8A, 0x0F, 0x35, 0xC0, 0x48, 0xF4, 0xAB, 0xC1, 0x27, 0x1A, 0x2A, 0x13, 0x06, 0x75, 0xA8, 0x01, 0x4C, 0x5E, 0x61, 0x9E, 0x46, 0xCF, 0xF9, 0x59, 0xC6, 0xA7, 0x1A, 0x1F, 0x4A, 0x8D, 0x63, 0x88, 0x97, 0x99, 0x87, 0x1A, 0x1F, 0x0B, 0x5E, 0x49, 0x7D, 0xA8, 0x31, 0x54, 0x9C, 0x87, 0x1A, 0x9F, 0x48, 0x03, 0x45, 0x7D, 0xB3, 0x79, 0xB6, 0x31, 0x7A, 0x7C, 0xDF, 0x50, 0x0D, 0xF1, 0x50, 0xC3, 0x84, 0xBD, 0x23, 0xF4, 0xC1, 0xF5, 0xA1, 0x06, 0x1C, 0xFF, 0xFF, 0x43, 0x0D, 0xC0, 0xFF, 0xFF, 0xFF, 0xA1, 0x06, 0x70, 0x74, 0x34, 0x80, 0x73, 0x64, 0xC4, 0x1D, 0x0D, 0xC0, 0x75, 0x28, 0x05, 0x0E, 0x47, 0x03, 0xE0, 0x71, 0x14, 0x02, 0xF3, 0x85, 0xC6, 0x47, 0x21, 0x60, 0xF1, 0xFF, 0x3F, 0x0A, 0xE1, 0x64, 0x9F, 0x83, 0x50, 0x42, 0x8F, 0x42, 0x80, 0x54, 0xC8, 0xA7, 0x88, 0x67, 0x1F, 0x5F, 0x7E, 0x1E, 0x08, 0x22, 0xBC, 0xE6, 0xFB, 0x14, 0xE4, 0x43, 0xBE, 0x8F, 0x42, 0x0C, 0xC6, 0x50, 0xBE, 0x06, 0xF9, 0x28, 0xC4, 0xA0, 0x5E, 0x83, 0x7C, 0xDF, 0x37, 0xC8, 0x91, 0x18, 0xFB, 0x99, 0xC0, 0x47, 0x21, 0x26, 0xED, 0x28, 0x04, 0x28, 0xFC, 0xFF, 0x1F, 0x85, 0x00, 0xFE, 0xFF, 0xFF, 0x8F, 0x42, 0x80, 0xB3, 0x00, 0x47, 0x03, 0xD0, 0x4D, 0xEB, 0x51, 0x08, 0xBC, 0x77, 0x96, 0xD3, 0x3E, 0x01, 0x9F, 0x85, 0x00, 0xB3, 0xFF, 0xFF, 0xB3, 0x10, 0x30, 0x3B, 0x0A, 0x45, 0x3D, 0xE8, 0x57, 0xA1, 0x27, 0x80, 0x17, 0x80, 0x18, 0x61, 0xDE, 0x81, 0x5E, 0x32, 0xD9, 0x5D, 0xDC, 0x38, 0x4F, 0x2E, 0xA7, 0x6D, 0x94, 0x97, 0x20, 0x1F, 0x28, 0x9E, 0x85, 0x0C, 0xF5, 0x2E, 0x14, 0xF4, 0x8D, 0xDC, 0xA3, 0x8C, 0x19, 0x3F, 0xC4, 0xF3, 0x90, 0x21, 0x9E, 0x85, 0x00, 0x76, 0xFD, 0xFF, 0xCF, 0x42, 0x00, 0xFF, 0xFF, 0xFF, 0x47, 0x03, 0xF8, 0x2F, 0x00, 0x9F, 0x85, 0x80, 0xE7, 0x09, 0xE0, 0x41, 0xDB, 0x67, 0x21, 0x80, 0x33, 0x87, 0xCB, 0xF3, 0x0F, 0x7A, 0x60, 0xEF, 0x11, 0x9E, 0xF5, 0x71, 0xBF, 0x5E, 0x7A, 0xE0, 0x0F, 0x05, 0xCF, 0x42, 0x0C, 0xEB, 0x98, 0x7C, 0x16, 0x62, 0x10, 0x2F, 0x9A, 0x86, 0x78, 0xE1, 0xF4, 0x61, 0xC0, 0xFF, 0x7F, 0xBC, 0xC0, 0xAF, 0x9C, 0x06, 0x0A, 0x12, 0xE8, 0x59, 0x08, 0x60, 0xFC, 0xFF, 0xFF, 0x2C, 0x04, 0x90, 0x71, 0x8D, 0x3A, 0x0B, 0x01, 0xCB, 0x63, 0x0C, 0x3B, 0xAD, 0x24, 0xF8, 0xFF, 0x3F, 0x0B, 0x01, 0x9F, 0x5C, 0x46, 0x0E, 0x42, 0x98, 0x88, 0x6F, 0x05, 0x1F, 0x33, 0x01, 0xA5, 0xE7, 0xA0, 0x17, 0x77, 0x63, 0x04, 0x7E, 0x91, 0x78, 0xCC, 0x64, 0x47, 0x4D, 0xC3, 0x3C, 0x0B, 0x19, 0xEF, 0x30, 0xCE, 0xE0, 0x09, 0xDE, 0x93, 0x7F, 0x16, 0x62, 0x60, 0xC7, 0x18, 0xEC, 0x51, 0xC8, 0xA0, 0x06, 0x8F, 0x1D, 0x22, 0x4C, 0xA0, 0x67, 0x21, 0x16, 0x6A, 0xDC, 0x3A, 0x7F, 0xF8, 0x2C, 0x04, 0xBC, 0xFF, 0xFF, 0x67, 0x21, 0xC0, 0xD3, 0x61, 0xC3, 0x67, 0x0D, 0xF0, 0x0C, 0xDF, 0xA3, 0x3A, 0x87, 0xC7, 0x63, 0xE0, 0x92, 0x55, 0xC7, 0x09, 0x83, 0xE5, 0x5E, 0xA7, 0x6C, 0x9C, 0x61, 0xE8, 0x20, 0xAC, 0x0E, 0x48, 0xC3, 0xC1, 0xDC, 0x43, 0x0E, 0xE2, 0x7C, 0xD8, 0x40, 0xAD, 0x08, 0x4E, 0xC7, 0x24, 0x0F, 0xDA, 0x5A, 0x28, 0xA4, 0x80, 0x46, 0x03, 0x32, 0xBC, 0x33, 0x9F, 0x96, 0x28, 0x88, 0x01, 0x7D, 0x02, 0xB2, 0x8D, 0x73, 0x00, 0x6A, 0x2F, 0x9A, 0x02, 0x39, 0xDA, 0x60, 0xF4, 0x5F, 0x16, 0xE8, 0x6C, 0x7C, 0x0D, 0xE0, 0x1A, 0x20, 0x74, 0x30, 0x30, 0xB4, 0xD5, 0xDC, 0x62, 0x50, 0x60, 0xC6, 0x7F, 0x70, 0x31, 0x81, 0x8F, 0x2E, 0xF8, 0xB3, 0x00, 0xEE, 0xFF, 0x3F, 0x5C, 0x8F, 0xF6, 0x5D, 0xA0, 0xEA, 0xC9, 0xEA, 0x8A, 0x60, 0x75, 0x97, 0x17, 0x08, 0x33, 0x32, 0x41, 0x7D, 0x07, 0x02, 0x50, 0x00, 0xF9, 0x0E, 0xE0, 0xA3, 0xD3, 0x73, 0x00, 0x9B, 0x48, 0x88, 0x30, 0xD1, 0x8C, 0x8E, 0x98, 0x30, 0x2A, 0xFA, 0x84, 0x29, 0x88, 0x27, 0xEC, 0x58, 0x13, 0x46, 0xCF, 0xC4, 0x77, 0x1B, 0x36, 0x62, 0x4C, 0x88, 0xDB, 0x06, 0xB4, 0x09, 0x06, 0xF5, 0x3D, 0x08, 0xD6, 0x90, 0xF9, 0x58, 0x7C, 0x67, 0xC0, 0x4D, 0x19, 0x8C, 0x73, 0x62, 0xD7, 0x04, 0x0B, 0x9C, 0x33, 0xC8, 0xE1, 0x31, 0xD7, 0x2F, 0x7E, 0x5B, 0xF2, 0xE8, 0xF8, 0x41, 0xC1, 0x37, 0x1C, 0x86, 0xFD, 0x30, 0xE6, 0x19, 0xBD, 0x8A, 0xF9, 0xE6, 0x86, 0x81, 0xF5, 0x78, 0x39, 0xAC, 0xD1, 0xC2, 0x1E, 0xDA, 0xAB, 0x87, 0xCF, 0x2D, 0x3E, 0x4F, 0x18, 0x23, 0xAC, 0x2F, 0x2C, 0xE0, 0x00, 0xFC, 0xFF, 0xBF, 0x5A, 0xC1, 0xBE, 0x6B, 0x80, 0xE7, 0x26, 0xE4, 0xBB, 0x06, 0xC0, 0xDA, 0xFF, 0xFF, 0x5D, 0x03, 0xFE, 0x35, 0xC1, 0x77, 0x0D, 0xE0, 0x3D, 0x74, 0xDF, 0x35, 0x80, 0x6B, 0xF6, 0xBB, 0x06, 0xEA, 0x18, 0x60, 0x85, 0x77, 0x0D, 0x68, 0xB7, 0xB4, 0x57, 0xB4, 0x87, 0x2A, 0x6B, 0xBA, 0x6C, 0xA0, 0xD4, 0x5C, 0x36, 0x00, 0x6D, 0xFF, 0xFF, 0xCB, 0x06, 0xB0, 0x91, 0x32, 0x61, 0x54, 0xF8, 0x09, 0x53, 0x10, 0x4F, 0xD8, 0xC1, 0x2E, 0x1B, 0xA0, 0x88, 0x71, 0xD9, 0x00, 0xFD, 0xD8, 0x5E, 0x36, 0x80, 0xC1, 0x3D, 0x81, 0xDF, 0x36, 0x80, 0x37, 0xA4, 0x6F, 0x1B, 0xC0, 0xF4, 0xFF, 0x0F, 0x31, 0xFF, 0x6D, 0x03, 0xC5, 0x61, 0x95, 0xB7, 0x0D, 0x88, 0x87, 0x77, 0x46, 0x60, 0x55, 0xD7, 0x0D, 0x94, 0x9E, 0xEB, 0x06, 0x40, 0x02, 0x31, 0x13, 0x46, 0xC5, 0x9F, 0x30, 0x05, 0xF1, 0x84, 0x1D, 0xED, 0xBA, 0x01, 0x8A, 0x20, 0xD7, 0x0D, 0xD0, 0xCF, 0xEB, 0x94, 0xC1, 0xFA, 0xFF, 0xBF, 0x6E, 0x60, 0x2F, 0x0A, 0x98, 0xFB, 0x06, 0xF0, 0x86, 0xE5, 0xF7, 0x0D, 0xC0, 0xC7, 0xE5, 0x1B, 0x73, 0xDF, 0x00, 0x6C, 0xFE, 0xFF, 0xEF, 0x1B, 0x00, 0x13, 0x2E, 0x0A, 0xB8, 0xFB, 0x06, 0xF0, 0xBE, 0x48, 0xFB, 0xBE, 0x01, 0x5C, 0x83, 0x49, 0xF8, 0xFF, 0xDF, 0xF5, 0xE8, 0x0B, 0x40, 0x51, 0x60, 0x50, 0x43, 0xF2, 0x99, 0x00, 0x3F, 0xBA, 0x83, 0x3B, 0xA6, 0xE0, 0x4C, 0x12, 0x1C, 0x6A, 0xE0, 0xBE, 0x02, 0x3C, 0xCD, 0x9F, 0xD6, 0x7B, 0xBD, 0xE7, 0xF1, 0x24, 0x10, 0x92, 0x1D, 0x61, 0x7C, 0x6C, 0x43, 0x9C, 0x0C, 0xC8, 0x41, 0xDC, 0x47, 0xF7, 0x88, 0xEF, 0xE1, 0x86, 0x49, 0xE0, 0x21, 0x33, 0x34, 0x0E, 0x8D, 0x1D, 0x86, 0xEF, 0x02, 0xC1, 0x0E, 0xE2, 0x30, 0xCE, 0xD7, 0x04, 0x9E, 0xD0, 0x83, 0xC0, 0x7B, 0xF9, 0xA3, 0x41, 0xF1, 0x77, 0x03, 0x4A, 0x60, 0xB8, 0xD0, 0x98, 0x91, 0xFA, 0x6C, 0xFF, 0x8E, 0x70, 0x24, 0x26, 0xB0, 0x7B, 0x48, 0x59, 0x13, 0xA0, 0xF1, 0x96, 0x43, 0x20, 0x7A, 0xC3, 0x91, 0x2D, 0x14, 0xCD, 0x2D, 0xCA, 0xFB, 0x42, 0x14, 0x3B, 0x43, 0x10, 0x46, 0x94, 0x60, 0x41, 0x9E, 0xD6, 0x62, 0x45, 0x79, 0x66, 0x37, 0x42, 0xC4, 0x10, 0xAF, 0x0C, 0x81, 0x5E, 0x12, 0xC2, 0x07, 0x79, 0xEC, 0x89, 0xD3, 0xFE, 0x20, 0x88, 0xF8, 0x17, 0x82, 0x3C, 0x80, 0x28, 0xD2, 0x68, 0x50, 0xE7, 0x06, 0x8F, 0xDD, 0x87, 0x10, 0x5F, 0xFE, 0x7D, 0xB8, 0xF7, 0xE8, 0x0E, 0xEE, 0x45, 0xFE, 0xA0, 0x3D, 0x3C, 0x76, 0xC2, 0xF0, 0x41, 0x03, 0x8E, 0x6B, 0x40, 0x4D, 0xFF, 0x19, 0x01, 0x2C, 0x97, 0x7F, 0xF8, 0xE3, 0xF1, 0x3D, 0xC1, 0xF3, 0x39, 0xE1, 0x04, 0x96, 0x3F, 0x08, 0xD4, 0x71, 0x84, 0xCF, 0xF3, 0x85, 0xC3, 0x90, 0xCF, 0x02, 0x87, 0xC5, 0xC4, 0x0A, 0xF8, 0xFF, 0x9F, 0x4C, 0xD8, 0x78, 0xC0, 0x7F, 0x0F, 0x79, 0xFD, 0xF7, 0xCD, 0xC0, 0xF3, 0x35, 0xC1, 0x88, 0x10, 0x72, 0x32, 0x1E, 0x34, 0xE8, 0xD9, 0xF8, 0x80, 0xE1, 0xEB, 0x09, 0x3B, 0x77, 0x70, 0x51, 0xE7, 0x0E, 0xD4, 0xD1, 0xC1, 0xA7, 0x06, 0x76, 0xB3, 0xC1, 0x1C, 0xB7, 0xF9, 0x59, 0x03, 0xFC, 0x23, 0x84, 0x7F, 0x7B, 0xF0, 0xBC, 0x7C, 0x65, 0x78, 0x75, 0x48, 0xE0, 0x90, 0x23, 0x44, 0x8F, 0xCB, 0x23, 0xC4, 0x9C, 0x6F, 0x30, 0x43, 0x04, 0xD7, 0x59, 0x00, 0x1C, 0x43, 0x04, 0x3E, 0x67, 0x4C, 0x9F, 0x71, 0x60, 0xFE, 0xFF, 0xCF, 0x38, 0xEC, 0xD2, 0xC3, 0x07, 0x6A, 0x78, 0x13, 0xF8, 0xFE, 0x8C, 0x3B, 0xD2, 0x18, 0x9C, 0x1F, 0x33, 0x1E, 0x76, 0x18, 0xF8, 0xFB, 0x8E, 0x67, 0x70, 0x34, 0x3E, 0xA0, 0x18, 0x21, 0xF8, 0x73, 0xC9, 0x73, 0x8A, 0x35, 0x0F, 0x52, 0x33, 0x7A, 0x67, 0x38, 0x04, 0x76, 0xB3, 0xC2, 0x1D, 0x38, 0x3C, 0x04, 0x3E, 0x80, 0x56, 0x27, 0x47, 0x4E, 0x3F, 0xA7, 0x84, 0x1B, 0x3E, 0xBF, 0x0A, 0x60, 0x0E, 0x41, 0x38, 0x85, 0x36, 0x7D, 0x6A, 0x34, 0x6A, 0xD5, 0xA0, 0x4C, 0x8D, 0x32, 0x0D, 0x6A, 0xF5, 0xA9, 0xD4, 0x98, 0xB1, 0x0B, 0x8B, 0x03, 0xBE, 0x02, 0x74, 0x1C, 0xB0, 0x3C, 0x0A, 0x1D, 0xC1, 0xC8, 0x9B, 0x40, 0x20, 0x0E, 0x0B, 0x42, 0x23, 0xBD, 0x71, 0x04, 0x62, 0xC9, 0xEF, 0x2F, 0x81, 0x58, 0xEE, 0x03, 0x45, 0x20, 0x0E, 0x68, 0x02, 0x9C, 0xAA, 0x00, 0xA7, 0xAF, 0x01, 0x81, 0x38, 0x32, 0x08, 0x15, 0xFA, 0x35, 0x13, 0x88, 0x63, 0x82, 0xD0, 0x50, 0x3E, 0x40, 0x98, 0xF4, 0x17, 0x80, 0x00, 0x89, 0x11, 0x10, 0x16, 0xEE, 0xE5, 0x20, 0x10, 0x4B, 0x7B, 0x2D, 0x08, 0xC4, 0x42, 0xAC, 0x80, 0xB0, 0xB8, 0x20, 0x34, 0x9C, 0x16, 0x10, 0x26, 0xC9, 0x0C, 0x08, 0x0B, 0x04, 0x42, 0xE5, 0x3F, 0xD3, 0x04, 0x62, 0x91, 0x6E, 0x00, 0xE9, 0xBA, 0x05, 0xE2, 0x20, 0x7A, 0x40, 0x98, 0x0C, 0x3F, 0x20, 0x2C, 0x34, 0x08, 0x8D, 0xF6, 0x6C, 0x10, 0x20, 0x31, 0x04, 0xC2, 0xE2, 0x3B, 0x02, 0x61, 0xE2, 0xDF, 0x44, 0x02, 0x71, 0x4A, 0x4B, 0x10, 0x37, 0xA5, 0x01, 0x06, 0x11, 0x90, 0x93, 0x6A, 0x02, 0x62, 0xB9, 0x41, 0x34, 0x24, 0xF2, 0xB0, 0x10, 0x90, 0x93, 0x82, 0x68, 0xC0, 0xC4, 0x14, 0x90, 0xFF, 0xFF, 0x43, 0x13, 0x88, 0x80, 0x9C, 0xCA, 0x15, 0x10, 0x8B, 0x08, 0x22, 0x20, 0x27, 0x7B, 0x52, 0x09, 0xC8, 0x39, 0x41, 0x74, 0x04, 0x20, 0xBA, 0x80, 0x58, 0x3E, 0x10, 0x01, 0x39, 0x96, 0x2F, 0x20, 0x16, 0x12, 0x44, 0x40, 0x4E, 0xF4, 0xF3, 0x09, 0x44, 0xE2, 0x81, 0x68, 0x10, 0xE4, 0x3F, 0x21, 0x20, 0x67, 0x04, 0x11, 0x10, 0x79, 0x12, 0x05, 0x21, 0x9A, 0x3E, 0x62, 0x02, 0x71, 0x6A, 0x10, 0x9A, 0xEC, 0x27, 0x14, 0x84, 0xFC, 0xFF, 0x01 }) } Mutex (C20D, 0x00) Method (C103, 5, NotSerialized) { Acquire (C20D, 0xFFFF) If (Arg4) { Acquire (\_GL, 0xFFFF) } ShiftLeft (Arg0, 0x10, C050) Store (Arg1, C053) Store (Arg2, C051) Store (Arg3, C052) Store (0x00, C054) \C0F3 (Arg0) Store (C054, Local0) If (Arg4) { Release (\_GL) } Release (C20D) Return (Local0) } OperationRegion (C20E, SystemIO, 0x84, 0x02) Field (C20E, ByteAcc, NoLock, Preserve) { C20F, 8, C210, 8 } Mutex (C211, 0x00) Mutex (C212, 0x00) Name (C213, 0x00) Method (C21D, 1, NotSerialized) { Acquire (C211, 0xFFFF) Store (Arg0, C20F) Release (C211) Return (0x00) } Method (C220, 1, NotSerialized) { Acquire (C211, 0xFFFF) Store (Arg0, C210) Release (C211) Return (0x00) } Method (C221, 1, NotSerialized) { Acquire (C211, 0xFFFF) Store (And (Arg0, 0xFF), C20F) Store (And (ShiftRight (Arg0, 0x08), 0xFF), C210) C223 (Arg0) Release (C211) Return (0x00) } Method (C21F, 1, NotSerialized) { Return (0x00) } Method (C222, 1, NotSerialized) { Return (0x00) } Method (C21E, 0, NotSerialized) { Return (0x00) } Method (C226, 0, Serialized) { Acquire (C212, 0xFFFF) C21D (C213) Release (C212) } Method (C227, 0, Serialized) { Acquire (C212, 0xFFFF) C221 (C213) Release (C212) } Method (C223, 1, Serialized) { Return (0x00) } } Device (\_SB.C22A) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x00) Name (C22B, Package (0x10) {}) Name (C22C, Package (0x10) {}) Name (C22D, Package (0x11) {}) Name (C22E, Package (0x11) {}) Name (C22F, 0xFFFFFFFD) Mutex (C230, 0x00) Method (C231, 0, NotSerialized) { Add (\_SB.C02E, 0x000F0000, Local0) Return (Local0) } OperationRegion (C232, SystemMemory, C231, 0xB0) Field (C232, AnyAcc, NoLock, Preserve) { C233, 640 } Method (C234, 1, NotSerialized) { OperationRegion (C235, SystemMemory, Arg0, 0x03) Field (C235, ByteAcc, NoLock, Preserve) { C236, 16, C237, 8 } Store (0x00, Local0) If (LEqual (C236, 0xAA55)) { ShiftLeft (C237, 0x09, Local0) Add (Arg0, Local0, Local0) Decrement (Local0) } Return (Local0) } Method (C238, 0, NotSerialized) { Store (C233, Local0) Store (0x00, Local3) Store (0x00, Local4) Store (0x01, Local1) While (LAnd (Local1, LNot (LGreater (Local3, 0x10)))) { Store (DerefOf (Index (Local0, Add (Local4, 0x03))), Local= 2) Or (ShiftLeft (DerefOf (Index (Local0, Add (Local4, 0x04))= ), 0x08), Local2, Local1) ShiftLeft (Local1, 0x04, Local1) If (Local1) { Store (Local1, Index (C22B, Local3)) Store (DerefOf (Index (Local0, Add (Local4, 0x02))), L= ocal5) Add (Local1, ShiftLeft (Local5, 0x09), Local5) Decrement (Local5) Store (Local5, Index (C22C, Local3)) Increment (Local3) Add (Local4, 0x05, Local4) } } Return (Local3) } Method (C239, 0, NotSerialized) { Store (C238 (), Local3) Store (Local3, Local4) Store (0x00, Local2) Store (Local2, Local7) While (LLess (Local2, Local4)) { Store (0x000FFFFF, Local1) Store (Local2, Local5) While (LLess (Local5, Local3)) { Store (DerefOf (Index (C22B, Local5)), Local6) If (LGreater (Local6, Local7)) { If (LLess (Local6, Local1)) { Store (Local5, Local0) Store (Local6, Local1) } } Else { If (LEqual (Local6, Local7)) { Decrement (Local4) } } Increment (Local5) } If (LGreater (Local0, Local2)) { Store (DerefOf (Index (C22C, Local0)), Local7) Store (DerefOf (Index (C22B, Local2)), Index (C22B, Lo= cal0)) Store (DerefOf (Index (C22C, Local2)), Index (C22C, Lo= cal0)) Store (Local1, Index (C22B, Local2)) Store (Local7, Index (C22C, Local2)) } Store (C234 (Local1), Local7) If (Local7) { Store (Local7, Index (C22C, Local2)) } Store (Local1, Local7) Increment (Local2) } Return (Local4) } Method (C23A, 1, NotSerialized) { Acquire (C05F, 0xFFFF) Store (0x00, Local0) Store (Local0, C22F) Store (Local0, Local2) Store (Local0, Local3) While (LNot (LGreater (Local0, 0x10))) { Store (Local2, Index (C22D, Local0)) Store (Local2, Index (C22E, Local0)) Increment (Local0) } Store (ShiftLeft (C026, 0x04), Local0) Store (Local0, Index (C061, C060)) Store (Local0, Index (C062, C060)) Store (Local0, Index (C22B, Arg0)) Store (Local0, Index (C22C, Arg0)) While (LAnd (LNot (LGreater (Local2, Arg0)), LNot (LGreater (L= ocal3, C060)))) { Store (DerefOf (Index (C061, Local3)), Local0) Add (DerefOf (Index (C062, Local3)), 0x01, Local1) Store (DerefOf (Index (C22B, Local2)), Local4) Add (DerefOf (Index (C22C, Local2)), 0x01, Local5) Store (DerefOf (Index (C22D, C22F)), Local6) If (LNot (LGreater (Local1, Local4))) { If (Local6) { Subtract (Local0, Local6, Index (C22E, C22F)) Increment (C22F) } If (LLess (Local1, Local4)) { Store (Local1, Index (C22D, C22F)) } Increment (Local3) } Else { If (Local6) { Subtract (Local4, Local6, Local7) If (LGreater (Local7, 0x00)) { Store (Local7, Index (C22E, C22F)) Increment (C22F) } } If (LGreater (Local0, Local5)) { Store (Local5, Index (C22D, C22F)) } Increment (Local2) } } Release (C05F) } Method (C23B, 0, NotSerialized) { Acquire (C230, 0xFFFF) If (LEqual (C22F, 0xFFFFFFFD)) { C05E () Store (C239 (), Local0) C23A (Local0) } Store (C22F, Local1) Release (C230) Return (Local1) } Method (_INI, 0, NotSerialized) { C23B () } Method (C065, 3, NotSerialized) { Store (Arg1, Local2) CreateDWordField (Arg0, Local2, C23C) Store (0x0986, C23C) Add (Local2, 0x04, Local2) CreateDWordField (Arg0, Local2, C23D) Store (DerefOf (Index (C22D, Arg2)), C23D) Add (Local2, 0x04, Local2) CreateDWordField (Arg0, Local2, C23E) Store (DerefOf (Index (C22E, Arg2)), C23E) Add (Local2, 0x04, Local2) Return (Local2) } Method (C23F, 0, NotSerialized) { Multiply (C22F, 0x0C, Local1) Add (SizeOf (C01E), Local1, Local2) Store (Buffer (Local2) {}, Local0) Store (0x00, Local1) Store (Local1, Local2) While (LLess (Local1, C22F)) { Store (C065 (Local0, Local2, Local1), Local2) Increment (Local1) } Store (0x00, Local1) While (LLess (Local1, SizeOf (C01E))) { Store (DerefOf (Index (C01E, Local1)), Index (Local0, Loca= l2)) Increment (Local2) Increment (Local1) } Return (Local0) } Method (_CRS, 0, NotSerialized) { C240 () Store (C01E, Local0) Acquire (C230, 0xFFFF) If (LGreater (C22F, 0x00)) { Store (C23F (), Local0) } Release (C230) Return (Local0) } Method (_STA, 0, NotSerialized) { Subtract (SizeOf (C01E), 0x02, Local0) Or (C23B (), Local0, Local0) If (Local0) { Store (0x0F, Local0) } Return (Local0) } } Scope (\_SB.C22A) { Name (C01E, ResourceTemplate () { Memory32Fixed (ReadWrite, 0xFEDA0000, 0x00020000) Memory32Fixed (ReadWrite, 0xFEC01000, 0x00001000) }) Method (C240, 0, NotSerialized) { Store (0x00, Local0) } } Device (\_SB.C002.C241) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x01) Method (_CRS, 0, NotSerialized) { Name (C242, ResourceTemplate () { IO (Decode16, 0x04D0, 0x04D0, 0x01, 0x02) IO (Decode16, 0x1000, 0x1000, 0x01, 0x80) IO (Decode16, 0x1100, 0x1100, 0x01, 0x40) IO (Decode16, 0x1200, 0x1200, 0x01, 0x20) Memory32Fixed (ReadWrite, 0xE0000000, 0x10000000) Memory32Fixed (ReadWrite, 0xFEC00000, 0x00000100) Memory32Fixed (ReadWrite, 0xFED20000, 0x00070000) Memory32Fixed (ReadWrite, 0xFED90000, 0x0000B000) }) Return (C242) } } Device (\_SB.C002.C003.C244) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x02) Name (\_SB.C002.C003.C198, ResourceTemplate () { IO (Decode16, 0x0010, 0x0010, 0x01, 0x10) IO (Decode16, 0x0024, 0x0024, 0x01, 0x1C) IO (Decode16, 0x004E, 0x004E, 0x01, 0x02) IO (Decode16, 0x0050, 0x0050, 0x01, 0x04) IO (Decode16, 0x0063, 0x0063, 0x01, 0x01) IO (Decode16, 0x0065, 0x0065, 0x01, 0x01) IO (Decode16, 0x0067, 0x0067, 0x01, 0x01) IO (Decode16, 0x0074, 0x0074, 0x01, 0x04) IO (Decode16, 0x0090, 0x0090, 0x01, 0x10) IO (Decode16, 0x00A4, 0x00A4, 0x01, 0x1A) IO (Decode16, 0x0500, 0x0500, 0x01, 0x80) Memory32Fixed (ReadOnly, 0xFFB00000, 0x00100000) Memory32Fixed (ReadOnly, 0xFFF00000, 0x00100000) }) Method (_CRS, 0, NotSerialized) { If (LEqual (\_SB.C002.C003.C1B3._STA (), 0x0F)) { CreateByteField (C198, 0x57, C068) Store (0x60, C068) } Return (^^C172.C197 ()) } } 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 }) Method (\_PTS, 1, NotSerialized) { Store (Arg0, \_SB.C03C) If (LGreater (Arg0, 0x00)) { If (LNot (LEqual (Arg0, 0x05))) { \_SB.C002.C003.C004.C161 (0x00) If (LNot (LEqual (Arg0, 0x04))) { Store (0x01, \_SB.C1E3) } Store (0x01, \_SB.C1E7) } } } Method (\_WAK, 1, NotSerialized) { Store (0x00, \_SB.C03C) Store (0x00, \_SB.C047) \_SB.C002.C003.C004.C114 () If (\_SB.C002.C003.C004.C110) { Acquire (\_SB.C002.C003.C004.C10E, 0xFFFF) Store (0x01, \_SB.C002.C003.C004.C119) Store (0x00, \_SB.C002.C003.C004.C118) Release (\_SB.C002.C003.C004.C10E) } If (LGreater (Arg0, 0x02)) { \_TZ.C246 () Notify (\_TZ.TZ1, 0x80) Notify (\_TZ.TZ2, 0x80) Store (0x01, \_SB.C1E7) } If (LOr (LEqual (Arg0, 0x04), LEqual (\C01A (), 0x01))) { Notify (\_SB.C1E9, 0x02) } Store (\_SB.C002.C003.C004.C005 (), Local2) \_SB.C002.C003.C004.C112 (0x03, 0xFF) Store (\_SB.C002.C003.C004.C113 (), Local1) Store (\_SB.C002.C003.C004.C005 (), Local3) XOr (Local2, Local3, Local3) If (Local3) { Notify (\_SB.C16F, 0x80) If (\_PR.C000.C001) { Notify (\_PR.C000, 0x81) } Notify (\_PR.C000, 0x80) } Else { If (LEqual (Arg0, 0x04)) { XOr (Local2, 0x01, \_SB.C159) } } Notify (\_SB.C002.C0A9.C1D9, 0x00) Notify (\_SB.C002.C0BD, 0x00) Notify (\_SB.C002.C0C4, 0x00) Notify (\_SB.C002.C0C5, 0x00) Notify (\_SB.C002.C0C6, 0x00) Notify (\_SB.C002.C0C7, 0x00) Return (Package (0x02) { 0x00, 0x00 }) } Scope (\_TZ) { Name (C247, Package (0x04) { Package (0x02) { Package (0x06) { 0x05AC, 0x0C0A, 0x0CD2, 0x0D36, 0x0D9A, 0x0E30 }, Package (0x06) { 0x0C6E, 0x0CF0, 0x0D68, 0x0DCC, 0x0E94, 0x0FA3 } }, Package (0x02) { Package (0x06) { 0x05AC, 0x0C0A, 0x0CD2, 0x0D36, 0x0D9A, 0x0E30 }, Package (0x06) { 0x0C6E, 0x0CF0, 0x0D68, 0x0DCC, 0x0E94, 0x0FA3 } }, Package (0x02) { Package (0x02) { 0x05AC, 0x0E62 }, Package (0x02) { 0x0EC6, 0x0FA3 } }, Package (0x02) { Package (0x02) { 0x05AC, 0x0CA0 }, Package (0x02) { 0x0D04, 0x0FA3 } } }) Name (C248, 0x00) Name (C249, 0x01) Name (C24A, 0x02) Name (C24B, 0x03) Name (C24C, 0x04) Name (C24D, 0x00) Name (C24E, 0x00) Name (C24F, 0x00) Name (C250, 0x01) Name (C251, Package (0x03) { 0x00, 0x00, 0x00 }) Name (C252, Package (0x03) { 0x00, 0x00, 0x00 }) Name (C253, Package (0x03) { 0xFFFFFFFD, 0xFFFFFFFD, 0xFFFFFFFD }) Name (C254, 0x00) Mutex (C16D, 0x00) Name (C16E, 0x07) Method (C255, 2, Serialized) { Store (0x00, Local2) If (And (C254, Arg0)) { If (LNot (LGreater (\_SB.C002.C003.C004.C152, Arg1))) { Store (0x01, Local2) } } Return (Local2) } Method (C256, 2, Serialized) { ShiftLeft (Arg0, 0x01, Local0) Decrement (Local0) Store (0x62, \_SB.C002.C003.C004.C153) If (LEqual (And (C254, Local0), 0x00)) { Store (Arg1, \_SB.C002.C003.C004.C152) } Or (C254, Arg0, C254) } Method (C257, 2, Serialized) { And (C254, Not (Arg0), C254) Store (0x7F, Local0) If (C254) { Store (Arg1, Local0) } If (LEqual (Local0, 0x7F)) { Store (0x72, \_SB.C002.C003.C004.C153) } If (LOr (Arg1, LEqual (C254, 0x00))) { Store (Local0, \_SB.C002.C003.C004.C152) } } Method (C258, 2, Serialized) { Store (0x01, Local0) Store (Arg0, Local1) If (LLess (Arg0, DerefOf (Index (C253, Arg1)))) { Store (0x00, Local0) Add (Arg0, 0x01, Local1) } Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C247, C= 259 (Arg1))), Local0)), Local1)), Local2) If (LAnd (LEqual (\_SB.C043, 0x01), LAnd (LEqual (Arg0, 0x00),= LEqual (Arg1, 0x00)))) { If (\_SB.C002.C003.C004.C005 ()) { Store (0x0B4B, Local2) } } Return (Local2) } Method (C246, 0, NotSerialized) { Acquire (C16D, 0xFFFF) Store (0x07, C16E) Store (0xFFFFFFFD, Index (C253, 0x00)) Store (0xFFFFFFFD, Index (C253, 0x01)) Store (0x00, C254) Release (C16D) \_SB.C002.C003.C0A3 (0x30, 0x09, 0x00) Subtract (0x0EC6, 0x0AAC, Local1) Divide (Local1, 0x0A, Local0, Local2) Add (Local2, 0x01, Local2) \_SB.C002.C003.C0A3 (0x30, 0x19, Local2) \_SB.C002.C003.C0A3 (0x30, 0x16, Local2) Subtract (0x0F2A, 0x0AAC, Local1) Divide (Local1, 0x0A, Local0, Local2) Add (Local2, 0x01, Local2) \_SB.C002.C003.C0A3 (0x30, 0x09, 0x08) \_SB.C002.C003.C0A3 (0x30, 0x19, Local2) \_SB.C002.C003.C0A3 (0x30, 0x16, Local2) \_SB.C002.C003.C0A3 (0x30, 0x09, 0x00) Store (0x7F, Local2) \_SB.C002.C003.C0A3 (0x30, 0x20, Local2) \_SB.C002.C003.C0A3 (0x30, 0x17, Local2) \_SB.C002.C003.C0A3 (0x30, 0x0B, Local2) \_SB.C002.C003.C0A3 (0x30, 0x0C, 0x80) \_SB.C002.C003.C0A3 (0x30, 0x21, 0x0A) Store (0x7F, \_SB.C002.C003.C004.C152) } Method (C25A, 1, Serialized) { If (LLess (Arg0, 0x02)) { If (LEqual (Arg0, 0x01)) { \_SB.C002.C003.C0A3 (0x30, 0x09, 0x08) Store (\_SB.C002.C003.C0A3 (0x31, 0x01, 0x00), Local2) \_SB.C002.C003.C0A3 (0x30, 0x09, 0x00) } Else { Store (\_SB.C002.C003.C0A3 (0x31, 0x01, 0x00), Local2) Store (And (Add (\_SB.C048, Local2), 0xFF), Local2) } If (And (Local2, 0x80)) { Subtract (0x0100, Local2, Local2) } Multiply (Local2, 0x0A, Local1) Add (Local1, 0x0AAC, Local1) } Else { Store (0x0B4C, Local1) Acquire (\_SB.C002.C003.C004.C10E, 0xFFFF) If (\_SB.C002.C003.C004.C110) { Store (\_SB.C002.C003.C004.C14B, Local1) } Release (\_SB.C002.C003.C004.C10E) } Store (Local1, Local2) If (LLess (Local1, 0x0B4C)) { If (LLess (DerefOf (Index (C251, Arg0)), 0x0B4C)) { Store (0x0B4C, Index (C252, Arg0)) } Store (DerefOf (Index (C252, Arg0)), Local1) } Store (Local2, Index (C251, Arg0)) Store (Local1, Index (C252, Arg0)) Acquire (C16D, 0xFFFF) Store (ShiftLeft (0x01, Arg0), Local2) If (And (C16E, Local2)) { If (C250) { Store (Match (DerefOf (Index (DerefOf (Index (C247, C2= 59 (Arg0))), 0x01)), MGT, Local1, MTR, 0x00, 0x00), Local0) } Else { Store (Match (DerefOf (Index (DerefOf (Index (C247, C2= 59 (Arg0))), 0x00)), MGE, Local1, MTR, 0x00, 0x00), Local0) Decrement (Local0) Store (0x01, C250) } If (LOr (LNot (LEqual (Local0, DerefOf (Index (C253, Arg0)= ))), C24F)) { Store (0x00, C24F) Store (Local0, Index (C253, Arg0)) If (LLess (Arg0, 0x02)) { C25B (Local0, Arg0) } Else { Notify (\_TZ.TZ3, 0x81) } } And (C16E, Not (Local2), C16E) } Release (C16D) Return (Local1) } Method (C25B, 2, Serialized) { Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C247, C= 259 (Arg1))), 0x01)), Arg0)), Local0) Subtract (Local0, 0x0AAC, Local0) Divide (Local0, 0x0A, Local1, Local6) If (LAnd (LEqual (Arg1, 0x00), LLess (Local6, 0x7F))) { Store (And (Subtract (Local6, \_SB.C048), 0xFF), Local6) } Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C247, C= 259 (Arg1))), 0x00)), Arg0)), Local0) If (LLess (Local0, 0x0AAC)) { Subtract (0x0AAC, Local0, Local1) Divide (Local1, 0x0A, Local3, Local2) Not (Local2, Local2) Add (Local2, 0x01, Local2) And (Local2, 0xFF, Local2) } Else { Subtract (Local0, 0x0AAC, Local0) Divide (Local0, 0x0A, Local1, Local2) If (LEqual (Arg1, 0x00)) { Store (And (Subtract (Local2, \_SB.C048), 0xFF), Local= 2) } } If (LLess (Arg1, 0x02)) { Store (0x0D, Local5) Store (0x0E, Local4) If (Arg1) { \_SB.C002.C003.C0A3 (0x30, 0x09, 0x08) } \_SB.C002.C003.C0A3 (0x30, Local4, Local2) \_SB.C002.C003.C0A3 (0x30, Local5, Local6) \_SB.C002.C003.C0A3 (0x30, 0x09, 0x00) If (Arg1) { \_SB.C103 (0xEA74, 0x03, Arg0, 0x00, 0x00) Notify (\_TZ.TZ2, 0x81) } Else { Notify (\_TZ.TZ1, 0x81) } } } Method (C259, 1, Serialized) { If (LEqual (Arg0, 0x00)) { Store (C24E, Local1) } Else { Add (Arg0, 0x01, Local1) } Return (Local1) } PowerResource (C25C, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C255 (0x01, 0x80)) } Method (_ON, 0, NotSerialized) { If (LGreater (DerefOf (Index (C252, 0x00)), C258 (C24B, 0x= 00))) { C256 (0x01, 0x80) } } Method (_OFF, 0, NotSerialized) { C257 (0x01, 0xA0) } } PowerResource (C25D, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C255 (0x02, 0xA0)) } Method (_ON, 0, NotSerialized) { If (LGreater (DerefOf (Index (C252, 0x00)), C258 (C24A, 0x= 00))) { C256 (0x02, 0xA0) } } Method (_OFF, 0, NotSerialized) { C257 (0x02, 0xB8) } } PowerResource (C25E, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C255 (0x04, 0xB8)) } Method (_ON, 0, NotSerialized) { If (LGreater (DerefOf (Index (C252, 0x00)), C258 (C249, 0x= 00))) { C256 (0x04, 0xB8) } } Method (_OFF, 0, NotSerialized) { C257 (0x04, 0xCC) } } PowerResource (C25F, 0x00, 0x0000) { Method (_STA, 0, NotSerialized) { Return (C255 (0x08, 0xCC)) } Method (_ON, 0, NotSerialized) { If (LGreater (DerefOf (Index (C252, 0x00)), C258 (C248, 0x= 00))) { C256 (0x08, 0xCC) } } Method (_OFF, 0, NotSerialized) { C257 (0x08, 0x7F) } } Device (C260) { Method (_INI, 0, NotSerialized) { \_TZ.C246 () } Name (_HID, EisaId ("PNP0C0B")) Name (_UID, 0x00) Name (_PR0, Package (0x01) { C25C }) } Device (C261) { Name (_HID, EisaId ("PNP0C0B")) Name (_UID, 0x01) Name (_PR0, Package (0x01) { C25D }) } Device (C262) { Name (_HID, EisaId ("PNP0C0B")) Name (_UID, 0x02) Name (_PR0, Package (0x01) { C25E }) } Device (C263) { Name (_HID, EisaId ("PNP0C0B")) Name (_UID, 0x03) Name (_PR0, Package (0x01) { C25F }) } ThermalZone (TZ1) { Name (_AL0, Package (0x01) { C260 }) Name (_AL1, Package (0x01) { C261 }) Name (_AL2, Package (0x01) { C262 }) Name (_AL3, Package (0x01) { C263 }) Method (_AC0, 0, NotSerialized) { Return (C258 (C24B, 0x00)) } Method (_AC1, 0, NotSerialized) { Return (C258 (C24A, 0x00)) } Method (_AC2, 0, NotSerialized) { Return (C258 (C249, 0x00)) } Method (_AC3, 0, NotSerialized) { Return (C258 (C248, 0x00)) } Method (_PSV, 0, NotSerialized) { Return (C258 (C24C, 0x00)) } Name (_PSL, Package (0x01) { \_PR.C000 }) Method (C264, 1, NotSerialized) { Store (Arg0, C24E) Acquire (C16D, 0xFFFF) Store (0x07, C16E) Store (0x01, C24F) Release (C16D) If (LEqual (Arg0, 0x00)) { Store (0x00, C248) Store (0x01, C249) Store (0x02, C24A) Store (0x03, C24B) Store (0x04, C24C) } Else { Store (0x00, C248) Store (0x01, C24C) Store (0x02, C249) Store (0x03, C24A) Store (0x04, C24B) } } Name (_TSP, 0x64) Name (_TC1, 0x01) Name (_TC2, 0x02) Name (_CRT, 0x0EC6) Method (_TMP, 0, Serialized) { Store (C25A (0x00), Local0) Return (Local0) } } ThermalZone (TZ2) { Method (C265, 0, NotSerialized) { Return (C258 (0x00, 0x01)) } Name (C266, Package (0x01) { \_PR.C000 }) Name (_TSP, 0x012C) Name (_TC1, 0x01) Name (_TC2, 0x02) Name (_CRT, 0x0F2A) Method (_TMP, 0, Serialized) { Store (C25A (0x01), Local0) Return (Local0) } } ThermalZone (TZ3) { Method (_PSV, 0, NotSerialized) { Return (C258 (0x00, 0x02)) } Name (_PSL, Package (0x01) { \_PR.C000 }) Name (_TSP, 0x012C) Name (_TC1, 0x01) Name (_TC2, 0x02) Name (_CRT, 0x0EC6) Method (_TMP, 0, Serialized) { Store (C25A (0x02), Local0) Return (Local0) } } } Scope (\_GPE) { Method (_L00, 0, NotSerialized) { Store (0x00, Local1) Store (\_SB.C002.C003.C0A3 (0x31, 0x02, 0x00), Local0) Store (\_SB.C002.C003.C0A3 (0x31, 0x12, 0x00), Local2) If (And (LEqual (And (Local0, 0xFF00), 0x00), LEqual (And (Loc= al2, 0xFF00), 0x00))) { If (And (Local0, 0x18)) { Store (0x01, Local1) If (And (Local0, 0x08)) { Store (0x00, \_TZ.C250) } } If (And (Local2, 0x18)) { Store (0x02, Local1) If (And (Local0, 0x08)) { Store (0x00, \_TZ.C250) } } } Else { Store (0x03, Local1) } Acquire (\_TZ.C16D, 0xFFFF) Store (Local1, \_TZ.C16E) Release (\_TZ.C16D) If (And (Local1, 0x01)) { Notify (\_TZ.TZ1, 0x80) } If (And (Local1, 0x02)) { Notify (\_TZ.TZ2, 0x80) } } Method (_L01, 0, NotSerialized) { If (LEqual (And (\_SB.C002.C06C.C06E, 0x00010000), 0x00)) { If (\_SB.C002.C006.C0D4) { Store (0x01, \_SB.C002.C006.C0D4) Or (0x08, 0x01, \_SB.C002.C006.C0D0) If (And (\_SB.C002.C006.C0D0, 0x40)) { Sleep (0x01F4) } Notify (\_SB.C002.C006, 0x00) } } If (LEqual (And (\_SB.C002.C06C.C06E, 0x00020000), 0x00)) { If (\_SB.C002.C0DD.C0D4) { Store (0x01, \_SB.C002.C0DD.C0D4) Or (0x08, 0x01, \_SB.C002.C0DD.C0D0) Sleep (0x64) Notify (\_SB.C002.C0DD, 0x00) } } } Method (_L03, 0, NotSerialized) { Notify (\_SB.C002.C0BD, 0x02) } Method (_L04, 0, NotSerialized) { Notify (\_SB.C002.C0C4, 0x02) } Method (_L09, 0, NotSerialized) { If (LEqual (And (\_SB.C002.C06C.C06E, 0x00010000), 0x00)) { If (\_SB.C002.C006.C0D2) { While (\_SB.C002.C006.C0D2) { Store (0x01, \_SB.C002.C006.C0D2) } Store (0x01, \_SB.C002.C006.C0D5) Notify (\_SB.C002.C006, 0x02) } } If (LEqual (And (\_SB.C002.C06C.C06E, 0x00020000), 0x00)) { If (\_SB.C002.C0DD.C0D2) { While (\_SB.C002.C0DD.C0D2) { Store (0x01, \_SB.C002.C0DD.C0D2) } Store (0x01, \_SB.C002.C0DD.C0D5) Notify (\_SB.C002.C0DD, 0x02) } } } Method (_L0B, 0, NotSerialized) { Notify (\_SB.C002.C06C, 0x02) } Method (_L0C, 0, NotSerialized) { Notify (\_SB.C002.C0C5, 0x02) } Method (_L0D, 0, NotSerialized) { Notify (\_SB.C002.C0C7, 0x02) } Method (_L0E, 0, NotSerialized) { Notify (\_SB.C002.C0C6, 0x02) } Method (_L17, 0, NotSerialized) { And (\_SB.C002.C003.C087, 0xFFFF3FFF, Local0) Or (Local0, 0x4000, \_SB.C002.C003.C087) If (\_SB.C002.C006.C007.C008 ()) { C1E8 (0x00) } \_SB.C002.C057.C0F9.C100 (0x01) If (LEqual (And (\_SB.C049, 0x83), 0x00)) { Notify (\_SB.C002.C057.C0F9, 0x80) } \_SB.C1F0.C208 (0x01, 0x00) } Method (_L18, 0, NotSerialized) { Notify (\_SB.C1E9, 0x02) } Name (C267, 0x00) Method (C268, 0, NotSerialized) { Sleep (0x64) If (LEqual (C267, 0x01)) { C1E8 (0x0400) Store (\_SB.C002.C003.C00A, Local0) XOr (Local0, 0x0400, \_SB.C002.C003.C00A) Store (0x00, C267) Notify (\_PR.C000, 0x81) } Else { Increment (C267) } } Method (_L1C, 0, NotSerialized) { And (\_SB.C002.C003.C087, 0xFCFFFFFF, Local0) Or (Local0, 0x01000000, \_SB.C002.C003.C087) And (\_SB.C002.C0A9.C1D8, 0xFFFFFFFE, \_SB.C002.C0A9.C1D8) Notify (\_SB.C002.C0A9.C1D9, 0x00) } Method (_L1D, 0, NotSerialized) { And (\_SB.C002.C003.C087, 0xF3FFFFFF, Local0) Or (Local0, 0x04000000, \_SB.C002.C003.C087) Store (0x01, Local1) If (LEqual (And (\_SB.C049, 0x83), 0x00)) { If (\_SB.C044) { Notify (\_SB.C002.C057.C0F9, 0x80) } } If (Local1) { Or (\_SB.C002.C003.C091, 0x2000, Local0) Store (Local0, \_SB.C002.C003.C091) } Notify (\_SB.C1EA, 0x80) } Method (_L1F, 0, NotSerialized) { Store (\_SB.C04E, Local0) If (Local0) { Store (0x00, \_SB.C04E) If (LEqual (Local0, 0x01)) { If (LEqual (And (\_SB.C049, 0x83), 0x00)) { Notify (\_SB.C002.C057.C0F9, 0x80) } } If (LAnd (LNot (LLess (Local0, 0x02)), LNot (LGreater (Loc= al0, 0x05)))) { \_SB.C1F0.C208 (Local0, 0x00) } If (LEqual (Local0, 0x06)) { And (\_SB.C002.C0A9.C1D8, 0xFFFFFFFE, \_SB.C002.C0A9.C= 1D8) Notify (\_SB.C002.C0A9.C1D9, 0x00) } } } Method (C1E8, 1, Serialized) { If (C269 ()) { C26A () C1CA (0x00) } Else { If (And (\_SB.C002.C003.C09B, 0x08000000)) { Notify (\_SB.C002.C006.C007, 0x03) } } } Method (C269, 0, Serialized) { Store (\_SB.C002.C003.C00A, Local0) Or (\_SB.C002.C003.C009, 0x0480, \_SB.C002.C003.C009) Store (\_SB.C002.C003.C009, Local1) XOr (Local1, Local0, Local1) Store (\_SB.C002.C003.C09B, Local2) Store (0x01, Local3) If (And (Local1, 0x80)) { If (LEqual (\_SB.C002.C003.C004.C005 (), 0x00)) { If (And (Local1, 0x0400)) { Store (0x00, Local3) } } } Return (Local3) } Method (C26A, 0, Serialized) { OperationRegion (C26B, SystemMemory, 0xE1000000, 0x02) Field (C26B, AnyAcc, NoLock, Preserve) { C26C, 16 } Store (0x0B, Local1) If (And (\_SB.C002.C003.C09B, 0x08000000)) { If (LEqual (C26C, 0x14E4)) { Store (0x00, Local1) } } Store (\_SB.C002.C006.C0D3, Local2) And (Local2, 0xBFFFFFFF, \_SB.C002.C006.C0D3) While (LAnd (LGreater (Local1, 0x00), C269 ())) { Or (\_SB.C002.C003.C09B, 0x08000000, \_SB.C002.C003.C09B) Sleep (0x012C) Store (0x00, \_SB.C002.C006.C0CF) Sleep (0xC8) Store (C26C, Local0) If (LOr (LEqual (Local0, 0x14E4), LEqual (Local1, 0x01))) { Store (0x00, Local1) } Else { Store (0x0A, Local3) While (LGreater (Local3, 0x00)) { And (\_SB.C002.C003.C09B, 0xF7FFFFFF, \_SB.C002.C0= 03.C09B) Sleep (0x05) Or (\_SB.C002.C003.C09B, 0x08000000, \_SB.C002.C00= 3.C09B) Sleep (0x05) Decrement (Local3) } Decrement (Local1) } } Store (\_SB.C002.C006.C0D3, Local2) Or (Local2, 0x40000000, \_SB.C002.C006.C0D3) } Method (C1CA, 1, Serialized) { If (LEqual (\_PR.C000.C001, 0x00)) { Store (Arg0, \_SB.C002.C003.C086) } } } Scope (\_PR.C000) { Name (C26D, Package (0x09) { Package (0x02) { Package (0x06) {}, Package (0x06) {} }, Package (0x03) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x04) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x05) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x06) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x07) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x08) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x09) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} }, Package (0x0A) { Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {}, Package (0x06) {} } }) Method (C26E, 3, NotSerialized) { Multiply (Arg2, 0x10, Local1) Add (Local1, 0x08, Local1) CreateDWordField (\_SB.C039, Local1, C26F) Add (Local1, 0x04, Local1) CreateDWordField (\_SB.C039, Local1, C270) Store (C26F, Index (DerefOf (Index (Arg1, Arg2)), 0x00)) Store (C270, Index (DerefOf (Index (Arg1, Arg2)), 0x01)) If (Arg0) { Store (\_SB.C033, Index (DerefOf (Index (Arg1, Arg2)), 0x0= 2)) Store (\_SB.C034, Index (DerefOf (Index (Arg1, Arg2)), 0x0= 3)) Add (Local1, 0x04, Local1) CreateDWordField (\_SB.C039, Local1, C271) Add (Local1, 0x04, Local1) CreateDWordField (\_SB.C039, Local1, C272) Store (C271, Index (DerefOf (Index (Arg1, Arg2)), 0x04)) Store (C272, Index (DerefOf (Index (Arg1, Arg2)), 0x05)) } Else { Store (\_SB.C035, Index (DerefOf (Index (Arg1, Arg2)), 0x0= 2)) Store (\_SB.C036, Index (DerefOf (Index (Arg1, Arg2)), 0x0= 3)) ShiftLeft (Arg2, \_SB.C037, Local0) Or (Local0, \_SB.C038, Local0) Store (Local0, Index (DerefOf (Index (Arg1, Arg2)), 0x04)) Store (Arg2, Index (DerefOf (Index (Arg1, Arg2)), 0x05)) } } Method (C273, 1, NotSerialized) { Store (\_SB.C032, Local0) Subtract (Local0, 0x02, Local1) Store (0x00, Local2) While (LLess (Local2, Local0)) { C26E (Arg0, DerefOf (Index (C26D, Local1)), Local2) Increment (Local2) } Return (DerefOf (Index (C26D, Local1))) } Method (C21D, 1, NotSerialized) { Acquire (\_SB.C212, 0xFFFF) Store (Arg0, \_SB.C213) Release (\_SB.C212) \_SB.C226 () } Method (C221, 1, NotSerialized) { Acquire (\_SB.C212, 0xFFFF) Store (Arg0, \_SB.C213) Release (\_SB.C212) \_SB.C227 () } Name (C274, Package (0x02) { ResourceTemplate () { Register (SystemIO, 0x10, 0x00, 0x00000000000000B2) }, ResourceTemplate () { Register (SystemIO, 0x08, 0x00, 0x00000000000000B3) } }) Name (C275, Package (0x02) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) } }) Name (C276, 0x00) Method (_PDC, 1, NotSerialized) { And (DerefOf (Index (Arg0, 0x08)), 0x01, C276) } Method (_PCT, 0, NotSerialized) { If (C276) { Return (C275) } Else { Return (C274) } } Method (_PPC, 0, NotSerialized) { Return (0x00) } Method (_PSS, 0, NotSerialized) { Return (C273 (C276)) } } } Brad ------------------------------------------------------------ Brad Miele Technology Director IPNStock (866) 476-7862 x902 bmiele@ipnstock.com On Wed, 28 Sep 2005 takawata@jp.frebsd.org wrote: > In message <20050928080217.S5989@localhost>, Brad Miele =A4=B5=A4=F3=A4= =A4=A4=EF=A4=AF: >> Hi, >> >> I recently had the mainboard on my HP NC6230 replaced under warrantee fo= r >> a no-post issue. Since it has been returned, the machine throws an error >> of temperature too high and shuts down moments after it is unplugged and >> under battery power. It runs continuously with no problems when >> plugged in. I have never had to adjust the acpi stuff before, and >> have gone so far as to dump the asl for my system, I assume that I have = to >> change something in there and override it at boot? The HP tech report on >> the new mainboard states that the bios is current, I may double check th= at >> today. >> >> Any advice would be appreciated. I have attached dmesg, and systctl >> hw.acpi below. >> >> this is the syslog from when i remove the ac adapter: >> >> Sep 27 07:19:51 payswan kernel: cpu0: Cx states changed >> Sep 27 07:19:51 payswan power_profile: changed to 'economy' >> Sep 27 07:20:11 payswan root: WARNING: system temperature too high, >> shutting down soon! >> Sep 27 07:20:21 payswan kernel: acpi_tz2: WARNING - current temperature >> (149.4C) exceeds safe limits >> Sep 27 07:20:22 payswan syslogd: exiting on signal 15 >> >> thanks, >> >> Brad > > Would you show us acpidump -t -d result, too? > TZ2 seems to have gone invalid state. There may be some notify to > tell the thermal zone detached or so. > --0-912269244-1127922763=:702-- From owner-freebsd-acpi@FreeBSD.ORG Wed Sep 28 19:34:17 2005 Return-Path: X-Original-To: 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 95B5616A41F for ; Wed, 28 Sep 2005 19:34:17 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from portpc-design.spb.ru (portpc-design.spb.ru [81.176.64.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0C6543D49 for ; Wed, 28 Sep 2005 19:34:16 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [85.140.138.12] (ppp85-140-138-12.pppoe.mtu-net.ru [85.140.138.12]) (authenticated bits=0) by portpc-design.spb.ru (8.13.5/8.13.5) with ESMTP id j8SJYDJg027353; Wed, 28 Sep 2005 23:34:13 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <433AF02F.2060902@mcsi.pp.ru> Date: Wed, 28 Sep 2005 23:34:07 +0400 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050911 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Nate Lawson References: <4330020C.5030302@mcsi.pp.ru> <20050920135958.GA1616@poupinou.org> <433016F8.903@mcsi.pp.ru> <20050920145932.GB1616@poupinou.org> <4332505A.5050201@mcsi.pp.ru> <4339EB56.2040503@root.org> In-Reply-To: <4339EB56.2040503@root.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on 81.176.64.226 X-Virus-Status: Clean Cc: acpi@freebsd.org Subject: Re: Hard hang with powerd 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, 28 Sep 2005 19:34:17 -0000 Nate Lawson wrote: > Maxim Maximov wrote: > >> Bruno Ducrot wrote: >> >>> On Tue, Sep 20, 2005 at 06:04:40PM +0400, Maxim Maximov wrote: >>> >>>> Bruno Ducrot wrote: >>>> >>>>> The 2 logical CPUs need to set the same MSRs at the same time, >>>>> but if the second one is forced to be idle, I'm not sure if p4tcc will >>>>> work fine. >>>>> >>>>> Therefore, I'm wondering if this hard hang happens with a SMP kernel >>>>> and hyperthreading is enabled, or if this happens with a UP kernel. >>>> >>>> >>>> Yes, kernel is SMP one. >>>> >>>> # sysctl machdep.hyperthreading_allowed >>>> machdep.hyperthreading_allowed: 1 >>>> >>> >>> It's weird. Could you please try with a kernel without SMP for >>> testing purpose? >>> >> >> It's fine. Now I'm running UP kernel with 'powerd -v' > > > Maxim, can you try some debugging things to figure out where the hang is > happening? First, add printfs of 1, 2, 3, 4, etc. throughout > sys/i386/cpufreq/p4tcc.c in p4tcc_set(). Then recompile the SMP kernel > and boot single user (to save an fsck) and change some settings via > sysctl dev.cpu.0.freq=xxx until you can get a hang. See what numbers > were printed and where it hung. It should go through all the numbers > twice when there is no hang since we set a value on cpu0 and cpu1. I did that. I seeded printfs from 1 to 7 throughout the function. OS dies when making these steps: 1. 751 -> 375 2. 748 -> 374 (from boot to boot, freq numbers always differ on my notebook) In the first case numbers printed were: 1234567. However, in the second hang the numbers printed were: 12345671234567. > > Also, see if you can break to the debugger (ctrl-alt-esc) from console > when it is hung. I'm guessing no. You're right. -- Maxim Maximov From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 29 09:12: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 BE3C016A41F for ; Thu, 29 Sep 2005 09:12:20 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAF7843D48 for ; Thu, 29 Sep 2005 09:12:19 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id j8T9CGh9026553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Sep 2005 13:12:17 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id j8T9CGQw026552; Thu, 29 Sep 2005 13:12:16 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 29 Sep 2005 13:12:16 +0400 From: Gleb Smirnoff To: freebsd-acpi@FreeBSD.org Message-ID: <20050929091216.GH20238@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i Cc: Subject: no console with ACPI 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, 29 Sep 2005 09:12:21 -0000 [ please, keep me in Cc:, I am not subscribed ] Yesterday I've upgraded a RELENG_5 box to RELENG_6. It is running on Epox 8KHA+ mainboard. For a reason unknown to me ACPI was disabled on the installation. Once upgraded to RELENG_6 I have tried to enable ACPI, but a strange problem arose: when booted with ACPI the box did not have console. As soon as kernel boot finished, no new lines were printed (but kernel log messages did appear on screen). However, the syscons driver seemed to be working: ScrLk switched cursor on/off, attempts to switch to another vty produced beeps, Ctrl-Alt-Del rebooted. This is how boot looks with ACPI (no sc0 in dmesg!): 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-BETA5 #0: Wed Sep 28 20:14:55 MSD 2005 root@xxx Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP (2138.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383f9ff AMD Features=0xc0400800 real memory = 805240832 (767 MB) avail memory = 782921728 (746 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 11 on acpi0 pci_link1: on acpi0 pci_link2: irq 12 on acpi0 pci_link3: irq 10 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500 f on acpi0 pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) em0: port 0xd000-0xd03f mem 0xe 1020000-0xe103ffff,0xe1000000-0xe101ffff irq 11 at device 8.0 on pci0 em0: Ethernet address: 00:07:e9:14:6a:18 em0: Speed:N/A Duplex:N/A em1: port 0xd400-0xd43f mem 0xe 1040000-0xe105ffff,0xe1060000-0xe107ffff irq 12 at device 10.0 on pci0 em1: Ethernet address: 00:07:e9:14:6e:9d em1: Speed:N/A Duplex:N/A em2: port 0xd800-0xd83f mem 0xe 1080000-0xe109ffff,0xe10a0000-0xe10bffff irq 10 at device 11.0 on pci0 em2: Ethernet address: 00:07:e9:09:dd:4a em2: Speed:N/A Duplex:N/A viapropm0: SMBus I/O base at 0x5000 viapropm0: SMBus I/O base at 0x5000 viapropm0: port 0x5000-0x500f at device 17.0 on pci0 viapropm0: SMBus revision code 0x0 smbus0: on viapropm0 smb0: on smbus0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00-0xdc0f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 acpi_tz0: on acpi0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] Timecounter "TSC" frequency 2138196510 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to a ccept, logging limited to 10000 packets/entry by default ad0: 19092MB at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a em1: link state changed to UP vlan3: link state changed to UP vlan2: link state changed to UP vlan1: link state changed to UP em2: link state changed to UP vlan18: link state changed to UP vlan14: link state changed to UP vlan10: link state changed to UP vlan4: link state changed to UP [no console at this point] It is possible to login to the box via ssh and see that the boot process runs to the completion with no problems. This is how boot looks w/o ACPI: 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-BETA5 #0: Wed Sep 28 20:14:55 MSD 2005 root@xxx Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP (2138.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383f9ff AMD Features=0xc0400800 real memory = 805240832 (767 MB) avail memory = 782929920 (746 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard pcib0: pcibus 0 on motherboard pir0: on motherboard pci0: on pcib0 agp0: mem 0xd0000000-0xd7ffffff at d evice 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) em0: port 0xd000-0xd03f mem 0xe 1020000-0xe103ffff,0xe1000000-0xe101ffff irq 11 at device 8.0 on pci0 em0: Ethernet address: 00:07:e9:14:6a:18 em0: Speed:N/A Duplex:N/A em1: port 0xd400-0xd43f mem 0xe 1040000-0xe105ffff,0xe1060000-0xe107ffff irq 12 at device 10.0 on pci0 em1: Ethernet address: 00:07:e9:14:6e:9d em1: Speed:N/A Duplex:N/A em2: port 0xd800-0xd83f mem 0xe 1080000-0xe109ffff,0xe10a0000-0xe10bffff irq 10 at device 11.0 on pci0 em2: Ethernet address: 00:07:e9:09:dd:4a em2: Speed:N/A Duplex:N/A viapropm0: SMBus I/O base at 0x5000 viapropm0: SMBus I/O base at 0x5000 viapropm0: port 0x5000-0x500f at device 17.0 on pci0 viapropm0: SMBus revision code 0x0 smbus0: on viapropm0 smb0: on smbus0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xdc00- 0xdc0f at device 17.1 on pci0 ata0: on atapci0 ata1: on atapci0 isa0: on motherboard pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc9fff,0xcc000-0xcd7ff,0xce000-0xcf7ff,0xd000 0-0xd17ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 2138196638 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to a ccept, logging limited to 10000 packets/entry by default ad0: 19092MB at ata0-master UDMA100 Trying to mount root from ufs:/dev/ad0s1a em2: link state changed to UP vlan18: link state changed to UP vlan14: link state changed to UP vlan10: link state changed to UP vlan4: link state changed to UP [boot continues, and everything is printed to console] -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 29 12:03:45 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 4A79216A41F for ; Thu, 29 Sep 2005 12:03:45 +0000 (GMT) (envelope-from bmiele@ipnstock.com) Received: from ms-smtp-04.nyroc.rr.com (ms-smtp-04.nyroc.rr.com [24.24.2.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DDE143D60 for ; Thu, 29 Sep 2005 12:03:35 +0000 (GMT) (envelope-from bmiele@ipnstock.com) Received: from [192.168.0.2] (cpe-72-224-239-165.maine.res.rr.com [72.224.239.165]) by ms-smtp-04.nyroc.rr.com (8.12.10/8.12.10) with ESMTP id j8TC3VV3005474; Thu, 29 Sep 2005 08:03:32 -0400 (EDT) Date: Thu, 29 Sep 2005 08:03:30 -0400 (EDT) From: Brad Miele To: takawata@jp.freebsd.org In-Reply-To: <200509281450.j8SEohr0064917@ns.init-main.com> Message-ID: <20050929080157.I1303@localhost> References: <200509281450.j8SEohr0064917@ns.init-main.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-476566416-1127995410=:1303" X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-acpi@freebsd.org Subject: Re: Thermal issues when on battery 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, 29 Sep 2005 12:03:45 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-476566416-1127995410=:1303 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Update, I have confirmed that the bios is current. I tried to send acpidump -t -d= =20 result to the list yesterday, but it was bounced due to size. Thanks again for any advice, Brad ------------------------------------------------------------ Brad Miele Technology Director IPNStock (866) 476-7862 x902 bmiele@ipnstock.com On Wed, 28 Sep 2005 takawata@jp.frebsd.org wrote: > In message <20050928080217.S5989@localhost>, Brad Miele =A4=B5=A4=F3=A4= =A4=A4=EF=A4=AF: >> Hi, >> >> I recently had the mainboard on my HP NC6230 replaced under warrantee fo= r >> a no-post issue. Since it has been returned, the machine throws an error >> of temperature too high and shuts down moments after it is unplugged and >> under battery power. It runs continuously with no problems when >> plugged in. I have never had to adjust the acpi stuff before, and >> have gone so far as to dump the asl for my system, I assume that I have = to >> change something in there and override it at boot? The HP tech report on >> the new mainboard states that the bios is current, I may double check th= at >> today. >> >> Any advice would be appreciated. I have attached dmesg, and systctl >> hw.acpi below. >> >> this is the syslog from when i remove the ac adapter: >> >> Sep 27 07:19:51 payswan kernel: cpu0: Cx states changed >> Sep 27 07:19:51 payswan power_profile: changed to 'economy' >> Sep 27 07:20:11 payswan root: WARNING: system temperature too high, >> shutting down soon! >> Sep 27 07:20:21 payswan kernel: acpi_tz2: WARNING - current temperature >> (149.4C) exceeds safe limits >> Sep 27 07:20:22 payswan syslogd: exiting on signal 15 >> >> thanks, >> >> Brad > > Would you show us acpidump -t -d result, too? > TZ2 seems to have gone invalid state. There may be some notify to > tell the thermal zone detached or so. > --0-476566416-1127995410=:1303-- From owner-freebsd-acpi@FreeBSD.ORG Thu Sep 29 14:41:26 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 CBD2C16A41F; Thu, 29 Sep 2005 14:41:26 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BCFD43D48; Thu, 29 Sep 2005 14:41:26 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.41.233] (Not Verified[10.50.41.233]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Thu, 29 Sep 2005 10:57:27 -0400 From: John Baldwin To: freebsd-acpi@freebsd.org Date: Thu, 29 Sep 2005 10:42:43 -0400 User-Agent: KMail/1.8 References: <20050929091216.GH20238@cell.sick.ru> In-Reply-To: <20050929091216.GH20238@cell.sick.ru> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200509291042.44321.jhb@FreeBSD.org> Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Cc: Gleb Smirnoff , imp@FreeBSD.org Subject: Re: no console with ACPI 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, 29 Sep 2005 14:41:26 -0000 On Thursday 29 September 2005 05:12 am, Gleb Smirnoff wrote: > [ please, keep me in Cc:, I am not subscribed ] > > Yesterday I've upgraded a RELENG_5 box to RELENG_6. It is running on > Epox 8KHA+ mainboard. For a reason unknown to me ACPI was disabled > on the installation. Once upgraded to RELENG_6 I have tried to enable > ACPI, but a strange problem arose: when booted with ACPI the box > did not have console. As soon as kernel boot finished, no new lines > were printed (but kernel log messages did appear on screen). However, > the syscons driver seemed to be working: ScrLk switched cursor on/off, > attempts to switch to another vty produced beeps, Ctrl-Alt-Del rebooted. > > This is how boot looks with ACPI (no sc0 in dmesg!): Known issue unfortunately. > viapropm0: SMBus I/O base at 0x5000 > viapropm0: SMBus I/O base at 0x5000 > viapropm0: port 0x5000-0x500f at device > 17.0 on pci0 viapropm0: SMBus revision code 0x0 > smbus0: on viapropm0 > smb0: on smbus0 This chip is also your PCI-ISA bridge, but since viapropm0 probed it, isab doesn't probe it so you don't get an isa bus for syscons to attach to. The real fix is that the viapropm(4) driver needs to act like an isab and create an isa0 child in addition to an smbus0 child. Try this patch: --- //depot/vendor/freebsd/src/sys/pci/viapm.c 2005/05/29 04:45:51 +++ //depot/user/jhb/acpipci/pci/viapm.c 2005/09/29 14:37:52 @@ -39,6 +39,7 @@ #include #include +#include #include #include @@ -369,6 +370,10 @@ VIAPM_OUTB(SMBHCTRL, VIAPM_INB(SMBHCTRL) | SMBHCTRL_ENABLE); #endif + /* If this device is a PCI-ISA bridge, then attach an ISA bus. */ + if ((pci_get_class(dev) == PCIC_BRIDGE) && + (pci_get_subclass(dev) == PCIS_BRIDGE_ISA)) + isab_attach(dev); return 0; error: -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Sat Oct 1 23:03:48 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 28D1D16A41F for ; Sat, 1 Oct 2005 23:03:48 +0000 (GMT) (envelope-from mikes@siralan.org) Received: from rader.servnow.com (rader.servnow.com [69.93.129.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33C443D45 for ; Sat, 1 Oct 2005 23:03:47 +0000 (GMT) (envelope-from mikes@siralan.org) Received: from 12-210-221-89.client.insightbb.com ([12.210.221.89] helo=familysquires.net) by rader.servnow.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.52) id 1ELqOK-0000wl-Aw for freebsd-acpi@freebsd.org; Sat, 01 Oct 2005 19:03:40 -0400 Date: Sat, 1 Oct 2005 18:03:46 -0500 (EST) From: "Michael L. Squires" X-X-Sender: mikes@familysquires.net To: freebsd-acpi@freebsd.org In-Reply-To: <20050925.001550.41626219.haro@h4.dion.ne.jp> Message-ID: <20051001175954.U34460@familysquires.net> References: <43355527.1010308@e-broad.jp> <20050925.001550.41626219.haro@h4.dion.ne.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rader.servnow.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - siralan.org X-Source: X-Source-Args: X-Source-Dir: Subject: Re: system hangs on boot up 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, 01 Oct 2005 23:03:48 -0000 I'm having a possibly similar problem with a Toshiba 8100. Symptoms are that trying to boot from a kernel from the past few days locks up after atapci0 is called; the kernel I compiled in May 2005 boots OK. Changing the "hw.pci.enable_io_modes=0" doesn't fix the problem; however, replacing the acpi.ko module in /boot/kernel with the one from the May 2005 kernel does allow the system to boot. Since this appears to at least be ACPI related I'm going to run the usual ACPI diagnostics and make them available. Mike Squires