From owner-freebsd-current@FreeBSD.ORG Mon Dec 1 11:57:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1CE416A4CE for ; Mon, 1 Dec 2003 11:57:55 -0800 (PST) Received: from zxy.spb.ru (zxy.spb.ru [194.58.105.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE3614403D for ; Mon, 1 Dec 2003 11:57:52 -0800 (PST) (envelope-from slw@zxy.spb.ru) Received: from mail.acropolis.ru (office.acropolis.ru [195.239.136.194] (may be forged)) by zxy.spb.ru (8.12.9/8.12.9) with ESMTP id hB1Jvn58069117 for ; Mon, 1 Dec 2003 22:57:49 +0300 (MSK) (envelope-from slw@zxy.spb.ru) Received: from mail.acropolis.ru (localhost.office.acropolis.ru [127.0.0.1]) by mail.acropolis.ru (8.12.9p2/8.12.9) with ESMTP id hB1JvjgO064334; Mon, 1 Dec 2003 22:57:46 +0300 (MSK) (envelope-from slw@zxy.spb.ru) Received: (from slw@localhost) by mail.acropolis.ru (8.12.9p2/8.12.9/Submit) id hB1JvjP4064333; Mon, 1 Dec 2003 22:57:45 +0300 (MSK) (envelope-from slw@zxy.spb.ru) X-Authentication-Warning: mail.acropolis.ru: slw set sender to slw@zxy.spb.ru using -f Date: Mon, 1 Dec 2003 22:57:45 +0300 From: Slawa Olhovchenkov To: Nate Lawson Message-ID: <20031201195745.GF61122@mail.acropolis.ru> References: <20031201094715.B13470@root.org> <20031201180224.GE61122@mail.acropolis.ru> <20031201105339.Y13707@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031201105339.Y13707@root.org> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-4.9 required=15.0 tests=BAYES_00 autolearn=ham version=2.60-rc3 X-Spam-Checker-Version: SpamAssassin 2.60-rc3 (1.202-2003-08-29-exp) on mail.acropolis.ru cc: current@freebsd.org Subject: Re: psmintr not attached w/ acpi X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 19:57:56 -0000 On Mon, Dec 01, 2003 at 10:59:49AM -0800, Nate Lawson wrote: > > On Mon, Dec 01, 2003 at 09:48:40AM -0800, Nate Lawson wrote: > > > Your ASL indicates that it returns different values for present (based on > > > PS2F) and current resources (based on KBDI). Please send me the URL to > > > the full ASL so I can see what sets those two variables. > > > > http://zxy.spb.ru/acpi.dump > > > > Do you need additional information? > > Try this workaround, recompile your asl, set dsdt_load in loader.conf. > See acpi(4) if you need info on this process. I think your BIOS needs a > workaround. I wonder if the MS interpreter ignores _STA for some devices. I try recompile asl and got some errors: === iasl acpi.dump Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20030619 [Nov 25 2003] Copyright (C) 2000 - 2003 Intel Corporation Supports ACPI Specification Revision 2.0b acpi.dump 84: And (SUSF, 0x02, STAT) Error 1037 - ^ syntax error ASL Input: acpi.dump - 3574 lines, 113232 bytes, 12 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 9 Optimizations === I commented out this line and try again. === iasl acpi.dump Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20030619 [Nov 25 2003] Copyright (C) 2000 - 2003 Intel Corporation Supports ACPI Specification Revision 2.0b acpi.dump 352: Method (\_WAK, 1, NotSerialized) Warning 2026 - ^ Reserved method must return a value (_WAK) acpi.dump 382: Store (Local0, Local0) Error 1013 - ^ Method local variable is not initialized (Local0) acpi.dump 387: Store (Local0, Local0) Error 1013 - ^ Method local variable is not initialized (Local0) acpi.dump 1609: ICF0, 2, Error 1051 - ^ Access width of Field Unit extends beyond region limit acpi.dump 1610: ICF1, 2, Error 1051 - ^ Access width of Field Unit extends beyond region limit acpi.dump 1612: WPPE, 1, Error 1051 - ^ Access width of Field Unit extends beyond region limit acpi.dump 1614: FAS0, 2, Error 1051 - ^ Access width of Field Unit extends beyond region limit acpi.dump 1615: FAS1, 2 Error 1051 - ^ Access width of Field Unit extends beyond region limit ASL Input: acpi.dump - 3850 lines, 119353 bytes, 1690 keywords Compilation complete. 7 Errors, 1 Warnings, 0 Remarks, 345 Optimizations === What is wrong? > --- slawa-IntelLaptop.asl.orig Mon Dec 1 10:54:18 2003 > +++ slawa-IntelLaptop.asl Mon Dec 1 10:57:39 2003 > @@ -3353,14 +3353,7 @@ > Name (_HID, EisaId ("PNP0F13")) > Method (_STA, 0, NotSerialized) > { > - If (LEqual (PS2F, 0x00)) > - { > Return (0x0F) > - } > - Else > - { > - Return (0x00) > - } > } > > Method (_CRS, 0, NotSerialized) > > -Nate -- Slawa Olhovchenkov