Contribute
Register

Support DSDT GA-P55A-UD3

Status
Not open for further replies.
i got it to sleep with dsdt, but now it does not wake up. i selected the three options in energy saver.
 
jinky said:
:D This is my work DSDT. I use one on database with BIOS F6 and included speedsteps for I5-760. Everyone is welcome to share the same MB if you have something good to share.

System info.
GA-P55A-UD3
I5-750
SSD-128GB
4GB g.skill
geforce 9500gt
1TB backup HD.

The SSD HD runs fast if you guy have money buy it. Everything is fast. Speedsteps is low down Temp. I love it. :banghead:

=======================

Hi Jinky - Please go easy on me I'm a newby ....

I have similar system to you .... thinking of going to SSD 128 Vertex 2 or 3 for OS & Programs.

Questions:
1. Your recommendation?
2. Did you connect to GSATA 6 or 7 via Marvell 9128? Should I?
3. Any other thoughts on my config - as below?
4. I plan to go to Win64 bit on the reload - is this better than the Win32 for me?

Thanks in advance....
========================
Computer: GIGABYTE P55A-UD3
CPU: Intel Core i5-750 (Lynnfield, B1)
2666 MHz (20.00x133.3) @ 2114 MHz (16.00x132.1)
Motherboard: GIGABYTE P55A-UD3
Chipset: Intel P55 (IbexPeak)
Memory: 4096 MBytes @ 660 MHz, 9.0-9-9-24
- 2048 MB PC10600 DDR3 SDRAM - Corsair CM3X2G1333C9
- 2048 MB PC10600 DDR3 SDRAM - Corsair CM3X2G1333C9
Graphics: ATI RADEON HD 5770 (JUNIPER XT) [GIGABYTE]
ATI RADEON HD 5770 (JUNIPER XT), 1024 MB GDDR5 SDRAM
Graphics: MEDION RADEON HD 5450
ATI RADEON HD 5450/5470/5490/5530/6230/6250/6290 (CEDAR PRO), 512 MB GDDR3 SDRAM
Drive: WDC WD15EARS-00S8B1, 1465.1 GB, Serial ATA 3Gb/s
Drive: HL-DT-ST DVDRAM GH22NS50, DVD+R DL
Drive: Marvell 91xx Config, Processor
Sound: Intel 5 Series/34x0 Chipset PCH - High Definition Audio Controller [B3]
Sound: ATI Juniper/Broadway/Granville - High Definition Audio Controller
Sound: ATI Cedar/Park/Robson - High Definition Audio Controller
Network: Realtek PCIe GBE Family Controller
OS: Microsoft Windows 7 Ultimate Build 7601
=================================
 
Extra folder
Extra iMac11,1.zip
Patch
to apply use DSDT Editor and Patcher
Code:
into device name_adr 0x001F0000 insert
begin
OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)\n
                Field (LPC0, ByteAcc, NoLock, Preserve)\n
                {\n
                    AG3E,   1\n
                }
