Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2005 17:20:25 +0000
From:      "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
To:        freebsd-acpi@freebsd.org
Subject:   [ASUS A4D] Patch for DSDT which corrects 'acpi_perf0..' problem
Message-ID:  <20051205172025.GA62040@freebsd.czest.pl>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051205172025.GA62040>