From owner-freebsd-acpi@FreeBSD.ORG Mon Dec 5 17:18:31 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 A2B1616A41F for ; Mon, 5 Dec 2005 17:18:31 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCEE43D46 for ; Mon, 5 Dec 2005 17:18:27 +0000 (GMT) (envelope-from dunstan@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [80.48.250.4]) by freebsd.czest.pl (8.12.10/8.12.9) with ESMTP id jB5HKQPx062151 for ; Mon, 5 Dec 2005 17:20:26 GMT (envelope-from dunstan@freebsd.czest.pl) Received: (from dunstan@localhost) by freebsd.czest.pl (8.13.4/8.12.9/Submit) id jB5HKQx5062150 for freebsd-acpi@freebsd.org; Mon, 5 Dec 2005 17:20:26 GMT (envelope-from dunstan) Date: Mon, 5 Dec 2005 17:20:25 +0000 From: "Wojciech A. Koszek" To: freebsd-acpi@freebsd.org Message-ID: <20051205172025.GA62040@freebsd.czest.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: [ASUS A4D] Patch for DSDT which corrects 'acpi_perf0..' problem 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, 05 Dec 2005 17:18:31 -0000 Hello, While booting default kernel (-CURRENT) on my ASUS A4D I get: [..] acpi_perf0: invalid _PSS package acpi_perf0: invalid _PSS package acpi_perf0: invalid _PSS package ..the same line dozen of times.. acpi_perf0: invalid _PSS package acpi_perf0: invalid _PSS package [..] acpidump -dt > dunstan-ASUS_A4D.asl This file is available at [1]. This is what I get while trying to compile dumped ASL with iasl: # iasl ./dunstan-ASUS_A4D.asl Intel ACPI Component Architecture ASL Optimizing Compiler version 20051021 [Dec 4 2005] Copyright (C) 2000 - 2005 Intel Corporation Supports ACPI Specification Revision 3.0 ./dunstan-ASUS_A4D.asl 5973: Package (0x06) Error 1045 - Initializer list too long ^ ASL Input: ./dunstan-ASUS_A4D.asl - 7196 lines, 248468 bytes, 3059 keywords Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 664 Optimizations After removing bogus lines [2] problem disappeared. I've written a patch [3] for ASL, and it seems to work. acpi(4) no longer complains about "_PSS" [1] http://freebsd.czest.pl/dunstan/FreeBSD/acpi/dunstan-ASUS_A4D.asl [2] http://freebsd.czest.pl/dunstan/FreeBSD/acpi/dunstan-ASUS_A4D.asl.new [3] http://freebsd.czest.pl/dunstan/FreeBSD/acpi/dunstan-ASUS_A4D.diff Additional information: [4] http://freebsd.czest.pl/dunstan/FreeBSD/acpi/dunstan-ASUS_A4D.sysctl-acpi (after patching) [5] http://freebsd.czest.pl/dunstan/FreeBSD/acpi/dunstan-ASUS_A4D.dmesg Comments are welcome. -- * Wojciech A. Koszek && dunstan@FreeBSD.czest.pl