Jump to content
18 posts in this topic

Recommended Posts

Hello there, I know that exists another question about it, but I'm asking again because the first one don't helped me to solve my problem

 

 

I'm trying to patch the DSDT that I extracted from linux, for audio ALC255 that I asked for help in this post, I already dissasembled from DSDT.aml to DSDT.dsl

 

then I opened the DSDT.dsl in MaciASL and try to compile and get these two errors:

11288, 6126, syntax error, unexpected PARSEOP_ARG0

13018, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('

I apply the patch [syn] Remove _DSM Methods from RehabMan repository and try to compile again, then I get this error:

13018, 6126, syntax error, unexpected PARSEOP_NAMESEG, expecting '('

the clean DSDT.dsl from linux:

 

DSDT.dsl.zip

Link to comment
Share on other sites

hello

 

try to delete that line

 

if u are applying the right patch should not have any problems .. the dsl i send u before no error

 

so .. u are applying wrong patch

 

good hack

  • Like 1
Link to comment
Share on other sites

@artur_pt

 

I'm not applying any patch, just open the .dsl and press compile.

 

tried to delete line, get these two errors:

11289, 6126, syntax error, unexpected PARSEOP_ARG2
23394, 6126, syntax error, unexpected $end and premature End-Of-File

I'm trying to apply this patch:

Edited by wesleycguirra
Link to comment
Share on other sites

I was able to get it down to 38 warnings. Although, I'm sure Mald0n could remove some these warnings (unfortunately, beyond my knowledge of DSDTs):

 

c6WSR4e.png

 

And 

teTB3o3.png

 

Otherwise, no errors.

 

How can I do the same?

 

 

hello

 

send me the original aml file u extract

 

what layout id u want for applehda ?

 

good hack

DSDT.aml.zip

 

layout-id 3 (I think is the right one for laptops)

Link to comment
Share on other sites

hello

 

there u go

 

hdef device insert in PCIO with layout 3

 

DSDT.aml.zip

 

and warnings is not a problem .. is generated by the compiler ..

 

if u have error .. that is a problem .. and u can't compile the file ..

 

usually the errors and warnings u get when u decompile the original file

 

and drop all ur ssdt files .. ur audio are in the ssdt files

 

good hack

  • Like 1
Link to comment
Share on other sites

Figured it out.

 

Only 15 warnings, no errors.

I Want to learn how to do, because I'll need to do others patches for power management.

 

hello

 

there u go

 

hdef device insert in PCIO with layout 3

 

attachicon.gifDSDT.aml.zip

 

and warnings is not a problem .. is generated by the compiler ..

 

if u have error .. that is a problem .. and u can't compile the file ..

 

usually the errors and warnings u get when u decompile the original file

 

and drop all ur ssdt files .. ur audio are in the ssdt files

 

good hack

https://drive.google.com/drive/folders/0B7-iTUmQfbmTWl9HbjVKR1NyZVk?usp=sharing

 

in this folder have all files extracted from linux, I not rename all yet.

 

If I understand well, I need to apply audio patch for all SSDT and DSDT files when patching? like DSDT, SSDT-1, SSDT-2...

Link to comment
Share on other sites

u need only one SSDT, Pike SSDTS for Native Power Management

Just run it, open, save and compile

attachicon.gifssdtPRGen.command.zip

The best is drop SSDTs, speed up boot, not use many and many SSDTs

 

Check Line 11294

attachicon.gifDSDT.aml.zip

 

I do exact what u say:

 

Run, then open and save, then opened in MaciASL compile and save as .aml, I'll test if it works.

 

But for DSDT I didn't understand, aml is compiled, and I never edit that just dissasembly the linux file, open it in MaciASL and click compile, then I get the errors.

 

What you mean as drop SSDT? put them into ACPI/patched CLOVER FOLDER?

Did not working.

 

I put only SSDT in ACPI/patched

 

post-1694180-14923835496785_thumb.jpg

 

 

hello

 

there u go

 

hdef device insert in PCIO with layout 3

 

attachicon.gifDSDT.aml.zip

 

and warnings is not a problem .. is generated by the compiler ..

 

if u have error .. that is a problem .. and u can't compile the file ..

 

usually the errors and warnings u get when u decompile the original file

 

and drop all ur ssdt files .. ur audio are in the ssdt files

 

good hack

Tried to copy it to ACPI/patched OSX booted but no audio

 

 

Link to comment
Share on other sites

 Share

×
×
  • Create New...