Contribute
Register

[Solved] Sleep wakes up immediately - Wake reason: GBE USBE

Status
Not open for further replies.
Used your DSDT. Not going to sleep. Screens turn black, fans still spinning. And it gets stuck like that. I have to press the reset button.
Have you looked at any maciasl repos for asus/6 series motherboards? You might have some luck but the patches are probably not updated for many years. Other than that there is laptop/DSDT forum. Also don't know if imac14 is best smbios product for your hardware, something else to consider.
 
Have you looked at any maciasl repos for asus/6 series motherboards? You might have some luck but the patches are probably not updated for many years. Other than that there is laptop/DSDT forum. Also don't know if imac14 is best smbios product for your hardware, something else to consider.
Have you looked at any maciasl repos for asus/6 series motherboards? You might have some luck but the patches are probably not updated for many years. Other than that there is laptop/DSDT forum. Also don't know if imac14 is best smbios product for your hardware, something else to consider.
I could not find repos with DSDT's for the motherboard. I could find a couple of patched DSDT's for the motherboard here and here. But with no luck so far.

One extra change I did was to change the PRW method

Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
{
0x1B, //instead of 0x0d
0x03 //instead of 0x04

})

And with that change, after I press sleep in the apple menu, the computer immediately turns off like it should sleep. However, when I press the power button to turn it on, the fans keep spinning at top speed and the displays are off.
 
I got it working partially! It is now going to sleep and not waking up but the bluetooth device is not powered on when waking from sleep and it shows up as Not available.

What I did was to keep playing with the values in the PRW.
Here is what I have now and it's working:
Code:
                Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
                {
                    0x0B,
                    0x03
                })

Initially, the first argument was 0x0D and the second one was 0x04.
I figured out the the first argument points to a method with a similar name in the GPE scope and that's where the notifications are sent for waking up the system.
I identified the method name as _L0D and this is how it looks:
Code:
            Method (_L0D, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
            {
                If (\_SB.PCI0.EHCI.PMES)
                {
                    Store (One, \_SB.PCI0.EHCI.PMES)
                    Notify (\_SB.PCI0.EHCI, 0x02) // Device Wake
                    Notify (\_SB.PWRB, 0x02) // Device Wake
                }

                If (\_SB.PCI0.UHCI.PMES)
                {
                    Store (One, \_SB.PCI0.UHCI.PMES)
                    Notify (\_SB.PCI0.UHCI, 0x02) // Device Wake
                    Notify (\_SB.PWRB, 0x02) // Device Wake
                }

                Notify (\_SB.PCI0.GBE, 0x02) // Device Wake
                Notify (\_SB.PWRB, 0x02) // Device Wake
            }

I noticed in the GPE scope and after looking to other UHC(USB) ports in DSDT that other methods were called.
I chose _L0B and now it's going to sleep and staying there.
Here is how _L0B looks like:

Code:
            Method (_L0B, 0, NotSerialized)  // _Lxx: Level-Triggered GPE
            {
                Notify (\_SB.PCI0.PCIB, 0x02) // Device Wake
                Notify (\_SB.PWRB, 0x02) // Device Wake
            }

Thanks for all your support !
 
Last edited:
I got it working partially! It is now going to sleep and not waking up but the bluetooth device is not powered on when waking from sleep and it shows up as Not available.
You might try adding PS0 and PS3 methods to EHCI and UHCI
Code:
Device (EHCI)
{
    Name (_ADR, 0x001D0007)  // _ADR: Address
    Name (_PRW, Package (0x02)  // _PRW: Power Resources for Wake
    {
        0x0B,
        0x02
     })

     Method (_PS0, 0, NotSerialized)  // _PS0: Power State 0
     {
     }

     Method (_PS3, 0, NotSerialized)  // _PS3: Power State 3
     {
     }

...
 
It actually looks like it's working! I don't know what happened previously, but not it goes to sleep and stays there. It only wakes up when I push a button.

Also, bluetooth is properly started back, and handoff is also working on system wake up.

I hope it's ok, but in case there will still be issues, I will also try with the previous suggestions.

Thank you, all!

Edit: DSDT for Asus P6T Deluxe v2 attached in case someone needs it.
 

Attachments

  • DSDT.aml
    41.3 KB · Views: 186
Last edited:
Status
Not open for further replies.
Back
Top