oldnapalm Posted July 16, 2010 Author Share Posted July 16, 2010 Can you upload the DSDT fix for these: - Sleep / Shutdown Fix. - Native PowerManagement correctly loaded - (this manual - Splash Screen) - USB/EHCI Speed Fixes. - USB 1.1 and 2.0 seen as internal with sleep capability - CMOS reset fix. - HDEF Audio - Renamed devices to mac specific ones - Native SMBus loading - Full AHCI hotplug capability Most patches are hardware specific. For now we have tested in some ASUS and Gigabyte motherboards. Some are included with the editor and posted in this topic, others are available in the forum, but not in the automated format. If you can test and provide the original and modified DSDTs, we can help making the automated patches. Link to comment Share on other sites More sharing options...
fbifido Posted July 16, 2010 Share Posted July 16, 2010 Use DSDT Editor -> DSL -> Extract from system i have win7 ultimate with bios mod dell slic 2.1 System info only video card may have problem 8086:2e32 it's the same as 8086:2a43 cpu_z_info.txt cpu_z_info.html ecs_g41t_m_dsdt_with_dell_slic21.zip Link to comment Share on other sites More sharing options...
fbifido Posted July 16, 2010 Share Posted July 16, 2010 Apply these fix to ecs_g41t-m_v2: AHCI_SATA_orange_icon AZAL to HDEF DTGP HDEF HPET IRQs LPC RTC Shutdown then run the AML -> Compile 17-Errors, 7-Warnings, 70-Optimizations step1.jpg line 4644 to 4984, change BUFFER to Package then run the AML -> Compile 3-Errors, 7-Warnings, 238-Optimizations step2.jpg How do i fix the rest? Link to comment Share on other sites More sharing options...
oldnapalm Posted July 16, 2010 Author Share Posted July 16, 2010 Don't apply the HPET fix, it won't work on your mobo. Try this patch for SpeedStep 14_states__P001_4.txt I got the P-states from this post http://www.insanelymac.com/forum/index.php...t&p=1404740 If it's not the same CPU, use PStateChanger to get the P-states. Link to comment Share on other sites More sharing options...
dimic Posted July 16, 2010 Share Posted July 16, 2010 I'm able to fix your DSDT...Thank you for your help and explanation, mate! DSDT patching seems promising great opportunities, I wish I was more skilled at this. I'm going to develop in XCode for some time, and therefore to use Mac OS a lot, so probably it's a good chance for me to extend my knowledge have a great weekend! Link to comment Share on other sites More sharing options...
fbifido Posted July 17, 2010 Share Posted July 17, 2010 Apply these fix to ecs_g41t-m_v2: AHCI_SATA_orange_icon AZAL to HDEF DTGP HDEF HPET_IRQs IRQs LPC RTC Shutdown 14_states__P001_4 then run the AML -> Compile 2-Errors, 0-Warnings, 239-Optimizations step3.jpg test5.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted July 17, 2010 Author Share Posted July 17, 2010 I think it's an issue with the Windows iASL, under Mac OS it compiles fine ASL Input: test5.dsl - 6729 lines, 235406 bytes, 2957 keywords AML Output: dsdt.aml - 25307 bytes, 852 named objects, 2105 executable opcodes Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 239 Optimizations Link to comment Share on other sites More sharing options...
fbifido Posted July 17, 2010 Share Posted July 17, 2010 Windows 7 ULTIMATE x64 Intel ACPI Component Architecture ASL Optimizing Compiler version 20100528 [May 28 2010] Copyright © 2000 - 2010 Intel Corporation Supports ACPI Specification Revision 4.0a Usage: iasl [Options] [Files] Link to comment Share on other sites More sharing options...
kizwan Posted July 17, 2010 Share Posted July 17, 2010 then run the AML -> Compile2-Errors, 0-Warnings, 239-Optimizations step3.jpg This is easy to fix. Correct the "Length" value with this formula using calculator set to programming mode (HEX):- Length = Range Maximum - Range Minimum + 1 Newer IASL (ver 4.0a) detect this error. Link to comment Share on other sites More sharing options...
fbifido Posted July 17, 2010 Share Posted July 17, 2010 It works Length = Range Maximum - Range Minimum + 1 Length = ( 0x00000000 - 0x00000000 ) + 1 Length = 1 Link to comment Share on other sites More sharing options...
fbifido Posted July 17, 2010 Share Posted July 17, 2010 Can any one create a general patch file for: 1. Renaming the pc devices to the one mac uses? in doing so, we can have one fix for all motherboards! the fix will be beast off the devices all we have to do is write a fix for each motherboard to have the same devices name, the use the general fixes. so all-in-all we will have: a) a patch for each motherboard (that rename the devices to mac devices) a patch for each cpu c) general patch Link to comment Share on other sites More sharing options...
oldnapalm Posted July 17, 2010 Author Share Posted July 17, 2010 I posted a link in your topic http://www.insanelymac.com/forum/index.php?showtopic=225417 It would be like the "AZAL to HDEF" patch into device label PIC set_label begin IPIC end or into device name_adr 0x001D0000 set_label begin UHC1 end for some you will also have to replace references to the renamed device into_all all code_regex \.USB0 replaceall_matched begin .UHC1 end Link to comment Share on other sites More sharing options...
MadMungo Posted July 18, 2010 Share Posted July 18, 2010 Hi, Great program. I decided to try it and just go for a straight decompile/recompile to see if there are any errors in the origional DSDT file and there is. Can someone have a look at my dsdt and let me know how to fix it. I don't need any mods done to it just want it so I can start to learn how to edit it. Many thanks, MadMungo. dsdt.zip Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted July 18, 2010 Share Posted July 18, 2010 i want compile dsdt.dsl but ifailed my pc amd p ii x4 955 Asus m4a78t-e 4 GB RAM HD5770 this my dsdt.dsl http://www.mediafire.com/?9kaksonc2ypkem9 i want to fix it only to be able to compile it to dsdt.aml Link to comment Share on other sites More sharing options...
macusers Posted July 18, 2010 Share Posted July 18, 2010 Gentlemen, I need some help from your expertise, i try to patch my ALC883 on borad audio with the provide insert text file, but i get a couple errors, please see the attach screen shot plus my dsdt which was extracted from my system. Thank you in advance. dsdt.zip Link to comment Share on other sites More sharing options...
oldnapalm Posted July 18, 2010 Author Share Posted July 18, 2010 @MadMungo: can you extract and save using the editor, please? There are lots of "," missing and misplaced, I don't understand why. @mohamed_kairy2002: looks like the problem is the "If" inside a device (2711 and 5189), remove it and the file compiles with no errors. I really don't know why, maybe someone more experient with iASL can help us. @macusers: apply the DTGP patch, and in lines 248 and 252, you can remove the line, or replace Store (Local0, Local0) by Store ("Local0", Local0) Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted July 19, 2010 Share Posted July 19, 2010 @mohamed_kairy2002: looks like the problem is the "If" inside a device (2711 and 5189), remove it and the file compiles with no errors. I really don't know why, maybe someone more experient with iASL can help us. http://www.mediafire.com/?54dia6qd1ft79zy itried to do it again i have the orginal one dsdt.aml get it from ubuntu 10.04 and decompiled it to dsdt.dsl i removed (if) in lines 2711 and 5189 but the same problem Link to comment Share on other sites More sharing options...
oldnapalm Posted July 19, 2010 Author Share Posted July 19, 2010 This way it compiles, but I don't know if it's the right way to fix it, you will have to test if it works. dsdt.dsl.zip Link to comment Share on other sites More sharing options...
macusers Posted July 19, 2010 Share Posted July 19, 2010 @macusers: apply the DTGP patch, and in lines 248 and 252, you can remove the line, or replace Store (Local0, Local0) by Store ("Local0", Local0) Thanks, I will give that a try. Link to comment Share on other sites More sharing options...
kizwan Posted July 19, 2010 Share Posted July 19, 2010 Thanks, I will give that a try. You might want to try change this:- Store (Local0, Local0) to Store (Local0, Local0, Local0) This form will store result of operator back to Local0, probable intention of the statement. Link to comment Share on other sites More sharing options...
MadMungo Posted July 19, 2010 Share Posted July 19, 2010 @MadMungo: can you extract and save using the editor, please? There are lots of "," missing and misplaced, I don't understand why. Ok here is the dsdt for my board, ASUS Croshair 4 Formula AM3, extracted using the editor. Still looks like it is not right for some reason. dsdt.zip Any other sugestions on how else to grab the dsdt file apart from under windows? as the dsdt file generated using the latest iasl.exe (20100706) is the same. dsdt_Win7.zip Link to comment Share on other sites More sharing options...
MacKonsti Posted July 19, 2010 Share Posted July 19, 2010 Guys, oldnapalm, please let us know when and if you update the DSDT editor in the first page so we can also try it out. If you enhance the fixes in some package, please also make that announcement, too. Cheers! Link to comment Share on other sites More sharing options...
oldnapalm Posted July 19, 2010 Author Share Posted July 19, 2010 @MadMungo: your problem looks the same as mohamed_kairy2002 dsdt.dsl.zip @kizwan: do you know about the "syntax error, unexpected PARSEOP_IF" when there's an "if" inside a device? Thanks for your help. @MacKonsti: the editor wasn't updated yet, but I added a link to some patches Maldon tested on some Gigabyte boards. Link to comment Share on other sites More sharing options...
kizwan Posted July 20, 2010 Share Posted July 20, 2010 @kizwan: do you know about the "syntax error, unexpected PARSEOP_IF" when there's an "if" inside a device? Thanks for your help. Not much I'm afraid. It looks correct but IASL doesn't agree. If I'm not mistaken, this is the exact error message produced by IASL v4.0. While IASL v4.0a will produced "parse error" error message. What I know is IF statement should only exist in control method function like this:- Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, EisaId ("PNP0A03")) Name (_ADR, Zero) Method (^BN00, 0, NotSerialized) { Return (Zero) } Method (_BBN, 0, NotSerialized) { Return (BN00 ()) } Name (_UID, Zero) Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR00) } Return (PR00) } If it is not inside any control method function, it will failed to compiled with "syntax error, unexpected PARSEOP_IF" or "syntax error, unexpected PARSEOP_ELSE" error. I found a couple of DSDT which will produced the same error. This is one example:- Device (RP05) { Name (_ADR, 0x001C0004) OperationRegion (PXCS, PCI_Config, 0x40, 0xC0) Field (PXCS, AnyAcc, NoLock, WriteAsZeros) { Offset (0x10), APL0, 1, APL1, 1, Offset (0x12), , 13, LASX, 1, Offset (0x1A), ABPX, 1, , 2, PDCX, 1, , 2, PDSX, 1, Offset (0x1B), LSCX, 1, Offset (0x20), Offset (0x22), PSPX, 1, Offset (0x98), , 30, HPEX, 1, PMEX, 1, , 30, HPSX, 1, PMSX, 1 } If (IGDS) { Device (PXSX) { Name (_ADR, Zero) In this example, it control which device injection will be executed by DSDT based on certain conditions. Since it produced error while compiling, I think it is safe just to remove the IF statement. It should be okay. I don't have similar computer to test it. Link to comment Share on other sites More sharing options...
oldnapalm Posted July 20, 2010 Author Share Posted July 20, 2010 Any idea what's the best fix for this? Just remove the IF (or choose between code from IF or ELSE, if both exist)? Or create a method ("_INI"?) and put the code inside it? Link to comment Share on other sites More sharing options...
Recommended Posts