Contribute
Register

SSDT Cleanup.

Status
Not open for further replies.
So all my .dsl files look like this how does this look?

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EC", 0x00000000)
{
    Device (_SB.EC)
    {
        Name (_HID, "EC000000")  // _HID: Hardware ID
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EH01", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.EH01))
    {
        Method (_SB.PCI0.EH01._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                         
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 7 Series Chipset Family USB Enhanced Host Controller #1"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                       
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                       
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                       
                }
            })
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EH02", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.EH02))
    {
        Method (_SB.PCI0.EH02._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                         
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 7 Series Chipset Family USB Enhanced Host Controller #2"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                       
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                       
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                       
                }
            })
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "GFX0_HDA", 0x00000000)
{
    External (_SB_.PCI0.PEG0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.PEG0.GFX0, DeviceObj)    // (from opcode)
    External (GFX0, DeviceObj)    // Warning: Unknown object

    Scope (_SB.PCI0.PEG0)
    {
        Scope (GFX0)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x0E)
                {
                    "@0,connector-type",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                       
                    },

                    "@1,connector-type",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                       
                    },

                    "@2,connector-type",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                       
                    },

                    "@3,connector-type",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                       
                    },

                    "@4,connector-type",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                       
                    },

                    "@5,connector-type",
                    Buffer (0x04)
                    {
                         0x00, 0x08, 0x00, 0x00                       
                    },

                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }

        Device (HDAU)
        {
            Name (_ADR, One)  // _ADR: Address
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x02)
                {
                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-2"
                    }
                })
            }
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 1, "hack", "XOSI", 0x00000000)
{
    Method (XOSI, 1, NotSerialized)
    {
        Name (WINV, Package (0x06)
        {
            "Windows",
            "Windows 2001",
            "Windows 2001 SP2",
            "Windows 2006",
            "Windows 2006 SP1",
            "Windows 2009"
        })
        Return (LNotEqual (Ones, Match (WINV, MEQ, Arg0, MTR, Zero, Zero)))
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "APPLE ", "SSDT-HDE", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.HDEF, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0)
    {
        Scope (\_SB.PCI0.HDEF)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x10)
                {
                    "AAPL,slot-name",
                    "Built In",
                    "name",
                    "Realtek Audio Controller",
                    "model",
                    Buffer (0x37)
                    {
                        "Realtek ALC887 Audio Controller"
                    },

                    "device_type",
                    Buffer (0x14)
                    {
                        "Audio Controller"
                    },

                    "layout-id",
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                       
                    },

                    "PinConfigurations",
                    Buffer (Zero) {},
                    "MaximumBootBeepVolume",
                    Buffer (One)
                    {
                         0x40                                         
                    },

                    "hda-gfx",
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }
                })
            }
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "APPLE ", "SSDT-PXS", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.RP05.PXSX, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0)
    {
        Scope (\_SB.PCI0.RP05.PXSX)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x0C)
                {
                    "AAPL,slot-name",
                    "Built In",
                    "name",
                    "Realtek Ethernet Controller",
                    "model",
                    Buffer (0x37)
                    {
                        "Realtek RTL8111E Gigabit Network Controller"
                    },

                    "device_type",
                    Buffer (0x14)
                    {
                        "Ethernet Controller"
                    },

                    "built-in",
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                       
                    },

                    "location",
                    Buffer (0x04)
                    {
                        "1"
                    }
                })
            }
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 1, "Dragon", "SSDT-LPC", 0x00003000)
{
    Method (_SB.PCI0.MATH._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
    {
        If (LEqual (Arg2, Zero))
        {
            Return (Buffer (One)
            {
                 0x03                                         
            })
        }

        Return (Package (0x02)
        {
            "compatible",
            "pci8086,1e44"
        })
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "MCHC", 0x00000000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)

    Scope (_SB.PCI0)
    {
        Device (MCHC)
        {
            Name (_ADR, Zero)  // _ADR: Address
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "APPLE ", "SSDT-SAT", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.SATA, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0)
    {
        Scope (\_SB.PCI0.SATA)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x0C)
                {
                    "AAPL,slot-name",
                    "Built In",
                    "name",
                    "Intel AHCI Controller",
                    "model",
                    Buffer (0x2E)
                    {
                        "Intel 7 Series Chipset Family SATA Controller"
                    },

                    "device_type",
                    Buffer (0x10)
                    {
                        "AHCI Controller"
                    },

                    "device-id",
                    Buffer (0x05)
                    {
                         0x03, 0x1E, 0x00, 0x00                       
                    },

                    "compatible",
                    Buffer (0x0D)
                    {
                        "pci8086,1e02"
                    }
                })
            }
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "APPLE", "SMBUS", 0x00000000)
{
    Device (_SB.PCI0.SBUS.BUS0)
    {
        Name (_CID, "smbus")  // _CID: Compatible ID
        Name (_ADR, Zero)  // _ADR: Address
        Device (DVL0)
        {
            Name (_ADR, 0x57)  // _ADR: Address
            Name (_CID, "diagsvault")  // _CID: Compatible ID
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x57                                         
                    })
                }

                Return (Package (0x02)
                {
                    "address",
                    0x57
                })
            }
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "UIAC-ALL", 0x00000000)
{
    Device (UIAC)
    {
        Name (_HID, "UIA00000")  // _HID: Hardware ID
        Name (RMCF, Package (0x0A)
        {
            "HUB1",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x08, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x04)
                {
                    "HP15",
                    Package (0x04)
                    {
                        "portType",
                        0x02,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HP16",
                    Package (0x04)
                    {
                        "portType",
                        0x02,
                        "port",
                        Buffer (0x04)
                        {
                             0x06, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            },

            "HUB2",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x06, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x08)
                {
                    "HP21",
                    Package (0x04)
                    {
                        "portType",
                        0x02,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HP22",
                    Package (0x04)
                    {
                        "portType",
                        0x02,
                        "port",
                        Buffer (0x04)
                        {
                             0x02, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HP24",
                    Package (0x04)
                    {
                        "portType",
                        0x02,
                        "port",
                        Buffer (0x04)
                        {
                             0x04, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HP25",
                    Package (0x04)
                    {
                        "portType",
                        0x02,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            },

            "EH01",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x08, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x02)
                {
                    "PR11",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            },

            "EH02",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x06, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x02)
                {
                    "PR21",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            },

            "8086_1e31",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x08, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x08)
                {
                    "HS03",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x03, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS04",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x04, 0x00, 0x00, 0x00                       
                        }
                    },

                    "SSP7",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x07, 0x00, 0x00, 0x00                       
                        }
                    },

                    "SSP8",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x08, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            }
        })
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "APPLE ", "SSDT-WIF", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)
    External (_SB_.PCI0.RP02.PXSX, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0)
    {
        Scope (\_SB.PCI0.RP02.PXSX)
        {
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x0C)
                {
                    "AAPL,slot-name",
                    "Built In",
                    "name",
                    "AirPort Extreme",
                    "model",
                    Buffer (0x39)
                    {
                        "Broadcom BCM4360 802.11 a/b/g/n Wireless Network Adapter"
                    },

                    "device_type",
                    Buffer (0x14)
                    {
                        "AirPort"
                    },

                    "built-in",
                    Buffer (0x04)
                    {
                         0x01, 0x00, 0x00, 0x00                       
                    },

                    "location",
                    Buffer (0x04)
                    {
                        "1"
                    }
                })
            }
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "XHC", 0x00000000)
{
    If (CondRefOf (_SB.PCI0.XHC))
    {
        Method (_SB.PCI0.XHC._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                         
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel XHCI Controller",
                "model",
                Buffer (0x37)
                {
                    "Intel 7 Series Chipset Family USB xHCI Host Controller"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                       
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                       
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                       
                }
            })
        }
    }
