[ACPI-sppt] Acer TM 212TX corrupted DSDT

Petr Ferschmann <[email protected]> Sun, 28 Sep 2003 21:11:08 +0200
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
Hello,

I am trying ACPI with 2.6.0test6 and when I try to suspend (ram or disk)
machine locks. With 2.4.19 it worked a little (suspend to ram - with
suspend.sh script - but kernel slowed down after resume - so it was
unusable).

Here is the message I got:
-------------
Stopping tasks: ======================================|
  exfldio-0129 [68] ex_setup_region        : Field [PM05] access width
(2 bytes) too large for region [SLP0] (length 1)
  exfldio-0140 [68] ex_setup_region        : Field [PM05]
Base+Offset+Width 0+0+2 is beyond end of region [SLP0] (length 1)
  dswexec-0422 [60] ds_exec_end_op     : [And]: Could not resolve
operands, AE_AML_REGION_LIMIT
  psparse-1121: *** Error: Method execution failed [\_PTS] (Node
cf7315a8), AE_AML_REGION_LIMIT
hdc: start_power_set(step: 0)
hdc: completing PM request, suspen
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspend
PM: Entering state.
  hwsleep-0257 [52] acpi_enter_sleep_state: Entering sleep state [S1]
Back to C!
PM: Finishing up.
---------

After last message machine locks.

So I downloaded dsdt and decompiled by "iasl". Then I tried to compile
and got this errors:

------
fers@elara:/usr/src$ ./iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler / AML Disassembler version 20030918 [Sep 18
2003]
Copyright (C) 2000 - 2003 Intel Corporation
Supports ACPI Specification Revision 2.0b

dsdt.dsl    39:         Field (SLP0, WordAcc, NoLock, Preserve)
Error    1047 -                   ^ Access width is greater than region
size

dsdt.dsl    41:             PM05,   8
Error    1051 -                ^ Access width of Field Unit extends
beyond region limit

dsdt.dsl   241:     Method (\_WAK, 1, NotSerialized)
Warning  2026 -                 ^ Reserved method must return a value
(_WAK)

dsdt.dsl  2765:                     })
Error    1071 -                     ^ Missing EndDependentFn() macro in
dependent resource list

dsdt.dsl  2904:                         /*** Missing
EndDependentFunctions descriptor */                    })
Error    1071 -                                   Missing
EndDependentFn() macro in dependent resource list ^

dsdt.dsl  3062:                         /*** Missing
EndDependentFunctions descriptor */                    })
Error    1071 -                                   Missing
EndDependentFn() macro in dependent resource list ^

dsdt.dsl  3195:                     Field (RAM, AnyAcc, Lock, Preserve)
Error    1048 -                              ^ Host Operation Region
requires ByteAcc access

dsdt.dsl  3481:                         Method (_DGS, 0, NotSerialized)
Warning  2019 -                                    ^ Not all control
paths return a value (_DGS)

dsdt.dsl  3481:                         Method (_DGS, 0, NotSerialized)
Warning  2026 -                                    ^ Reserved method
must return a value (_DGS)

dsdt.dsl  3514:                         Method (_DGS, 0, NotSerialized)
Warning  2019 -                                    ^ Not all control
paths return a value (_DGS)

dsdt.dsl  3514:                         Method (_DGS, 0, NotSerialized)
Warning  2026 -                                    ^ Reserved method
must return a value (_DGS)

dsdt.dsl  3534:                         Method (_DDC, 1, NotSerialized)
Warning  2019 -                                    ^ Not all control
paths return a value (_DDC)

dsdt.dsl  3534:                         Method (_DDC, 1, NotSerialized)
Warning  2026 -                                    ^ Reserved method
must return a value (_DDC)

ASL Input:  dsdt.dsl - 3935 lines, 119332 bytes, 2012 keywords
Compilation complete. 6 Errors, 7 Warnings, 0 Remarks, 396 Optimizations
----


All files can be downloaded from http://petr.ferschmann.cz/dsdt/

I looked in language specification but still I don't know how to fix it.
Can somebody help me fix this table?

		Thank you.
-- 
                                  Petr "Fers" Ferschmann

 -=[  [email protected]  ]==[ http://petr.ferschmann.cz/ ]=-
-=[ Koukni na http://www.postcard.cz/ ]==[ +420 604/781 009 ]=-

GPG Fingerprint:
[83B0 6378 7A9D D993 035E  60BD FEEC F665 D2C8 1B9A]
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/dzJMKTvcB3Rwi3URAqR/AJ4wAaPM0WiTJmDpRJ35O8Jq2zFiRgCbBMBC
fcrHIY0jFCxvkfc1VBhiBwo=
=WprY
-----END PGP SIGNATURE-----