Contribute
Register

[Guide] Creating a Custom SSDT for USBInjectAll.kext

Hello @RehabMan I am facing a weird issue, previously my injected ports were working properly and showing only which I have activated with the custom created SSDT but I was facing Sleep issue with one of the internal usb device(Corsair H100i) so I disabled it by deleting the HS11 device in SSDT and compiled as ACPI language but HS11 is not disabled and even worse all the ports are back to original state.

Screen of IOreg with deleted HS11 device.

Untitled.png


Code before removing HS11 device(All working properly here)

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0x00000000)
{
    Device (UIAC)
    {
        Name (_HID, "UIA00000")  // _HID: Hardware ID
        Name (RMCF, Package (0x02)
        {
            "8086_8d31",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x15, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x1E)
                {
                    "HS01",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                       
                        }
                    },

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

                    "HS05",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS06",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x06, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS07",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x07, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS08",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x08, 0x00, 0x00, 0x00                       
                        }
                    },

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

                    "HS10",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x0A, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS11",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x0B, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS13",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0D, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS14",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0E, 0x00, 0x00, 0x00                       
                        }
                    },

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

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

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

                    "SSP6",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x15, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            }
        })
    }
}

Code after deleting HS11 device

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0x00000000)
{
    Device (UIAC)
    {
        Name (_HID, "UIA00000")  // _HID: Hardware ID
        Name (RMCF, Package (0x02)
        {
            "8086_8d31",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x15, 0x00, 0x00, 0x00                       
                },

                "ports",
                Package (0x1E)
                {
                    "HS01",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                       
                        }
                    },

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

                    "HS05",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS06",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x06, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS07",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x07, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS08",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x08, 0x00, 0x00, 0x00                       
                        }
                    },

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

                    "HS10",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x0A, 0x00, 0x00, 0x00                       
                        }
                    },

           

                    "HS13",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0D, 0x00, 0x00, 0x00                       
                        }
                    },

                    "HS14",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0E, 0x00, 0x00, 0x00                       
                        }
                    },

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

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

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

                    "SSP6",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x15, 0x00, 0x00, 0x00                       
                        }
                    }
                }
            }
        })
    }
}
 

Attachments

  • debug_16924.zip
    3.7 MB · Views: 66
My apologies. I'm new to the forums.

Here is my terminal report regarding the "Wake reason" below


I also have a USB 3.1 Gen 2 Type-A Port that is not located under my HSxx or SSxx ports so I was not able to integrate that into my SSDT. Could this be part of my problem? Below is a screenshot of my IOreg regarding that port.

screen-shot-2018-01-24-at-8-35-50-pm.189955

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Hello @RehabMan I am facing a weird issue, previously my injected ports were working properly and showing only which I have activated with the custom created SSDT but I was facing Sleep issue with one of the internal usb device(Corsair H100i) so I disabled it by deleting the HS11 device in SSDT and compiled as ACPI language but HS11 is not disabled and even worse all the ports are back to original state.

Screen of IOreg with deleted HS11 device.

View attachment 308342

Code before removing HS11 device(All working properly here)

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0x00000000)
{
    Device (UIAC)
    {
        Name (_HID, "UIA00000")  // _HID: Hardware ID
        Name (RMCF, Package (0x02)
        {
            "8086_8d31",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x15, 0x00, 0x00, 0x00                      
                },

                "ports",
                Package (0x1E)
                {
                    "HS01",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                      
                        }
                    },

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

                    "HS05",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS06",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x06, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS07",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x07, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS08",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x08, 0x00, 0x00, 0x00                      
                        }
                    },

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

                    "HS10",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x0A, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS11",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x0B, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS13",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0D, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS14",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0E, 0x00, 0x00, 0x00                      
                        }
                    },

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

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

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

                    "SSP6",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x15, 0x00, 0x00, 0x00                      
                        }
                    }
                }
            }
        })
    }
}

Code after deleting HS11 device