//}

Must comment out the opening brace and closing brace for the DefinitionBlock.
Read post #2 carefully.
When trying to compile it I'm getting this error in Terminal.

Code:
Violets-Speedy-Hack:~ JackBamford$ iasl SSDT-Master.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20161210-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation

Error    6092 - Could not open file "SSDT-Master.dsl" (Source Input) - No such file or directory

Violets-Speedy-Hack:~ JackBamford$

It means you have no SSDT-Master.dsl file in your home (~) directory.
 
Must comment out the opening brace and closing brace for the DefinitionBlock.
Read post #2 carefully.


It means you have no SSDT-Master.dsl file in your home (~) directory.

Oh wait. Sorry it should look like this then? I have Z77-DS3H Master in my Home folder JackBamford.

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EH01", 0x00000000)
//{
    If (CondRefOf (_SB.PCI0.EH01))
    {
        Method (_SB.PCI0.EH01._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                          
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 7 Series Chipset Family USB Enhanced Host Controller #1"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                        
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                        
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                        
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                        
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                        
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                        
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                        
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                        
                }
            })
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EC", 0x00000000)
//{
    Device (_SB.EC)
    {
        Name (_HID, "EC000000")  // _HID: Hardware ID
    }
//}

Screen Shot 2017-06-29 at 18.44.39.png


Screen Shot 2017-06-29 at 18.44.31.png
 
Oh wait. Sorry it should look like this then? I have Z77-DS3H Master in my Home folder JackBamford.

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EH01", 0x00000000)
//{
    If (CondRefOf (_SB.PCI0.EH01))
    {
        Method (_SB.PCI0.EH01._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            If (LNot (Arg2))
            {
                Return (Buffer (One)
                {
                     0x03                                         
                })
            }

            Return (Package (0x18)
            {
                "AAPL,slot-name",
                "Built In",
                "name",
                "Intel EHCI Controller",
                "model",
                Buffer (0x3E)
                {
                    "Intel 7 Series Chipset Family USB Enhanced Host Controller #1"
                },

                "device_type",
                Buffer (0x0F)
                {
                    "USB Controller"
                },

                "AAPL,current-available",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-extra",
                Buffer (0x04)
                {
                     0x99, 0x08, 0x00, 0x00                       
                },

                "AAPL,current-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,current-extra-in-sleep",
                Buffer (0x04)
                {
                     0x40, 0x06, 0x00, 0x00                       
                },

                "AAPL,max-port-current-in-sleep",
                Buffer (0x04)
                {
                     0x34, 0x08, 0x00, 0x00                       
                },

                "AAPL,device-internal",
                Buffer (0x04)
                {
                     0x02, 0x00, 0x00, 0x00                       
                },

                "subsystem-id",
                Buffer (0x04)
                {
                     0x70, 0x72, 0x00, 0x00                       
                },

                "subsystem-vendor-id",
                Buffer (0x04)
                {
                     0x86, 0x80, 0x00, 0x00                       
                }
            })
        }
    }