end;
into_all all code_regex _T_0 replaceall_matched begin T_0 end;
into_all all code_regex _T_1 replaceall_matched begin T_1 end;
into_all all code_regex _T_2 replaceall_matched begin T_2 end;
into_all all code_regex _T_3 replaceall_matched begin T_3 end;
into_all all code_regex _T_4 replaceall_matched begin T_4 end;
into_all all code_regex Or\s\(0x03,\sPARM\) replaceall_matched
begin
Or (PARM, 0x03, PARM)
end;
into_all scope label _PR code_regex Alias\s\([^\n]+\n removeall_matched;
into_all scope label \_PR code_regex Alias\s\([^\n]+\n removeall_matched;
into method label DTGP remove_entry;
into definitionblock code_regex . insert
begin
Method (DTGP, 5, NotSerialized)\n
{\n
    If (LEqual (Arg0, Buffer (0x10)\n
            {\n
                /* 0000 */    0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n
                /* 0008 */    0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n
            }))\n
    {\n
        If (LEqual (Arg1, One))\n
        {\n
            If (LEqual (Arg2, Zero))\n
            {\n
                Store (Buffer (One)\n
                    {\n
                        0x03\n
                    }, Arg4)\n
                Return (One)\n
            }\n
            If (LEqual (Arg2, One))\n
            {\n
                Return (One)\n
            }\n
        }\n
    }\n
    Store (Buffer (One)\n
        {\n
            0x00\n
        }, Arg4)\n
    Return (Zero)\n
}
end;
into device label PWRB code_regex (Name\s\()_HID(\,\sEisaId\s\(\"PNP0C0C\"\)\)) replace_matched begin %1_CID%2 end;
into method label _STA parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_STA, 0, NotSerialized)\n
{\n
    Return (0x0F)\n
}
end;
into method label _CRS parent_hid PNP0103 remove_entry;
into device name_hid PNP0103 insert
begin
Method (_CRS, 0, NotSerialized)\n
{\n
    Return (ATT3)\n
}
end;
into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched
begin
Name (%1, ResourceTemplate ()\n
                    {\n
                        IRQNoFlags ()\n
                            {0}\n
                        IRQNoFlags ()\n
                            {8}\n
%2
})
end;
into method label _DSM parent_adr 0x001F0000 remove_entry;
into device name_adr 0x001F0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x09, 0x3B, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into scope label _SB insert
begin
Device (MCEH)\n
        {\n
            Name (_HID, EisaId ("APP0006"))\n
            Name (_STA, 0x0B)\n
        }
end;
into scope label \_SB insert
begin
Device (MCEH)\n
        {\n
            Name (_HID, EisaId ("APP0006"))\n
            Name (_STA, 0x0B)\n
        }
end;
into_all all code_regex Name\s\(RPMV,\sPackage\s\(0x00\) replaceall_matched
begin
Name (RPMV, Package (zero)
end;
into device label SPKR remove_entry;
into device label FDC remove_entry;
into device label FDC0 remove_entry;
into device label LPT1 remove_entry;
into device label LPTE remove_entry;
into device label ECP1 remove_entry;
into device label MEM remove_entry;
into device label ^^RMEM remove_entry;
into device label IDE1 set_label begin SATA end;
into device label USB0 set_label begin UHC1 end;
into device label USB1 set_label begin UHC2 end;
into device label USB2 set_label begin UHC3 end;
into device label USB3 set_label begin UHC4 end;
into device label USB4 set_label begin UHC5 end;
into device label USB5 set_label begin UHC6 end;
into device label USB6 set_label begin UHC7 end;
into device label USBE set_label begin EHC1 end;
into device label USE2 set_label begin EHC2 end;
into_all all code_regex USB0 replaceall_matched begin UHC1 end;
into_all all code_regex USB1 replaceall_matched begin UHC2 end;
into_all all code_regex USB2 replaceall_matched begin UHC3 end;
into_all all code_regex USB3 replaceall_matched begin UHC4 end;
into_all all code_regex USB4 replaceall_matched begin UHC5 end;
into_all all code_regex USB5 replaceall_matched begin UHC6 end;
into_all all code_regex USB6 replaceall_matched begin UHC7 end;
into_all all code_regex USBE replaceall_matched begin EHC1 end;
into_all all code_regex USE2 replaceall_matched begin EHC2 end;
into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
into method label _WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label _WAK insert
begin
Return (Package (0x02)\n
{\n
    Zero, \n
    Zero\n
})
end;
into method label \_WAK code_regex Return\s\(\s*\n?\s*Package\s*\n?\s*\(0x02\)\s*\n?\s*\{\s*\n?(?:\s*Zero,?\s*\n?){2}\s*\}\s*\n?\s*\) remove_matched;
into method label \_WAK insert
begin
Return (Package (0x02)\n
{\n
    Zero, \n
    Zero\n
})
end;
into method label _PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
            Store (0x99, SMIP)\n
            Store (One, \\_SB.PCI0.PX40.AG3E)\n
            Store (Zero, SLPE)\n
            Sleep (0x10)\n
%2\n
Else\n
{\n
    Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into method label \_PTS code_regex (If\s*\(LEqual\s*\(Arg0,\s*0x05\)\)\s*\n\s*\{\s*\n)(?:[^\n\}]+\n)+(\s*\}) replace_matched
begin
%1
            Store (0x99, SMIP)\n
            Store (One, \\_SB.PCI0.PX40.AG3E)\n
            Store (Zero, SLPE)\n
            Sleep (0x10)\n
%2\n
Else\n
{\n
    Store (Zero, \\_SB.PCI0.PX40.AG3E)\n
}
end;
into definitionblock code_regex . code_regex_not OperationRegion\s*\(PMRS insert
begin
OperationRegion (PMRS, SystemIO, 0x0430, One)\n
Field (PMRS, ByteAcc, NoLock, Preserve)\n
{\n
        ,   4, \n
    SLPE,   1\n
}
end;
into method label _DSM parent_adr 0x001D0000 remove_entry;
into device name_adr 0x001D0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0001 remove_entry;
into device name_adr 0x001D0001 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0002 remove_entry;
into device name_adr 0x001D0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0000 remove_entry;
into device name_adr 0x001A0000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0001 remove_entry;
into device name_adr 0x001A0001 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001A0002 remove_entry;
into device name_adr 0x001A0002 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0003 remove_entry;
into device name_adr 0x001D0003 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
    Store (Package (0x02)\n
        {\n
            "device-id", \n
            Buffer (0x04)\n
            {\n
                0x34, 0x3A, 0x00, 0x00\n
            }\n
        }, Local0)\n
    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
    Return (Local0)\n
}
end;
into method label _DSM parent_adr 0x001D0007 remove_entry;
into device name_adr 0x001D0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
                {\n
                    Store (Package (0x08)\n
                        {\n
                            "AAPL,current-available", \n
                            0x05DC, \n
                            "AAPL,current-extra", \n
                            0x044C, \n
                            "AAPL,current-in-sleep", \n
                            0x09C4, \n
                            "device-id", \n
                            Buffer (0x04)\n
                            {\n
                                0x3A, 0x3A, 0x00, 0x00\n
                            }\n
                        }, Local0)\n
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                    Return (Local0)\n
                }
end;
into method label _DSM parent_adr 0x001A0007 remove_entry;
into device name_adr 0x001A0007 insert
begin
Method (_DSM, 4, NotSerialized)\n
                {\n
                    Store (Package (0x08)\n
                        {\n
                            "AAPL,current-available", \n
                            0x05DC, \n
                            "AAPL,current-extra", \n
                            0x044C, \n
                            "AAPL,current-in-sleep", \n
                            0x09C4, \n
                            "device-id", \n
                            Buffer (0x04)\n
                            {\n
                                0x3A, 0x3A, 0x00, 0x00\n
                            }\n
                        }, Local0)\n
                    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                    Return (Local0)\n
                }
end;
into device name_adr 0x001B0000 set_label
begin
HDEF
end;
into_all all code_regex AZAL replaceall_matched
begin
HDEF
end;
into device label HDEF insert
begin
Method (_DSM, 4, NotSerialized)\n
    {\n
        Store (Package (0x04)\n
            {\n
                "layout-id", \n
                Buffer (0x04)\n
                {\n
                    0x0C, 0x00, 0x00, 0x00\n
                }, \n
                "PinConfigurations", \n
                Buffer (Zero) {}\n
            }, Local0)\n
        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
        Return (Local0)\n
    }
end;
into_all all code_regex Or\s\(0x03,\sPARM\) replaceall_matched
begin
Or (PARM, 0x03, PARM)
end;
into method label _DSM parent_adr 0x001F0003 remove_entry;
into device name_adr 0x001F0003 insert
begin
Device (BUS0)\n
                {\n
                    Name (_CID, "smbus")\n
                    Name (_ADR, Zero)\n
                    Device (DVL0)\n
                    {\n
                        Name (_ADR, 0x57)\n
                        Name (_CID, "diagsvault")\n
                        Method (_DSM, 4, NotSerialized)\n
                        {\n
                            Store (Package (0x02)\n
                                {\n
                                    "address", \n
                                    0x57\n
                                }, Local0)\n
                            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
                            Return (Local0)\n
                        }\n
                    }\n
                }
end

-DTGP
-HDEF
-HID/CID
-EHCI
-UHCI
-HPET
-RTC
-IRQs
-RENAME DEVICES
-SMBUS
-SHUTDOWN
-REMOVE DEVICES
-LPC
-FIX WARNINGS
You do not need to select "Start up automatically after a power failure"
 

Attachments

  • Extra iMac11,1.zip
    342.3 KB · Views: 108
:D Wow, it has been long i am not keeping track what is happening. Yesterday, i just played around with new Lion stuff. Everything is running smooth like Snow Leopard, but there is sleeping issues on Lion. Maybe, it is still fall Lion still wake. ahahhaha. j/k. Anyway, anyone has edit the DSTD yet to fix the sleep issue. I just edit the old DSDT to remove the speed step and add graphic card from BIOS F6 to F11. If anyone has good stuff post in here, problem... we can learn together. Thanks the much to community Owners....
 
Ok, here is the new DSDT(F11). I use the DSDT on database with modify to match with my Video Card. Thanks for MacMan.. Also, i fixed the Sleep and Wake issue following this guide.viewtopic.php?f=14&t=26881
Thanks Nuklues the code is work.... :clap: sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC. Remember if you use my DSDT, just rename to DSDT.aml and paste to \E folder.... Enjoy Lion
 

Attachments

  • DSDT(F11).aml
    15.6 KB · Views: 147
Back again, just update to 10.7.2 got panic with graphic edited DSDT. Please not use my DSDT when upgrade to 10.7.2. Using the DSDT in database is working well. Also, on boot file needs graphicenable to yes. Apple is support nvidia graphic now. No needed edit graphic properties in DSDT. Now, my lion work 100% sleep, network, sound ... Remember needed roll back applhda kext to get sound work. 100% vanilla .,,
 
:lol: Wow! just testing Magic Mouse/ Wireless Keyboard. After Wakeup by mouse or keyboard. The mouse and Keyboard not working like loss power. Here is solution i were post on Golden Thread.. If anyone has same problem, temporary fix now...

:D For those who use the bluetooth module or BT dongle to fix the problem after click/hit magic mouse/keyboard after wakeup no function. I think cause is there is no power left to re-link back to mouse or keyboard. Here is the quick fix. If you guy have external USB HUB that power by external power then plug your BT dongle or apple module to the HUB. After sleep, click on mouse or keyboard wait for couple second the mouse/keyboard working again. The external power from USB HuB will kick on to keep power continuously to establish mouse/keyboard reconnect. You can using any dongle with this method. Easier.. Spend little money buy External USB with power external adpter. I have spare belkin USB Hub, testing and work... Also, if you guy using BT dongle, just fix vendor, production per instruction in forum.. Good Luck...
 
I can extract the dsdt but cannot patch it because I get 7 errors and cannot be fixed in lines 198-204-319-3962-3965-3970-4009. can you help me on this? GA-P55A-UD3 r2.0 F11
If I try to patch the dsdt downloaded from here only got two errors lines 197-203 non fixable
If I simply extract dsdt and compile without patching only get 1 error fixable
big tks

About sleep only the monitor goes off, and the cpu fan still spining so no real sleep for me for now, please advice, Big tks
 
Bimbo69 said:
I can extract the dsdt but cannot patch it because I get 7 errors and cannot be fixed in lines 198-204-319-3962-3965-3970-4009. can you help me on this? GA-P55A-UD3 r2.0 F11
If I try to patch the dsdt downloaded from here only got two errors lines 197-203 non fixable
If I simply extract dsdt and compile without patching only get 1 error fixable
big tks

About sleep only the monitor goes off, and the cpu fan still spining so no real sleep for me for now, please advice, Big tks

Why don't you use the dsdt in Macman' database?. Also, my motherboard is Rev. 1.

For sleep/wake issue looks the last sentence that i wrote on this thread...
viewtopic.php?f=76&t=14836&start=150
 
Status
Not open for further replies.
Back
Top