Dontview Posted March 23, 2014 Share Posted March 23, 2014 Hey Guys,i am trying to create my own DSDT but i am very inexperienced.The reason for this effort is that i found a dsdt hack for my HD 7850 here.Anyway I am getting a lot of compiling errors. Some of them i have already fixed by myself.Any help would be very appreciated.Thank you ntel ACPI Component Architecture ASL Optimizing Compiler version 20091214 [Dec 16 2009] Copyright (C) 2000 - 2009 Intel Corporation Supports ACPI Specification Revision 4.0 /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 3194: Acquire (MUT0, 0x0FFF) Warning 1105 - Possible operator timeout is ignored ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 6609: Method (RDGI, 1, NotSerialized) Warning 1088 - Not all control paths return a value ^ (RDGI) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 6626: Method (RDGP, 1, NotSerialized) Warning 1088 - Not all control paths return a value ^ (RDGP) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7770: Method (_DEP, 0, NotSerialized) Warning 1099 - Unknown reserved name ^ (_DEP) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 7784: Return (Package (0x00) {}) Remark 5072 - Effective AML package length is zero ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 9000: Buffer (0x00) {} Remark 5008 - Effective AML buffer length is zero ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 9048: Method (_DEP, 0, NotSerialized) Warning 1099 - Unknown reserved name ^ (_DEP) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 9062: Return (Package (0x00) {}) Remark 5072 - Effective AML package length is zero ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10089: Arg0 Error 4096 - syntax error, unexpected PARSEOP_ARG0 ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10089: Arg0 Warning 1100 - Statement is unreachable ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 10569: Method (SPL1, 0, Serialized) Warning 1088 - Not all control paths return a value ^ (SPL1) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 11115: Return (RDGP (0x57)) Warning 1093 - Called method may not always return a value ^ /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12149: Method (_HID, 0, NotSerialized) Warning 1088 - Not all control paths return a value ^ (_HID) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12149: Method (_HID, 0, NotSerialized) Warning 1081 - Reserved method must return a value ^ (_HID) /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 12547: Name (XMPT, Buffer (0x0000) {}) Remark 5008 - Effective AML buffer length is zero ^ ASL Input: /Users/timo/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 12800 lines, 419081 bytes, 5212 keywords Compilation complete. 1 Errors, 10 Warnings, 4 Remarks, 77 Optimizations dsdt.zip Link to comment Share on other sites More sharing options...
carbo178 Posted March 24, 2014 Share Posted March 24, 2014 Try this DSDT.aml.zip 1 Link to comment Share on other sites More sharing options...
Dontview Posted March 24, 2014 Author Share Posted March 24, 2014 Thank you!! It seems to work I got this clover debug code: 6:828 0:022 DSDT found in Clover volume OEM folder: EFI\CLOVER\ACPI\patched\dsdt.aml 6:848 0:020 page is allocated, write DSDT into 6:861 0:013 Output DSDT before patch to /EFI/CLOVER/ACPI/origin/DSDT-or.aml 6:925 0:063 Apply DsdtFixMask=0x00000000 old way 6:940 0:015 drop _DSM mask=0x0000 6:954 0:013 ========= Auto patch DSDT Starting ======== 6:968 0:013 VideoCard devID=0x4128086 6:981 0:013 DisplayADR1[0] = 0x20000, DisplayADR2[0] = 0xFFFE 6:995 0:013 Display 0 is notPCIE 7:009 0:013 USBADR[0] = 0x140000 and PCIe = 0xFFFE 7:022 0:013 USBADR[1] = 0x1A0000 and PCIe = 0xFFFE 7:289 0:266 Found Airport Atheros at 0x1C0001, 0x0 7:302 0:013 USBADR[2] = 0x1D0000 and PCIe = 0xFFFE 7:316 0:013 Found ACPI CPU: CPU0 And CPU1 And CPU2 And CPU3 And CPU4 And CPU5 And CPU6 And CPU7 7:439 0:123 Found PCIROOTUID = 0 7:452 0:013 ========= Auto patch DSDT Finished ======== My question now: Since clover is patching stuff by itself, is there anything else I need to do? Or is this dsdt just fine now? Link to comment Share on other sites More sharing options...
carbo178 Posted March 24, 2014 Share Posted March 24, 2014 Put DSDT.aml in ACPI-PATCHED, don't select any patch options in Clover Link to comment Share on other sites More sharing options...
Dontview Posted March 24, 2014 Author Share Posted March 24, 2014 Did that. So everything should be fine .Thank you very much. I am going to edit the dsdt.aml after my HD 7850 has arrived Link to comment Share on other sites More sharing options...
carbo178 Posted March 24, 2014 Share Posted March 24, 2014 The hd7850 is injected in dsdt, but i don't know if is in the right place, i need to see ioreg 1 Link to comment Share on other sites More sharing options...
Dontview Posted March 24, 2014 Author Share Posted March 24, 2014 All right then. Unfortunately my new graphic card didn't arrive yet.I should be here tomorrow or the day after tomorrow.Thanks for your help, I'll post the ioreg as soon as possible Link to comment Share on other sites More sharing options...
Dontview Posted March 25, 2014 Author Share Posted March 25, 2014 There you go ! IOReg.zip Link to comment Share on other sites More sharing options...
carbo178 Posted March 25, 2014 Share Posted March 25, 2014 According ioreg everything seems to be fine, but try to start without dsdt and make another ioreg, thanks Link to comment Share on other sites More sharing options...
Dontview Posted March 26, 2014 Author Share Posted March 26, 2014 Ok, here is my new IOReg (without DSDT).I use inject ATI via clover (Or shouldn't i do this?). Otherwise and without DSDT I have some graphic glitches.With DSDT and inject ATI i have graphics acceleration etc and everything works like a charm! IOReg 2.zip Link to comment Share on other sites More sharing options...
carbo178 Posted March 26, 2014 Share Posted March 26, 2014 Ok, Ioreg confirm the right position of the patch, Good Hack 1 Link to comment Share on other sites More sharing options...
Dontview Posted March 26, 2014 Author Share Posted March 26, 2014 Thank you for all your help! Link to comment Share on other sites More sharing options...
Dontview Posted April 11, 2014 Author Share Posted April 11, 2014 Sorry to bother you again. But i had to change the PCI-E Slot.It is now on the second one.Could you help me to prepare my DSDT again? It still is the same dsdt.aml like in the beginning of this thread.Thank you so much! Link to comment Share on other sites More sharing options...
Dontview Posted April 11, 2014 Author Share Posted April 11, 2014 I attached the new IOreg, if this helps! Thank you! IOreg.zip Link to comment Share on other sites More sharing options...
carbo178 Posted April 12, 2014 Share Posted April 12, 2014 Why you have changed to second PCI-E? I think the Graphics Card not work well, the second slot have a link speed x4 (only used for second card in crossfire), first slot is x16 (used for single card) Link to comment Share on other sites More sharing options...
Dontview Posted April 12, 2014 Author Share Posted April 12, 2014 Hey,thanks for your quick response. To be honest: I have simply overlooked this fact. Anyway, i changed everything to my old configuration. Although, maybe it is useful for future projects, that this configuration worked with injected kext. I had to change it in the first place, because of heat issues. I was hoping to fix it by changing the position of my gc. In the end, i bought a new Tower with cable and heat management. Now everything looks fine. Thanks for your help,have a nice weekend. Link to comment Share on other sites More sharing options...
carbo178 Posted April 15, 2014 Share Posted April 15, 2014 Try this, please; don't use any flag and injector for graphics. If doesn't work reboot the system with DSDT=/aaaaaaaa and delete the file, resume previous DSDT DSDT.aml.zip Link to comment Share on other sites More sharing options...
Dontview Posted April 15, 2014 Author Share Posted April 15, 2014 Hey,the new DSDT.aml is booting, but I have graphic glitches and my gp is not recognized correctly. What did you change?Here my IOreg. IOReg3.zip Link to comment Share on other sites More sharing options...
carbo178 Posted April 15, 2014 Share Posted April 15, 2014 I've changed framebuffer (Aji), try this with Futomaki framebuffer, if doesn't work put the first i've uploaded (Post #2) DSDT.aml.zip Link to comment Share on other sites More sharing options...
Dontview Posted April 22, 2014 Author Share Posted April 22, 2014 Hey Carbo, sorry i didn’t answer. I was quite busy. I tried your new DSDT and i didn’t work either. Same result as the DSDT bevor :/ Link to comment Share on other sites More sharing options...
carbo178 Posted April 22, 2014 Share Posted April 22, 2014 Ok, the dsdt at post #2 works well, right? Link to comment Share on other sites More sharing options...
Dontview Posted April 23, 2014 Author Share Posted April 23, 2014 Works like a charm. I just have to add "USB-Fix" via Clover in order to have keyboard support after sleep. Link to comment Share on other sites More sharing options...
Recommended Posts