//}

Code:
//DefinitionBlock ("", "SSDT", 2, "hack", "EC", 0x00000000)
//{
    Device (_SB.EC)
    {
        Name (_HID, "EC000000")  // _HID: Hardware ID
    }
//}

View attachment 263922

View attachment 263923
think you have to be in that folder where the dsl is to use the iasl command
 
think you have to be in that folder where the dsl is to use the iasl command

Yep. Trying to work that out but keep getting permission denied for some reason even tho I'm using sudo su.
 
Must comment out the opening brace and closing brace for the DefinitionBlock.
Read post #2 carefully.


It means you have no SSDT-Master.dsl file in your home (~) directory.

Here are all the files edited again. Are they okay or not?
 

Attachments

  • Z77-DS3H Master.zip
    17.2 KB · Views: 91
Here are all the files edited again. Are they okay or not?
sorry for jumping in on this but i am interested in doing this to my system as i have gone "hotpatch"

i did the iasl command it it came up with:

Code:
ees-MacBook-Pro:Z77-DS3H Master feartech$ iasl SSDT-Master.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20161210-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation

SSDT-HACK.dsl      3: SI, 1, NotSerialized)
Remark   2120 -                     ^ Control Method should be made Serialized (due to creation of named objects within)

ASL Input:     SSDT-Master.dsl - 19 lines, 455 bytes, 92 keywords
AML Output:    SSDT-Master.aml - 3932 bytes, 39 named objects, 53 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 0 Optimizations

i have zipped it up for you and attached (obviously i can't test it! :) )
 

Attachments

  • SSDT-Master.aml.zip
    1.4 KB · Views: 88
Ok, let's say that the SSDT content you show above is in SSDT-Master.dsl.
Now edit each of the .dsl files (the ones you're using with #include) as I wrote in post #2 (to remove the surrounding DefinitionBlock).
Then compile the result in Terminal:
Code:
iasl SSDT-Master.dsl
Result will be SSDT-Master.aml, which can be placed in ACPI/patched.

What are the terminal commands to access the folder in Terminal?
 
sorry for jumping in on this but i am interested in doing this to my system as i have gone "hotpatch"

i did the iasl command it it came up with:

Code:
ees-MacBook-Pro:Z77-DS3H Master feartech$ iasl SSDT-Master.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20161210-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation

SSDT-HACK.dsl      3: SI, 1, NotSerialized)
Remark   2120 -                     ^ Control Method should be made Serialized (due to creation of named objects within)

ASL Input:     SSDT-Master.dsl - 19 lines, 455 bytes, 92 keywords
AML Output:    SSDT-Master.aml - 3932 bytes, 39 named objects, 53 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 0 Optimizations

i have zipped it up for you and attached (obviously i can't test it! :) )

Thanks but what are the Terminal Commands to do this? I can't seem to access it without Permission Denied. The folder is in ~JackBamford -> Z77-DS3H Master.
 
Thanks but what are the Terminal Commands to do this? I can't seem to access it without Permission Denied. The folder is in ~JackBamford -> Z77-DS3H Master.
i typed in cd

then i dragged the folder with the dsl files in and then pressed inter in terminal

then typed in

iasl SSDT-Master.dsl

(as you can see from the terminal output)

i didn't need any special permissions to do this
 
i typed in cd

then i dragged the folder with the dsl files in and then pressed inter in terminal

then typed in

iasl SSDT-Master.dsl

(as you can see from the terminal output)

i didn't need any special permissions to do this

Cheers thats works and got no errors :thumbup:. The reason why i asked because if i need to do any modifications in the future i can just edit the .dsl files.

Code:
Violets-Speedy-Hack:~ JackBamford$ cd /Users/JackBamford/Z77-DS3H\ Master
Violets-Speedy-Hack:Z77-DS3H Master JackBamford$ iasl SSDT-Master.dsl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20161210-64(RM)
Copyright (c) 2000 - 2016 Intel Corporation

SSDT-HACK.dsl      3: SI, 1, NotSerialized)
Remark   2120 -                     ^ Control Method should be made Serialized (due to creation of named objects within)

ASL Input:     SSDT-Master.dsl - 19 lines, 455 bytes, 92 keywords
AML Output:    SSDT-Master.aml - 3932 bytes, 39 named objects, 53 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 0 Optimizations
Violets-Speedy-Hack:Z77-DS3H Master JackBamford$
 

Attachments

  • SSDT-Master.aml
    3.8 KB · Views: 183
Status
Not open for further replies.
Back
Top