AMD 780G DSDT编译

折腾我的小机器。碰到一个问题。

先记录下DSDT.AML的获取

linux启动

sudo cat /proc/acpi/dsdt dsdt.dat

直接改名dsdt.dat 为 dsdt.aml

反编译(需要<a href="http://www.acpica.org/download/iasl-win-20091214.zip">iasl</a> 支持):

iasl.exe -d dsdt.aml

mac的仿冒驱动需要dsdt支持。直接反编译后编译报错:

Intel ACPI Component Architecture

ASL Optimizing Compiler version 20091214 
[Dec 14 2009]

Copyright (C2000 2009 Intel Corporation

Supports ACPI Specification Revision 4.0



dsdt
.dsl     520:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     528:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     536:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     544:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     552:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     560:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     568:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     576:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     584:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     592:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     600:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     608:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     616:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     624:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     632:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     640:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     648:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     656:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     664:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     672:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     680:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     688:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     696:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     704:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     712:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     720:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     728:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     736:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     744:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     752:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     760:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     768:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     776:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     784:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     792:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     800:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     808:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     816:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     824:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     832:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     840:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     848:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     856:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     864:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     872:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     880:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     888:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     896:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     904:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     912:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     920:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     928:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     936:                         LNKG

Error     4064 -                             ^ Object does not exist (LNKG)



dsdt.dsl     1372:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     1380:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     1388:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     1396:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     1440:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     1448:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     1456:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     1464:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     1508:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     1516:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     1524:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     1532:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     1576:                         LNKC

Error     4064 -                             ^ Object does not exist (LNKC)



dsdt.dsl     1584:                         LNKD

Error     4064 -                             ^ Object does not exist (LNKD)



dsdt.dsl     1592:                         LNKA

Error     4064 -                             ^ Object does not exist (LNKA)



dsdt.dsl     1600:                         LNKB

Error     4064 -                             ^ Object does not exist (LNKB)



dsdt.dsl     1644:                         LNKE

Error     4064 -                             ^ Object does not exist (LNKE)



dsdt.dsl     1652:                         LNKF

Error     4064 -                             ^ Object does not exist (LNKF)



dsdt.dsl     1660:                         LNKG

Error     4064 -                             ^ Object does not exist (LNKG)



dsdt.dsl     1668:                         LNKH

Error     4064 -                             ^ Object does not exist (LNKH)



dsdt.dsl     1676:                         LNKF

Error     4064 -                             ^ Object does not exist (LNKF)



dsdt.dsl     1684:                         LNKG

Error     4064 -                             ^ Object does not exist (LNKG)



dsdt.dsl     1692:                         LNKH

Error     4064 -                             ^ Object does not exist (LNKH)



dsdt.dsl     1700:                         LNKE

Error     4064 -                             ^ Object does not exist (LNKE)



dsdt.dsl     1708:                         LNKG

Error     4064 -                             ^ Object does not exist (LNKG)



dsdt.dsl     1716:                         LNKH

Error     4064 -                             ^ Object does not exist (LNKH)



dsdt.dsl     1724:                         LNKE

Error     4064 -                             ^ Object does not exist (LNKE)



dsdt.dsl     1732:                         LNKF

Error     4064 -                             ^ Object does not exist (LNKF)



dsdt.dsl     2628:                         If (ECEN)

Error     4096 -         parse error 



dsdt.dsl     2631:                             OperationRegion (ECBPSystemIOECIN0x02)

Error     4064 -                                                 Object does not exist ^     (ECIN)



dsdt.dsl     2637:                             OperationRegion (ECIOSystemIOECIN0x02)

Error     4064 -                                                 Object does not exist ^     (ECIN)



dsdt.dsl     2673:                                 Acquire (ECMU0x5000)

Error     4064 -                     Object does not exist ^     (ECMU)



dsdt.dsl     2673:                                 Acquire (ECMU0x5000)

Warning     1105 -             Possible operator timeout is ignored 



dsdt.dsl     2687:                                 Release (ECMU)

Error     4064 -                     Object does not exist ^     (ECMU)



dsdt.dsl     2693:                                 Acquire (ECMU0x1388)

Error     4064 -                     Object does not exist ^     (ECMU)



dsdt.dsl     2693:                                 Acquire (ECMU0x1388)

Warning     1105 -             Possible operator timeout is ignored 



dsdt.dsl     2694:                                 Acquire (MLMU0x1388)

Error     4064 -                     Object does not exist ^     (MLMU)



dsdt.dsl     2694:                                 Acquire (MLMU0x1388)

Warning     1105 -             Possible operator timeout is ignored 



dsdt.dsl     2709:                                 Release (MLMU)

Error     4064 -                     Object does not exist ^     (MLMU)



dsdt.dsl     2709:                                 Release (MLMU)

Warning     1100 -                 Statement is unreachable 



dsdt.dsl     2710:                                 Release (ECMU)

Error     4064 -                     Object does not exist ^     (ECMU)



dsdt.dsl     2715:                                 Acquire (ECMU0x1388)

Error     4064 -                     Object does not exist ^     (ECMU)



dsdt.dsl     2715:                                 Acquire (ECMU0x1388)

Warning     1105 -             Possible operator timeout is ignored 



dsdt.dsl     2716:                                 Acquire (MLMU0x1388)

Error     4064 -                     Object does not exist ^     (MLMU)



dsdt.dsl     2716:                                 Acquire (MLMU0x1388)

Warning     1105 -             Possible operator timeout is ignored 



dsdt.dsl     2731:                                 Release (MLMU)

Error     4064 -                     Object does not exist ^     (MLMU)



dsdt.dsl     2732:                                 Release (ECMU)

Error     4064 -                     Object does not exist ^     (ECMU)



dsdt.dsl     2882:                                         Acquire (ECMU0x1388)

Error     4064 -                         Object does not exist ^     (ECMU)



dsdt.dsl     2882:                                         Acquire (ECMU0x1388)

Warning     1105 -                 Possible operator timeout is ignored 



dsdt.dsl     2895:                                         Release (ECMU)

Error     4064 -                         Object does not exist ^     (ECMU)



dsdt.dsl     2952:                                         Acquire (ECMU0x1388)

Error     4064 -                         Object does not exist ^     (ECMU)



dsdt.dsl     2952:                                         Acquire (ECMU0x1388)

Warning     1105 -                 Possible operator timeout is ignored 



dsdt.dsl     2960:                                         Release (ECMU)

Error     4064 -                         Object does not exist ^     (ECMU)



dsdt.dsl     3075:                             If (ECEN)

Error     4064 -         Object does not exist ^     (ECEN)



dsdt.dsl     3077:                                 PPTS (Arg0)

Error     4068 -                                     ^ Object is not accessible from this scope (PPTS)



dsdt.dsl     3083:                             If (ECEN)

Error     4064 -         Object does not exist ^     (ECEN)



dsdt.dsl     3085:                                 WWAK (Arg0)

Error     4068 -                                     ^ Object is not accessible from this scope (WWAK)



dsdt.dsl     3816:                                 CreateDWordField (CRS_SB.PCI0.SBRG.HPET._Y04._BASHPT)

Error     4064 -                                                                         Object does not exist ^     (_SB.PCI0.SBRG.HPET._Y04._BAS)



dsdt.dsl     3835:                                 CreateDWordField (CRS_SB.PCI0.PCIE._Y05._BASBAS1)

Error     4064 -                                                                 Object does not exist ^     (_SB.PCI0.PCIE._Y05._BAS)



dsdt.dsl     3836:                                 CreateDWordField (CRS_SB.PCI0.PCIE._Y05._LENLEN1)

Error     4064 -                                                                 Object does not exist ^     (_SB.PCI0.PCIE._Y05._LEN)



dsdt.dsl     3862:                                         CreateDWordField (CRS_SB.PCI0.SBRG.OMSC._Y06._LENML01)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.OMSC._Y06._LEN)



dsdt.dsl     3863:                                         CreateDWordField (CRS_SB.PCI0.SBRG.OMSC._Y06._BASMB01)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.OMSC._Y06._BAS)



dsdt.dsl     3864:                                         CreateDWordField (CRS_SB.PCI0.SBRG.OMSC._Y07._LENML02)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.OMSC._Y07._LEN)



dsdt.dsl     3865:                                         CreateDWordField (CRS_SB.PCI0.SBRG.OMSC._Y07._BASMB02)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.OMSC._Y07._BAS)



dsdt.dsl     3905:                                 CreateDWordField (CRS_SB.RMEM._Y08._BASBAS1)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y08._BAS)



dsdt.dsl     3906:                                 CreateDWordField (CRS_SB.RMEM._Y08._LENLEN1)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y08._LEN)



dsdt.dsl     3907:                                 CreateDWordField (CRS_SB.RMEM._Y09._BASBAS2)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y09._BAS)



dsdt.dsl     3908:                                 CreateDWordField (CRS_SB.RMEM._Y09._LENLEN2)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y09._LEN)



dsdt.dsl     3909:                                 CreateDWordField (CRS_SB.RMEM._Y0A._LENLEN3)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y0A._LEN)



dsdt.dsl     3910:                                 CreateDWordField (CRS_SB.RMEM._Y0B._BASBAS4)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y0B._BAS)



dsdt.dsl     3911:                                 CreateDWordField (CRS_SB.RMEM._Y0B._LENLEN4)

