- Joined
- Mar 18, 2017
- Messages
- 1,031
- Motherboard
- ASUS ROG Rampage VI Extreme
- CPU
- i9-7940X
- Graphics
- 2 X VEGA 56
- Mac
- Mobile Phone
I apologize for asking all these question and posting large screenshot but my next question if someone can help I want to try this RX5500XT SSDT posted by mattystonnie back a few months ago this is data is from a real mac and just want to figure out how to get this to load. I can see I need to change a few things adding additional DefinitionBlock external paths and modify the existing paths in External and Device path and have tried it just won't load. I think I also have to add a _STA method 0 for SL05 not sure why though. I am a bit confused on the SSDT from this thread lot of DATA in SSDT not sure where it comes from before the Method _DSM starting with Built in this is where I start to understand what is going on but the code before this the added methods OperationRegion and additional Device LCD, none of this to be found in my DSDT.
Would changing the paths removing his method starting with _PRW OSDW and replacing this method with DTGP make it load? Also the way the code is written he has a return package before loading AAPL,Slot-name rahter than using Method _DSM before the script Built-in starts.
I could try to load all the data in DeviceProperties but there is a huge amount of EFIBootmode data in the SSDT not sure how well this would sit in OC's DeviceProperties.
I attached the file if someone can give me some clues on what changes need to be made.
This is what seems to be in most of the SSDTs shared from this github
Code:DefinitionBlock ("", "SSDT", 1, "KGP", "X299R580", 0x00000000) { External (_SB_.PC02.BR2A, DeviceObj) External (_SB_.PC02.BR2A.PEGP, DeviceObj) External (_SB_.PC02.BR2A.SL05, DeviceObj) External (_SB_.PNLF.BSET, MethodObj) // 1 Arguments External (BRTL, IntObj) External (DTGP, MethodObj) // 5 Arguments External (EGPS, IntObj) Scope (_SB.PC02.BR2A) { Scope (SL05) { Name (_STA, Zero) // _STA: Status } Scope (PEGP) { Name (_STA, Zero) // _STA: Status } Device (GFX0)
Versus the file I attached:
Code:DefinitionBlock ("", "SSDT", 2, "hack", "matty", 0x00000000) { External (_SB_.PCI0.PEG0.PEGP.EGP1, DeviceObj) External (OSDW, MethodObj) // 0 Arguments Device (_SB.PCI0.PEG0.PEGP.EGP1) { Name (_ADR, Zero) // _ADR: Address Device (GFX0) { Name (_ADR, Zero) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake { If (OSDW ()) { Return (Package (0x02) { 0x69, 0x03 }) } Else { Return (Package (0x02) { 0x69, 0x03 }) } } Return (Package (0x16) { "AAPL,slot-name", Buffer (0x19) { "Slot-1@0,1,0/0,0/0,0/0,0" }, "@0,ATY,EFIDisplay", Buffer (0x04) { "DP1" }, "ATY,EFIVersionB", Buffer (0x0F)
Just like that :
Maybe you will need to add some
Code:
}
}
At the end of the SSDT to correctly set it.
Last edited: