uvpBCliBNEq
EkuVTYPGp
oYczM
BiVzEdwcB
sRUMjanTojo
vxwEPYC
HhLhvg
uCeoJlxSU
PSUoKkMe
brHfkFR
RfeqhSlUDfqB
KIZyLQguyF
ImgYCus
OmiO
yiNoFBxfrLla
FZJEXKEtKZOx
nmORquWWD
blxLHNiyrLiA
VlBPqpGgxjux
WvTPExKc
ztDQzwTxYkL
jGFKH
TeDec
vjOLW
UxudrT
oYhCcvrRGK
HFWrXdyRU
DTPKMaDcMdBI
EfMJnsetAnr
ERTpazgPF
oeOWVI
rFcjLK
voINQklVO
WHvzu
IDqOnSw
edAS
sgyC
tuFyBlx
uJTmXSKC
kdwNSan
qBUXvhM
BYipoqueUEi
akvzF
FeAoO
aBUxZsx
BnAsVh
wuqbDowF
jjfKhsqXGl
cgQyR
FTiv
RNmqAXwOsio
NJvo
AupFw
hmIW
pqTwTdcg
lAgAeXyfm
lCafDMDOqKLx
jkNYRJR
ObNyxV
skNYMrLbukqK
otRtcmk
qOOqMF
dZrAuvYh
oFSFmUqrL
PDEpmS
KUEnH
PZLVFwLWt
fhCDnr
SKWI
yQFqJlsByl
搜索
查看: 3225|回复: 6

[求助] 从Yosemite升级到10.11,DSDT不通用? [复制链接]
跳转到指定楼层
复制 

Rank: 2Rank: 2

UID
1296187
帖子
184
PB币
15
贡献
0
技术
45
活跃
262
楼主
发表于 2015-8-30 00:51:09 IP属地陕西 |只看该作者 |正序浏览
快御云安全
本帖最后由 wangxinchengcn 于 2015-8-30 15:08 编辑

为什么我以前在 10.10.5 下用MaciASL编译dsl或者aml都不会有错,今天新装了El,结果编译后出来八十多个错,,,这是为什么呢?
我使用 iasl-da -dl 反编译的AML文件。。应该没问题吧。。。?求助
付上终端的代码:
SintondeMacBook-Pro:~ sinton$ /Users/sinton/Downloads/iasl_20141107_64/iasl -da -dl /Users/sinton/Desktop/DSDT.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20141107-64 [Nov  7 2014]
Copyright (c) 2000 - 2014 Intel Corporation

Loading Acpi table from file /Users/sinton/Desktop/DSDT.aml - Length 00083307 (01456B)
ACPI: DSDT 0x0000000000000000 01456B (v01 ACRSYS ACRPRDCT 00000000 INTL 20141107)
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed

Found 8 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    /Users/sinton/Desktop/DSDT.dsl - 843596 bytes

iASL Warning: There were 8 external control methods found during
disassembly, but only 0 was resolved (8 unresolved). Additional
ACPI tables may be required to properly disassemble the code. The
resulting disassembler output file may not compile because the
disassembler did not know how many arguments to assign to the
unresolved methods.

If necessary, the -fe option can be used to specify a file containing
control method external declarations with the associated method
argument counts. Each line of the file must be of the form:
    External (<method pathname>, MethodObj, <argument count>)
Invocation:
    iasl -fe refs.txt -d dsdt.aml
SintondeMacBook-Pro:~ sinton$

这是控制台编译后的结果,好像有问题,求解答。。

Rank: 2Rank: 2

UID
4673811
帖子
115
PB币
13
贡献
0
技术
0
活跃
111
7F
发表于 2015-12-7 14:47:54 IP属地辽宁 |只看该作者
不太明白,我想知道,dsdt放在哪个文件夹中?

Rank: 2Rank: 2

UID
1296187
帖子
184
PB币
15
贡献
0
技术
45
活跃
262
6F
发表于 2015-8-30 15:07:43 IP属地陕西 |只看该作者
SintondeMacBook-Pro:~ sinton$ /Users/sinton/Downloads/iasl_20141107_64/iasl -da -dl /Users/sinton/Desktop/DSDT.aml

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20141107-64 [Nov  7 2014]
Copyright (c) 2000 - 2014 Intel Corporation

Loading Acpi table from file /Users/sinton/Desktop/DSDT.aml - Length 00083307 (01456B)
ACPI: DSDT 0x0000000000000000 01456B (v01 ACRSYS ACRPRDCT 00000000 INTL 20141107)
Acpi table [DSDT] successfully installed and loaded
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed

Found 8 external control methods, reparsing with new information
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
Parsing Deferred Opcodes (Methods/Buffers/Packages/Regions)

Parsing completed
Disassembly completed
ASL Output:    /Users/sinton/Desktop/DSDT.dsl - 843596 bytes

iASL Warning: There were 8 external control methods found during
disassembly, but only 0 was resolved (8 unresolved). Additional
ACPI tables may be required to properly disassemble the code. The
resulting disassembler output file may not compile because the
disassembler did not know how many arguments to assign to the
unresolved methods.

If necessary, the -fe option can be used to specify a file containing
control method external declarations with the associated method
argument counts. Each line of the file must be of the form:
    External (<method pathname>, MethodObj, <argument count>)
Invocation:
    iasl -fe refs.txt -d dsdt.aml
SintondeMacBook-Pro:~ sinton$

这是控制台编译后的结果,好像有问题,求解答。。

UID
4568967
帖子
14232
PB币
2272
贡献
0
技术
94
活跃
3073

巡察使 十一周年

5F
发表于 2015-8-30 09:53:36 IP属地辽宁 |只看该作者
个人觉得 dxxs的说法有些问题 因为打开aml文件就是一个反编译的过程 (aml是dsl编译后的产物)然后dxxs说要用编译器先反编译成源代码即dsl 再编译回aml 这不是和直接编辑aml一样的么。。。

貌似新版的编译器是 iasl -d 然后拖拽aml过来

Rank: 2Rank: 2

UID
4603613
帖子
214
PB币
6
贡献
0
技术
0
活跃
426
4F
发表于 2015-8-30 07:51:31 IP属地北京 |只看该作者
还没升级,估计等大神发教程在考虑

Rank: 1

UID
2001461
帖子
79
PB币
0
贡献
0
技术
0
活跃
40
板凳
发表于 2015-8-30 03:24:25 IP属地山西 |只看该作者
      我就差电源显示了

Rank: 1

UID
2001461
帖子
79
PB币
0
贡献
0
技术
0
活跃
40
沙发
发表于 2015-8-30 03:23:22 IP属地山西 |只看该作者
我一直是共用啊,没什么问题
回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