Error     4064 -                                                             Object does not exist ^     (_SB.RMEM._Y0B._LEN)



dsdt.dsl     4164:                                 CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0C._MINGP00)

Error     4064 -                                                                         Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0C._MIN)



dsdt.dsl     4165:                                 CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0C._MAXGP01)

Error     4064 -                                                                         Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0C._MAX)



dsdt.dsl     4166:                                 CreateByteField (CRS_SB.PCI0.SBRG.RMSC._Y0C._LENGP0L)

Error     4064 -                                                                         Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0C._LEN)



dsdt.dsl     4172:                                         CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0D._MINGP10)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0D._MIN)



dsdt.dsl     4173:                                         CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0D._MAXGP11)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0D._MAX)



dsdt.dsl     4174:                                         CreateByteField (CRS_SB.PCI0.SBRG.RMSC._Y0D._LENGP1L)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0D._LEN)



dsdt.dsl     4178:                                         CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0E._MINGPB0)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0E._MIN)



dsdt.dsl     4179:                                         CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0E._MAXGPB1)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0E._MAX)



dsdt.dsl     4180:                                         CreateByteField (CRS_SB.PCI0.SBRG.RMSC._Y0E._LENGPBL)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0E._LEN)



dsdt.dsl     4188:                                         CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0F._MINGP20)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0F._MIN)



dsdt.dsl     4189:                                         CreateWordField (CRS_SB.PCI0.SBRG.RMSC._Y0F._MAXGP21)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0F._MAX)



dsdt.dsl     4190:                                         CreateByteField (CRS_SB.PCI0.SBRG.RMSC._Y0F._LENGP2L)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.RMSC._Y0F._LEN)



dsdt.dsl     4299:                                         CreateWordField (CRS_SB.PCI0.SBRG.SIOR._Y10._MINGP10)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y10._MIN)



dsdt.dsl     4300:                                         CreateWordField (CRS_SB.PCI0.SBRG.SIOR._Y10._MAXGP11)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y10._MAX)



dsdt.dsl     4301:                                         CreateByteField (CRS_SB.PCI0.SBRG.SIOR._Y10._LENGPL1)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y10._LEN)



dsdt.dsl     4309:                                         CreateWordField (CRS_SB.PCI0.SBRG.SIOR._Y11._MINGP20)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y11._MIN)



dsdt.dsl     4310:                                         CreateWordField (CRS_SB.PCI0.SBRG.SIOR._Y11._MAXGP21)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y11._MAX)



dsdt.dsl     4311:                                         CreateByteField (CRS_SB.PCI0.SBRG.SIOR._Y11._LENGPL2)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y11._LEN)



dsdt.dsl     4319:                                         CreateWordField (CRS_SB.PCI0.SBRG.SIOR._Y12._MINGP30)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y12._MIN)



dsdt.dsl     4320:                                         CreateWordField (CRS_SB.PCI0.SBRG.SIOR._Y12._MAXGP31)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y12._MAX)



dsdt.dsl     4321:                                         CreateByteField (CRS_SB.PCI0.SBRG.SIOR._Y12._LENGPL3)

Error     4064 -                                                                             Object does not exist ^     (_SB.PCI0.SBRG.SIOR._Y12._LEN)



dsdt.dsl     4639:                         CreateWordField (CRS1_SB.PCI0.SBRG._Y13._INTIRQM)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y13._INT)



dsdt.dsl     4640:                         CreateByteField (CRS1_SB.PCI0.SBRG._Y14._DMADMAM)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y14._DMA)



dsdt.dsl     4641:                         CreateWordField (CRS1_SB.PCI0.SBRG._Y15._MINIO11)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y15._MIN)



dsdt.dsl     4642:                         CreateWordField (CRS1_SB.PCI0.SBRG._Y15._MAXIO12)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y15._MAX)



dsdt.dsl     4643:                         CreateByteField (CRS1_SB.PCI0.SBRG._Y15._LENLEN1)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y15._LEN)



dsdt.dsl     4663:                         CreateWordField (CRS2_SB.PCI0.SBRG._Y16._INTIRQE)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y16._INT)



dsdt.dsl     4664:                         CreateByteField (CRS2_SB.PCI0.SBRG._Y17._DMADMAE)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y17._DMA)



dsdt.dsl     4665:                         CreateWordField (CRS2_SB.PCI0.SBRG._Y18._MINIO21)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y18._MIN)



dsdt.dsl     4666:                         CreateWordField (CRS2_SB.PCI0.SBRG._Y18._MAXIO22)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y18._MAX)



dsdt.dsl     4667:                         CreateByteField (CRS2_SB.PCI0.SBRG._Y18._LENLEN2)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y18._LEN)



