[ASUS A4D] Patch for DSDT which corrects 'acpi_perf0..' problem

Wojciech A. Koszek dunstan at freebsd.czest.pl
Mon Dec 5 17:18:31 GMT 2005


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 at FreeBSD.czest.pl


More information about the freebsd-acpi mailing list