Phaetherap Posted April 16, 2017 Share Posted April 16, 2017 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 More sharing options...
artur_pt Posted April 16, 2017 Share Posted April 16, 2017 hello use last maciasl from rehab repo DSDT.dsl.zip good hack 2 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 Tried, hello use last maciasl from rehab repo DSDT.dsl.zip Screenshot 2017-04-16 09.55.59.png good hack Getting this error now: 11289, 6126, syntax error, unexpected PARSEOP_ARG1 Link to comment Share on other sites More sharing options...
artur_pt Posted April 16, 2017 Share Posted April 16, 2017 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 1 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 (edited) @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: system_IRQ.txt Edited April 16, 2017 by wesleycguirra Link to comment Share on other sites More sharing options...
artur_pt Posted April 16, 2017 Share Posted April 16, 2017 hello send me the original aml file u extract what layout id u want for applehda ? good hack 1 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 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): And 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 More sharing options...
mfc88 Posted April 16, 2017 Share Posted April 16, 2017 How can I do the same? DSDT.aml.zip layout-id 3 (I think is the right one for laptops) Figured it out. Only 15 warnings, no errors. DSDT.dsl.zip 1 Link to comment Share on other sites More sharing options...
artur_pt Posted April 16, 2017 Share Posted April 16, 2017 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 1 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 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 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 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 More sharing options...
MaLd0n Posted April 16, 2017 Share Posted April 16, 2017 What hardware? ur signature? 1 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 What hardware? ur signature? Yes It's it! Link to comment Share on other sites More sharing options...
MaLd0n Posted April 16, 2017 Share Posted April 16, 2017 if u use patches like remove _DSM or XDSM, u kill many things. E.G. Smart HD... dont use it! 1 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 Understood! how can I figure out this error: 11289, 6126, syntax error, unexpected PARSEOP_ARG1 and Need I patch all SSDT files? Link to comment Share on other sites More sharing options...
MaLd0n Posted April 16, 2017 Share Posted April 16, 2017 u need only one SSDT, Pike SSDTS for Native Power Management Just run it, open, save and compile ssdtPRGen.command.zip The best is drop SSDTs, speed up boot, not use many and many SSDTs Check Line 11294 DSDT.aml.zip 1 Link to comment Share on other sites More sharing options...
Phaetherap Posted April 16, 2017 Author Share Posted April 16, 2017 u need only one SSDT, Pike SSDTS for Native Power Management Just run it, open, save and compile ssdtPRGen.command.zip The best is drop SSDTs, speed up boot, not use many and many SSDTs Check Line 11294 DSDT.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 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 Tried to copy it to ACPI/patched OSX booted but no audio Link to comment Share on other sites More sharing options...
artur_pt Posted April 17, 2017 Share Posted April 17, 2017 hello try to see in about this mac > audio > if it have layout 3 or try to use applealc AppleALC — dynamic AppleHDA patching good hack Link to comment Share on other sites More sharing options...
Phaetherap Posted April 21, 2017 Author Share Posted April 21, 2017 The main question of this post was the edit of DSDT that I was having that error, fixed with DSDT that artur_pt posted. 1 Link to comment Share on other sites More sharing options...
Recommended Posts