Contribute
Register

Acer Aspire V3-372

Status
Not open for further replies.
I had some problems with sleep, checked system.log and it reported that GLAN XHC was waking it up. I disabled wake on lan (also disabled on bios) but it did not work. So I opened DSDT.aml and find the GLAN and changed
Code:
            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (GPRW (0x6D, 0x04))
            }

to

Code:
            Method (_PRW, 0, NotSerialized)  // _PRW: Power Resources for Wake
            {
                Return (GPRW (0x0D, 0x00))
            }

Is this a recommended solution to the problem or is there an better alternative available?
I also had troubles waking from sleep, but I haven't had that since I changed this code, dunno if there's any correlation to that.

Wrong. You should never change the GPE index like that. Only change the sleep state. 0x6d should remain 0x6d.

Also, you will need to change all _PRW methods that use the same GPE index.

See ACPI patching guide, "instant wake": http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Wrong. You should never change the GPE index like that. Only change the sleep state. 0x6d should remain 0x6d.

Also, you will need to change all _PRW methods that use the same GPE index.

See ACPI patching guide, "instant wake": http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
Applied usb_pwr_0x6D_xhc patch and fixed the GPE index on GLAN, cannot sleep.

The weird thing is, my sleep works perfectly if I close the lid, but if I go to sleep mode by clicking apple icon from the top left corner, it cannot enter sleep. What is going on?
 
Applied usb_pwr_0x6D_xhc patch and fixed the GPE index on GLAN, cannot sleep.

The weird thing is, my sleep works perfectly if I close the lid, but if I go to sleep mode by clicking apple icon from the top left corner, it cannot enter sleep. What is going on?

Keep in mind sleep is delayed by 15-20 sec. And all assertions must be clear before sleep will begin.

You can check for assertions with 'pmset -g assertions' in Terminal.

If you need help, be specific about the problem and...

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
 
Keep in mind sleep is delayed by 15-20 sec. And all assertions must be clear before sleep will begin.

You can check for assertions with 'pmset -g assertions' in Terminal.

If you need help, be specific about the problem and...

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.

So the problem is simply that I cannot sleep. Oddly, sleep is possible only when closing the lid...


This is what the pmset -g assertions displays in terminal
InternalPreventDisplaySleep is not always 1.
Code:
Assertion status system-wide:

  BackgroundTask                 0

  ApplePushServiceTask           0

  UserIsActive                   0

  PreventUserIdleDisplaySleep    0

  PreventSystemSleep             0

  ExternalMedia                  0

  InternalPreventDisplaySleep    1

  PreventUserIdleSystemSleep     0

  NetworkClientActive            0

Listed by owning process:

  pid 53(powerd): [0x0000031a001001df] 00:00:18 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"

Timeout will fire in 101 secs Action=TimeoutActionTurnOff

Kernel Assertions: 0x4=USB

  id=500  level=255 0x4=USB mod=01/01/70 02:00 description=com.apple.usb.externaldevice.14300000

  id=509  level=255 0x4=USB mod=01/01/70 02:00 description=com.apple.usb.externaldevice.14500000 owner=IOUSBHostDevice

  id=510  level=255 0x4=USB mod=01/01/70 02:00 description=com.apple.usb.externaldevice.14700000 owner=USB2.0-CRW

  id=511  level=255 0x4=USB mod=01/01/70 02:00 description=com.apple.usb.externaldevice.14600000 owner=HD WebCam

Idle sleep preventers: IODisplayWrangler

I checked system.log and searched for assertions and found this one, but i have no clue what to do to it.
Code:
14/06/16 20:14:23,000 kernel[0]: Sound assertion in AppleHDAController at line 8479

and then the usual..
kextstat
Code:
Leafs-MacBook-Air:~ leaf$ kextstat|grep -y acpiplat

  13    2 0xffffff7f8250f000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>

Leafs-MacBook-Air:~ leaf$ kextstat|grep -y appleintelcpu

Leafs-MacBook-Air:~ leaf$ kextstat|grep -y applelpc

  83    0 0xffffff7f81e7c000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <78 12 5 4 3>

Leafs-MacBook-Air:~ leaf$ kextstat|grep -y applehda

  87    1 0xffffff7f821ee000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (272.50.31) AA89EAE1-8C6D-327A-8DEE-60D890B1B6EA <86 85 67 12 7 6 5 4 3 1>

  110    0 0xffffff7f82359000 0xb2000    0xb2000    com.apple.driver.AppleHDA (272.50.31) 149C6F47-9E11-348E-8936-3C4AD5691379 <109 87 86 85 71 67 6 5 4 3 1>
kextcache
Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Intel_HD_Graphics.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext

kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
 

Attachments

  • CLOVER.zip
    2 MB · Views: 103
  • Leaf’s MacBook Air.zip
    479.1 KB · Views: 92
So the problem is simply that I cannot sleep. Oddly, sleep is possible only when closing the lid...

Keep in mind sleep is delayed by 15-20 sec after request.
 
Keep in mind sleep is delayed by 15-20 sec after request.
nothing happens after that time nor i cannot enter sleep after that. Same thing happens whenever I try to enter sleep, it turns itself off and immediately turns back on.
 
You already suggested me this yesterday. I followed it, same results. I did not use usb 6-series or usb 7-series patches, since mine is skylake. or should I?

Did you apply all applicable "common" patches?
 
Status
Not open for further replies.
Back
Top