Code:
DefinitionBlock ("", "SSDT", 2, "hack", "UIAC", 0x00000000)
{
    Device (UIAC)
    {
        Name (_HID, "UIA00000")  // _HID: Hardware ID
        Name (RMCF, Package (0x02)
        {
            "8086_8d31",
            Package (0x04)
            {
                "port-count",
                Buffer (0x04)
                {
                     0x15, 0x00, 0x00, 0x00                      
                },

                "ports",
                Package (0x1E)
                {
                    "HS01",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0x03,
                        "port",
                        Buffer (0x04)
                        {
                             0x01, 0x00, 0x00, 0x00                      
                        }
                    },

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

                    "HS05",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x05, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS06",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x06, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS07",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x07, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS08",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x08, 0x00, 0x00, 0x00                      
                        }
                    },

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

                    "HS10",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x0A, 0x00, 0x00, 0x00                      
                        }
                    },

          

                    "HS13",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0D, 0x00, 0x00, 0x00                      
                        }
                    },

                    "HS14",
                    Package (0x04)
                    {
                        "UsbConnector",
                        Zero,
                        "port",
                        Buffer (0x04)
                        {
                             0x0E, 0x00, 0x00, 0x00                      
                        }
                    },

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

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

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

                    "SSP6",
                    Package (0x04)
                    {
                        "UsbConnector",
                        0xFF,
                        "port",
                        Buffer (0x04)
                        {
                             0x15, 0x00, 0x00, 0x00                      
                        }
                    }
                }
            }
        })
    }
}

