From owner-freebsd-current Wed Aug 28 19:14:31 2002 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 CB6CA37B400 for ; Wed, 28 Aug 2002 19:14:22 -0700 (PDT) Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3F2A43E75 for ; Wed, 28 Aug 2002 19:14:20 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5]) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g7T2E3Y53091; Thu, 29 Aug 2002 11:14:03 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Thu, 29 Aug 2002 11:13:57 +0900 (JST) Message-Id: <20020829.111357.82846870.iwasaki@jp.FreeBSD.org> To: acpi-jp@jp.FreeBSD.org, root@nihil.plaut.de Cc: current@freebsd.org Subject: Re: [acpi-jp 1766] acpi issues on IBM A30p and -current From: Mitsuru IWASAKI In-Reply-To: <20020828234632.O580-103000@nihil> References: <20020828.193626.95910487.iwasaki@jp.FreeBSD.org> <20020828234632.O580-103000@nihil> X-Mailer: Mew version 2.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > acpi on my IBM A30p doesn't seem to work as expected. > Closing the display gives me a syslog entry: > ... > system power profile changed to 'economy' > acpi0: AcpiGetSleepTypeData failed - AE_NOT_FOUND It's expected :-) Because there is no _S1_ object in your ACPI BIOS, and the system is going to enter S1 sleep by lid switch. > hw.acpi.lid_switch_state: S1 > hw.acpi.battery.life: 100 > hw.acpi.battery.time: -1 > hw.acpi.battery.state: 0 > hw.acpi.battery.units: 2 > hw.acpi.battery.info_expire: 5 > hw.acpi.acline: 0 > machdep.acpi_timer_freq: 3579545 > > where the *battery* entries do not seem to be right. seem to be right for me. If you concern about time = -1, never mind, it's normal. Many machines doesn't report correct info. when AC-line is plugged. > BTW: > When re-compiling the A30p.asl file I got with: > acpidump -o A30p.dsdt > A30p.asl > > I get: > (nihil)(root) # iasl A30p.asl > > Intel ACPI Component Architecture > ASL Optimizing Compiler / AML Disassembler version 20020815 [Aug 28 2002] > Copyright (C) 2000 - 2002 Intel Corporation > Supports ACPI Specification Revision 2.0a > > A30p.asl 102: If(\_OSI) { > Error 1028 - Too few arguments ^ (\_OSI requires 1) Hmmm, our acpidump don't understand _OSI method... Any volunteers to implement parser for pre-defined methods? Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message