From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 16:52:17 2004 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 9803E16A4CE for ; Wed, 21 Jan 2004 16:52:17 -0800 (PST) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id CE0F743D5D for ; Wed, 21 Jan 2004 16:52:01 -0800 (PST) (envelope-from lists-freebsd-current@biaix.org) Received: (qmail 8408 invoked by uid 1000); 22 Jan 2004 00:45:41 -0000 Date: Thu, 22 Jan 2004 01:45:41 +0100 From: Joan Picanyol To: freebsd-current@freebsd.org Message-ID: <20040122004541.GA7751@grummit.biaix.org> Mail-Followup-To: freebsd-current@freebsd.org References: <20040121163221.GA3865@grummit.biaix.org> <200401211238.38023.jhb@FreeBSD.org> <20040121194614.GA5532@grummit.biaix.org> <400EDAB1.3050007@bis.midco.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <400EDAB1.3050007@bis.midco.net> User-Agent: Mutt/1.4.1i Subject: help needed fixing DSDT on Tyan S-2466 (was: Re: ACPI soft off...) 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: Thu, 22 Jan 2004 00:52:17 -0000 * Peter Schultz [20040121 20:56]: > Joan Picanyol wrote: > >What else should I try to get this to work? > By fixing the iasl compilation errors you may get soft off to work. > Just follow the directions found here: > > http://www.cpqlinux.com/acpi-howto.html#fix_broken_dsdt I've modified my asl a bit, I've: 1. replaced all instances of Microsoft* with FreeBSD 2. commented out the "Store (Local0, Local0)" lines 3. added a "Return(Package(0x02){0x00,0x00})" to "Method (\_WAK,...)" You can find the new version at http://grummit.biaix.org:8888/joan/debug/FreeBSD/ACPI/my.asl Howerver, it still does not compile cleanly: Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20030619 [Jan 17 2004] Copyright (C) 2000 - 2003 Intel Corporation Supports ACPI Specification Revision 2.0b my.asl 359: And (IO2B, 0xFE, IO2B) Error 1022 - ^ Object does not exist (IO2B) my.asl 359: And (IO2B, 0xFE, IO2B) Error 1022 - Object does not exist ^ (IO2B) ASL Input: my.asl - 2199 lines, 65861 bytes, 674 keywords Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 318 Optimizations I don't know how to deal with these. The full method is: Method (\_PTS, 1, NotSerialized) { Or (Arg0, 0xF0, Local0) Store (Local0, DBG1) Or (IRQR, 0x10, IRQR) Or (IO23, 0x01, IO23) Store (IO23, Local0) Store (Local0, DBG1) Sleep (0x0200) If (LEqual (Arg0, 0x01)) { Store (IO21, Local1) Store (Local1, IO21) } If (LEqual (Arg0, 0x04)) { Store (G_ST, Local1) Store (Local1, G_ST) Store (G_SB, Local1) Store (Local1, G_SB) } If (LEqual (Arg0, 0x05)) { Store (G_ST, Local1) Store (Local1, G_ST) Store (G_SB, Local1) Store (Local1, G_SB) And (IO2B, 0xFE, IO2B) } } Does anyone know how to fix this? On a side issue, I'd like to know how to make sure FreeBSD is using my new DSDT. I've set up loader.conf appropiately, but doing 'acpidump' gives me the original version. Is this expected behaviour? tks -- pica