The package size is wrong:
Code:
                "ports",
                Package (0x1E)
                {

Best to not specify package sizes (like SSDT-UIAC-ALL.dsl):
Code:
                "ports", 
                Package ()
                {

The compiler will calculate the correct package size:
Code:
                "ports", 
                Package (0x1C)
                {
 
The package size is wrong:


Best to not specify package sizes (like SSDT-UIAC-ALL.dsl):
Code:
                "ports",
                Package ()
                {

Awesome Man ! I would have never figured it out myself. But still, Sleep not working, it immediately wakes up from sleep. Reporting files are above.I hadn't changed anything.

Code:
$ log show --style syslog | fgrep "Wake reason"
2018-01-20 18:05:47.377329+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?
2018-01-20 18:05:47.377330+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

Code:
$ pmset -g assertions
2018-01-25 20:25:53 +0530
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    1
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 147(coreaudiod): [0x000000150001819e] 00:06:51 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutputDP:0,1,0,1,1:0:{AC10-D07A-33443854}.context.preventuseridlesleep"
    Created for PID: 459.
   pid 147(coreaudiod): [0x0000001400018196] 00:06:51 PreventUserIdleSystemSleep named: "com.apple.audio.SoundflowerEngine:0.context.preventuseridlesleep"
    Created for PID: 459.
   pid 147(coreaudiod): [0x000000150005819f] 00:06:51 PreventUserIdleDisplaySleep named: "com.apple.audio.AppleHDAEngineOutputDP:0,1,0,1,1:0:{AC10-D07A-33443854}.context.preventuseridledisplaysleep"
    Created for PID: 459.
   pid 655(AddressBookSourceSync): [0x000001930001821c] 00:00:27 PreventUserIdleSystemSleep named: "Address Book Source Sync"
    Timeout will fire in 1772 secs Action=TimeoutActionTurnOff
   pid 105(hidd): [0x0000000800098076] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968856.3"
    Timeout will fire in 1500 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14a00000 owner=USB Gaming Mouse
   id=502  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14900000 owner=IOUSBHostDevice
   id=503  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14810000 owner=BCM20702A0
   id=504  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14100000 owner=XBOX 360 For Windows
   id=506  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14400000 owner=Back-UPS RS 1500G-IN FW:901.L8 .I USB FW:L8
Idle sleep preventers: IODisplayWrangler
 
Awesome Man ! I would have never figured it out myself. But still, Sleep not working, it immediately wakes up from sleep. Reporting files are above.I hadn't changed anything.

Code:
$ log show --style syslog | fgrep "Wake reason"
2018-01-20 18:05:47.377329+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?
2018-01-20 18:05:47.377330+0530 localhost kernel[0]: (AppleACPIPlatform) Wake reason: ?

Code:
$ pmset -g assertions
2018-01-25 20:25:53 +0530
Assertion status system-wide:
   BackgroundTask                 0
   ApplePushServiceTask           0
   UserIsActive                   1
   PreventUserIdleDisplaySleep    1
   PreventSystemSleep             0
   ExternalMedia                  0
   PreventUserIdleSystemSleep     1
   NetworkClientActive            0
Listed by owning process:
   pid 147(coreaudiod): [0x000000150001819e] 00:06:51 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutputDP:0,1,0,1,1:0:{AC10-D07A-33443854}.context.preventuseridlesleep"
    Created for PID: 459.
   pid 147(coreaudiod): [0x0000001400018196] 00:06:51 PreventUserIdleSystemSleep named: "com.apple.audio.SoundflowerEngine:0.context.preventuseridlesleep"
    Created for PID: 459.
   pid 147(coreaudiod): [0x000000150005819f] 00:06:51 PreventUserIdleDisplaySleep named: "com.apple.audio.AppleHDAEngineOutputDP:0,1,0,1,1:0:{AC10-D07A-33443854}.context.preventuseridledisplaysleep"
    Created for PID: 459.
   pid 655(AddressBookSourceSync): [0x000001930001821c] 00:00:27 PreventUserIdleSystemSleep named: "Address Book Source Sync"
    Timeout will fire in 1772 secs Action=TimeoutActionTurnOff
   pid 105(hidd): [0x0000000800098076] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968856.3"
    Timeout will fire in 1500 secs Action=TimeoutActionRelease
Kernel Assertions: 0x4=USB
   id=500  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14a00000 owner=USB Gaming Mouse
   id=502  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14900000 owner=IOUSBHostDevice
   id=503  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14810000 owner=BCM20702A0
   id=504  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14100000 owner=XBOX 360 For Windows
   id=506  level=255 0x4=USB mod=1/1/70, 5:30 AM description=com.apple.usb.externaldevice.14400000 owner=Back-UPS RS 1500G-IN FW:901.L8 .I USB FW:L8
Idle sleep preventers: IODisplayWrangler

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.
 

Attachments

  • debug_3451.zip
    3.4 MB · Views: 60
Here you go but like I said, the files are already above and I hadn't changed anything since then.

Probably one of the USB devices you have plugged in is causing a wake event (Bluetooth controller?).
Check your SysPrefs->Energy Saver settings and/or BT settings.
Maybe you need to disable wake via bluetooth.

You could also disable wake on USB entirely.
 
Probably one of the USB devices you have plugged in is causing a wake event (Bluetooth controller?).
Check your SysPrefs->Energy Saver settings and/or BT settings.
Maybe you need to disable wake via bluetooth.

You could also disable wake on USB entirely.

Thanks @RehabMan, you are a genius with a kind heart ! To test, I removed all the usb devices attached and put to sleep and hallelujah !!

So, coming back to permanent fix, do I have to edit DSDT to disable
Code:
Method (_PRW)
but doing so, will disable by waking up from keyboard, only by pressing Power button. Is this what is compromised in Hackintosh to achieve Sleep ?
 
Thanks @RehabMan, you are a genius with a kind heart ! To test, I removed all the usb devices attached and put to sleep and hallelujah !!

So, coming back to permanent fix, do I have to edit DSDT to disable
Code:
Method (_PRW)
but doing so, will disable by waking up from keyboard, only by pressing Power button. Is this what is compromised in Hackintosh to achieve Sleep ?

You should probably try to determine which device is causing the wake (process of elimination).
You can use ACPI patching for _PRW to disable wake on USB, but many desktop BIOSes also provide an option for that in BIOS settings.
There may also be other BIOS options that relate.
 
You should probably try to determine which device is causing the wake (process of elimination).
You can use ACPI patching for _PRW to disable wake on USB, but many desktop BIOSes also provide an option for that in BIOS settings.
There may also be other BIOS options that relate.

Just to clarify, should I just remove that method from the defaulter device in ACPI ? Sorry, even though I come from Computer Science background but never did any low level programming but I am learning a lot, your guides are awesome and very technical not just a dirty hack. You know the big picture to fix things, You have a knack for it boy !!!

And, btw I have an Asus X99 Pro board, any ideas for BIOS related options ?
 
Back
Top