Jump to content
8 posts in this topic

Recommended Posts

Hi,

I am an happy owner of an Alienware m17 R4. It works almost perfectly.

Specs

Intel Core i7-10870H
Nvidia RTX 3080 (disabled)
17,3" FHD (1920x1080) 144Hz
Wi-Fi 6 AX1650

In order to get sleep working, i.e get rid of the instant wake issue, I had to follow the open core guide and use SSDT-GPRW.aml + the patch
"change Method(GPRW,2,N) to XPRW, pair with SSDT-GPRW.aml".

The problem is that I would like to be able to wake the laptop from sleep using my keyboard and mouse instead of having to open the lid and press the power button when used like a desktop (which is like 80% of the usage).

I read SSDT-GPRW.aml is the reason why USB Wake Support is not working but it's also the reason why my laptop is able to sleep.

Is there something I can do? As far as I know, my USB mapping is properly done.

Thanks in advance!

If there's a sleep button device present in IOReg

And if the the shortcut keys for putting it to sleep are mapped and working (in my case Fn+F4)

You can wake the system if you press the first of the 2 buttons.

 

Maybe this helps if waking via Keyboard doesn't work: https://dortania.github.io/OpenCore-Post-Install/usb/misc/keyboard.html

1 hour ago, 5T33Z0 said:

If there's a sleep button device present in IOReg

And if the the shortcut keys for putting it to sleep are mapped and working (in my case Fn+F4)

You can wake the system if you press the first of the 2 buttons.

 

Maybe this helps if waking via Keyboard doesn't work: https://dortania.github.io/OpenCore-Post-Install/usb/misc/keyboard.html

 

Thanks for the reply.

 

I went ahead and added acpi-wake-type 0x01  to my config.plist (OpenCore) but it sadly didn't have any effect.

I also tried connecting a Logitech Rumblepad controller (there is a led on it) and when the computer falls to sleep, the light turns off immediately. Seems my usb ports are not powered while in sleep.

 

I couldn't figure out what you meant about the keyboard shortcut mapping, but I have Karabiner Elements installed and I binded F6 to sleep but it doesn't wake it up either.

 

Also, the internal keyboard of this laptop uses USB and not PS/2. It won't wake the laptop either, nor the PS/2 touchpad.

Edited by jamesst20

Got it working!

 

What I did was

1. Replace SSDT-AWAC with generated from SSDTTime
2. Replace SSDT-PLUG with generated from SSDTTime
3. Update deprecated SSDT-PNLFCFL with SSDT-PLUG (OpenCore)
4. Added SSDT-HPET and its patches from SSDTTime.
5. Removed SSDT-GPRW and its patch.

Rebooted. Sleep still working. Wake from USB working as well!

  • Like 2
5 hours ago, 5T33Z0 said:

@jamesst20 Nice. Did you use the generic ones from Dortania or from the OpenCore Package prior to that?

 

Prior to that I was using the ones from OpenCore Guides when going in the "Prebuilt" page for each of them. The setup was done in June 2021 this summer, so maybe they were out of date too, but I always kept my OpenCore up to date. I'm on 0.7.6.

 

I wish I knew which fix made the transition from SSDT-GPRW mandatory to fix the instant wake from sleep from now it can sleep without it but I don't feel like trying one by one because it could be a combination.

 

My guts tell me it's likely the extra SSDT-HPET for IRQ fixes or the new SSDT-AWAC for system clocks that made it possible

Edited by jamesst20

So, you were using Dortania's aml files. Who knows which one fixed it – probably the whole combo. You could run

pmset -g log | grep -e "Sleep.*due to" -e "Wake.*due to"

and see what it says.

 

Edited by 5T33Z0
On 1/20/2022 at 7:08 PM, jamesst20 said:

3. Update deprecated SSDT-PNLFCFL with SSDT-PLUG (OpenCore)

 

@jamesst20  Congrats on the fix.  Just to confirm, you replaced deprecated  SSDT-PNLFCFL with SSDT-PNLF (OpenCore) - correct?

×
×
  • Create New...