dsdt.dsl     4668:                         CreateWordField (CRS2_SB.PCI0.SBRG._Y19._MINIO31)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y19._MIN)



dsdt.dsl     4669:                         CreateWordField (CRS2_SB.PCI0.SBRG._Y19._MAXIO32)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y19._MAX)



dsdt.dsl     4670:                         CreateByteField (CRS2_SB.PCI0.SBRG._Y19._LENLEN3)

Error     4064 -                                                         Object does not exist ^     (_SB.PCI0.SBRG._Y19._LEN)



dsdt.dsl     4824:                         If (LEqual (STCL0x0101))

Error     4096 -         parse error 



dsdt.dsl     5215:             Scope )

Error     4096 -                 ^ parse errorexpecting `$'



ASL Input:     dsdt.dsl - 5991 lines, 189874 bytes, 1479 keywords

Compilation complete. 152 Errors, 8 Warnings, 0 Remarks, 7 Optimizations

大致分析了一下。多数的Object does not exist是因为定义的地方编译失败。具体为类似如下的地方:

dsdt.dsl     3083:                             If (ECEN)

Error     4064 -         Object does not exist ^     (ECEN)

原文程序段如下:

Method (EWAK1NotSerialized)

                     {

                             If (
ECEN)

                             {

                                 
WWAK (Arg0)

                             }

                     }

前后查看了几遍,折腾不出来,这语法怎么看都是对的。不了了。

最后才在<a href="http://www.insanelymac.com/forum/index.php?showtopic=191731&pid=1345549&mode=threaded&start=#entry1345549">www.insanelymac.com</a>上找到另外的一个解决方法:

对mac打上防止bios重置补丁<a href="http://www.kexts.com/view/151-cmos_reset_fix_(via_kext).html">CMOS reset fix (via kext)</a>

重启,进入DSDT_Patcher1.0.1e文件夹,使用如下命令从bios中提取并编译

./DSDT Patcher -f

OK 得到 dsdt.aml 放入Darwin目录,重启。没有五国。

收工,可以继续搞声卡驱动了。

« 上一篇 | 下一篇 »

7条记录访客评论

我和你的主板一样,打上内个bios补丁后运行DSDT Patcher -f ,还是那150多个错啊 ,,,怎么解决呢

Post by 小新mario on 2010, November 25, 11:10 PM 引用此文发表评论 #1

引用 小新mario 说过的话:
我和你的主板一样,打上内个bios补丁后运行DSDT Patcher -f ,还是那150多个错啊 ,,,怎么解决呢

贴下错误看看?
按照我的说明手工改过了没?

Post by ╰☆往事如风 on 2010, November 29, 5:41 PM 引用此文发表评论 #2

150个来个错基本都是跟你一样的,object not exists通过在最上面external() 解决了,现在剩下最后5个解决不了,编译不过去
错误如下:
C:\mario\Patcher02Beta5>iasl -f dsdt_my.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20081204 [Dec  4 2008]
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt_my.dsl  2689:                 If (ECEN)
Error    4095 -         parse error ^

dsdt_my.dsl  2770:                         Release (MLMU)
Warning  1099 -               Statement is unreachable ^

dsdt_my.dsl  3138:                         PPTS (Arg0)
Error    4067 -                               ^ Object is not accessible from this scope (PPTS)

dsdt_my.dsl  3146:                         WWAK (Arg0)
Error    4067 -                               ^ Object is not accessible from this scope (WWAK)

dsdt_my.dsl  4885:                 If (LEqual (STCL, 0x0101))
Error    4095 -         parse error ^

dsdt_my.dsl  5276:         ScopeB.PWRB, 0x02)
Error    4095 -                ^ parse error, expecting `$'

ASL Input:  dsdt_my.dsl - 6140 lines, 194372 bytes, 1479 keywords
AML Output: dsdt.aml - 16913 bytes, 612 named objects, 867 executable opcodes

Compilation complete. 5 Errors, 1 Warnings, 0 Remarks, 48 Optimizations

谢谢你的回复

Post by 小新mario on 2010, December 3, 9:14 AM 引用此文发表评论 #3

打了你说的内个补丁,在mac下./DSDT Patcher -f也一样是这5个错

Post by 小新mario on 2010, December 3, 9:16 AM 引用此文发表评论 #4

人呢,我这儿天天来看呢还

Post by 小新mario on 2010, December 15, 1:12 PM 引用此文发表评论 #5

错误附近上下文贴出来看看?或者直接提供DSL看看?

Post by ╰☆往事如风 on 2010, December 21, 4:04 PM 引用此文发表评论 #6

给个msn或qq吧

Post by 小新mario on 2010, December 27, 10:50 AM 引用此文发表评论 #7


发表评论

评论内容 (必填):