DSDT on Averatec 1050
Hi Folks,
tried to get Linux (Slackware 10.1 with Kernel 2.6.13) to run on my Averatec 1050. Unfortunately, ACPI doesn't work as supposed: No thermal zones, no fan, no CPU temperature, kernel error messages (see below).
I disassembled the DSDT, and recompiled it using Intels iasl, and got a bunch of error and warnings (see below). Unfortunately, I do not understand a single bit of this ASL code, and the manual doesn't really help me much. I figured out how to get rid of one error (the field thing), but I do not have the slightest idea how to handle the others.
Can anybody please help or point me to some source of help with this damn DSDT thing? I googled a lot last night, but weren't too successful.
Thanks a lot,
Paul
--------------------------- 8< ------------------------
iasl -tc complains about:
Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060421 [May 10 2006] Copyright (C) 2000 - 2006 Intel Corporation Supports ACPI Specification Revision 3.0a
dsdt.dsl 20: Name (_T04, 0x00)
Warning 1097 - ^ Unknown reserved name (_T04)
dsdt.dsl 21: Name (_T03, 0x00)
Warning 1097 - ^ Unknown reserved name (_T03)
dsdt.dsl 22: Name (_T02, 0x00)
Warning 1097 - ^ Unknown reserved name (_T02)
dsdt.dsl 23: Name (_T01, 0x00)
Warning 1097 - ^ Unknown reserved name (_T01)
dsdt.dsl 24: Name (_T00, 0x00)
Warning 1097 - ^ Unknown reserved name (_T00)
dsdt.dsl 513: C0E0, 8,
Error 4027 - ^ Access width of Field Unit extends beyond region limit
dsdt.dsl 514: C0E1, 8
Error 4027 - ^ Access width of Field Unit extends beyond region limit
dsdt.dsl 1545: Acquire (\ECMX, 0xA000)
Warning 1103 - Possible operator timeout is ignored ^
dsdt.dsl 1559: Acquire (\MUEC, 0x8000)
Warning 1103 - Possible operator timeout is ignored ^
dsdt.dsl 1649: OperationRegion (IO, SystemIO, DPRT, 0x05)
Error 4094 - ^ parse error, unexpected PARSEOP_IO, expecting error or PARSEOP_NAMESEG or PARSEOP_NAMESTRING
dsdt.dsl 1650: Field (IO, ByteAcc, Lock, Preserve)
Error 4094 - ^ parse error, unexpected PARSEOP_IO, expecting error or PARSEOP_NAMESEG or PARSEOP_NAMESTRING
dsdt.dsl 1657: Field (IO, ByteAcc, Lock, Preserve)
Error 4094 - ^ parse error, unexpected PARSEOP_IO, expecting error or PARSEOP_NAMESEG or PARSEOP_NAMESTRING
dsdt.dsl 1666: Return (LNot (INPS))
Error 4062 - Object does not exist ^ (INPS)
dsdt.dsl 1671: Return (OUTS)
Error 4062 - Object does not exist ^ (OUTS)
dsdt.dsl 1917: Store (DAT0, Local0)
Error 4062 - Object does not exist ^ (DAT0)
dsdt.dsl 1926: Store (0x80, CMD0)
Error 4062 - Object does not exist ^ (CMD0)
dsdt.dsl 1929: Store (Arg0, DAT0)
Error 4062 - Object does not exist ^ (DAT0)
dsdt.dsl 1932: Store (DAT0, Local0)
Error 4062 - Object does not exist ^ (DAT0)
dsdt.dsl 1947: Store (0x81, CMD0)
Error 4062 - Object does not exist ^ (CMD0)
dsdt.dsl 1950: Store (Arg0, DAT0)
Error 4062 - Object does not exist ^ (DAT0)
dsdt.dsl 1953: Store (Arg1, DAT0)
Error 4062 - Object does not exist ^ (DAT0)
ASL Input: dsdt.dsl - 4588 lines, 159794 bytes, 2285 keywords Compilation complete. 14 Errors, 7 Warnings, 0 Remarks, 791 Optimizations
--------------------------- 8< ------------------------
The kernel sometimes (at boot and during operation) says:
ACPI-0142: *** Error: Store into Alias - should never happen
ACPI-1172: *** Error: Method execution failed
[\_SB_.PCI0.SBRG.EC0_._Q0C] (Node c14b4c20), AE_AML_INTERNAL
--------------------------- 8< ------------------------
Quoted 26 lines · Paul Wagner
Hi Folks,
tried to get Linux (Slackware 10.1 with Kernel 2.6.13) to run on my Averatec 1050. Unfortunately, ACPI doesn't work as supposed: No thermal zones, no fan, no CPU temperature, kernel error messages (see below).
I disassembled the DSDT, and recompiled it using Intels iasl, and got a bunch of error and warnings (see below). Unfortunately, I do not understand a single bit of this ASL code, and the manual doesn't really help me much. I figured out how to get rid of one error (the field thing), but I do not have the slightest idea how to handle the others.
Can anybody please help or point me to some source of help with this damn DSDT thing? I googled a lot last night, but weren't too successful.
dsdt.dsl 1649: OperationRegion (IO, SystemIO,
DPRT,0x05)
Error 4094 - ^ parse error,
unexpectedPARSEOP_IO, expecting error orPARSEOP_NAMESEGorPARSEOP_NAMESTRINGdsdt.dsl 1650: Field (IO, ByteAcc, Lock, Preserve)
Error 4094 - ^ parse error,
unexpectedPARSEOP_IO, expecting error orPARSEOP_NAMESEGorPARSEOP_NAMESTRING
Quoted 4 lines
dsdt.dsl 1657: Field (IO, ByteAcc, Lock, Preserve)
Error 4094 - ^ parse error,
unexpectedPARSEOP_IO, expecting error orPARSEOP_NAMESEGorPARSEOP_NAMESTRING
You can workaround by renaming the field to XIO...
I send a patch to fix that long time ago... cannot find it anymore. The problem is that IO is a keyword and the compiler does not notice that it should be taken as a new Field definition here (same for REG and DMA keywords?).
I thought this was added to acpica? Hopefully someone still has it lying around or I can redo if it will be picked up.
---------------------------------------------------------------
For these object not exist messages:
dsdt.dsl 1929: Store (Arg0, DAT0)
Error 4062 - Object does not exist ^
(DAT0)
You need to add addtional external (DAT0) statements at the beginning of your DSDT.
These variables are probably defined in SSDT. I think you have to replace DAT0 with the whole path e.g. \_SB.xy.DAT0.
---------------------------------------------------------------
You probably have to increase the Operation Region size of the Operation Region that corresponds to that field.
dsdt.dsl 513: C0E0, 8,
Error 4027 - ^ Access width of Field Unit
extends beyond region limit
Correct Example (Operation Region size is 0x1 byte (this is the one you have to increase) and Field \DEBG is one byte (DBGP has 8 bit):
OperationRegion (\DEBG, SystemIO, 0x1080, 0x01)
Field (\DEBG, ByteAcc, NoLock, Preserve)
{
DBGP, 8
}Incorrect Example (Operation Region size is 1 byte and Field \DEBG has two bytes):
OperationRegion (\DEBG, SystemIO, 0x1080, 0x01)
Field (\DEBG, ByteAcc, NoLock, Preserve)
{
DBGP, 8
DBXY, 8
}---------------------------------------------------------------
The kernel sometimes (at boot and during operation) says:
ACPI-0142: *** Error: Store into Alias - should never happen
ACPI-1172: *** Error: Method execution failed
[\_SB_.PCI0.SBRG.EC0_._Q0C] (Node c14b4c20), AE_AML_INTERNAL
This sounds unrelated to your DSDT errors, but sever. Robert extended the Alias stuff some months ago, maybe something slipped in...
Best is you point us to the whole acpidump and whole dmesg output.
Thomas
Hi Thomas,
thanks for your prompt reply!
Quoted 5 lines
Quoted 2 lines
dsdt.dsl 1657: Field (IO, ByteAcc, Lock, Preserve)
Error 4094 - ^ parse error, unexpectedPARSEOP_IO, expecting error orPARSEOP_NAMESEGorPARSEOP_NAMESTRINGYou can workaround by renaming the field to XIO...
I thought of that for a microsecond, but was to anxious to rename things I do not understand ;-)
Quoted 8 lines
For these object not exist messages:
dsdt.dsl 1929: Store (Arg0, DAT0)
Error 4062 - Object does not exist ^ (DAT0)You need to add addtional external (DAT0) statements at the beginning of your DSDT.
These variables are probably defined in SSDT. I think you have to replace DAT0 with the whole path e.g. \_SB.xy.DAT0.
Sorry, but what is 'xy'?
Quoted 10 lines
The kernel sometimes (at boot and during operation) says:
ACPI-0142: *** Error: Store into Alias - should never happen
ACPI-1172: *** Error: Method execution failed
[\_SB_.PCI0.SBRG.EC0_._Q0C] (Nodec14b4c20),AE_AML_INTERNALThis sounds unrelated to your DSDT errors, but sever. Robert extended the Alias stuff some months ago, maybe something slipped in...
Best is you point us to the whole acpidump and whole dmesg output.
OK, will do that when I'm on my laptop again; may take some days.
BTW, does it hurt that I'm not using the latest kernel?
Paul
Quoted 7 lines · Paul Wagner <paul_spam <at> gmx.at> writes:
Hi Folks,
tried to get Linux (Slackware 10.1 with Kernel 2.6.13) to run on my Averatec 1050. Unfortunately, ACPI doesn't work as supposed: No thermal zones, no fan, no CPU temperature, kernel error messages (see below).
Hi, Paul
I also recently faced the same problem when trying to compile DSDT for Averatec 1020. I fixed all the errors (unfortunately, before I found this thread). The patched DSDT is posted at
http://acpi.sourceforge.net/dsdt/view.php?id=667 . For the record, can you also post your original raw (non-decompiled) DSDT for av1050 there?
Hi newhren,
here you are :-)
I read that you mapped Fn+F3 and Fn+F4 to adjust fan speed. On the AV1050, these keys should switch display and send the unit to suspend mode (not yet implemented on my box), so I personaly do not really dig your mapping.
Paul
Quoted 26 lines · newhren
Quoted 4 lines · Paul Wagner <paul_spam <at> gmx.at> writes:
Hi Folks,
tried to get Linux (Slackware 10.1 with Kernel 2.6.13) to run on my Averatec 1050. Unfortunately, ACPI doesn't work as supposed: No thermal zones, no fan, no CPU temperature, kernel error messages (see below).
Hi, Paul
I also recently faced the same problem when trying to compile DSDT for Averatec 1020. I fixed all the errors (unfortunately, before I found this thread). The patched DSDT is posted at
http://acpi.sourceforge.net/dsdt/view.php?id=667 . For the record, can you also post your original raw (non-decompiled) DSDT for av1050 there?-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html