Contribute
Register

HP ProBook 4540s doesn't sleep

Status
Not open for further replies.
@nguyenmac

Tried latest beta and works more reliable.

But there is a new sleep assertion.
Code:
[FONT=Menlo]2015-08-17 14:20:28 +0300 [/FONT]
[FONT=Menlo]Assertion status system-wide:[/FONT]
[FONT=Menlo]   BackgroundTask                 0[/FONT]
[FONT=Menlo]   ApplePushServiceTask           0[/FONT]
[FONT=Menlo]   UserIsActive                   0[/FONT]
[FONT=Menlo]   PreventUserIdleDisplaySleep    0[/FONT]
[FONT=Menlo]   PreventSystemSleep             0[/FONT]
[FONT=Menlo]   ExternalMedia                  1[/FONT]
[FONT=Menlo]   PreventUserIdleSystemSleep     0[/FONT]
[FONT=Menlo]   NetworkClientActive            0[/FONT]
[FONT=Menlo]Listed by owning process:[/FONT]
[FONT=Menlo]   pid 50(powerd): [0x00000100000801bc] 00:18:44 ExternalMedia named: "com.apple.powermanagement.externalmediamounted" [/FONT]
[FONT=Menlo]Kernel Assertions: 0x4=USB[/FONT]
[FONT=Menlo]   id=500  level=255 0x4=USB mod=8/17/15, 2:09 PM description=EH02 owner=AppleUSBEHCI[/FONT]
[FONT=Menlo]   id=501  level=255 0x4=USB mod=1/1/70, 2:09 AM description=EH01 owner=AppleUSBEHCI[/FONT]

This assertion does not prevent Sleep, tried both with and without external media plugged into USB.
What are the changes in DSDT patching?
 
@nguyenmac

Tried latest beta and works more reliable.

But there is a new sleep assertion.
Code:
[FONT=Menlo]2015-08-17 14:20:28 +0300 [/FONT]
[FONT=Menlo]Assertion status system-wide:[/FONT]
[FONT=Menlo]   BackgroundTask                 0[/FONT]
[FONT=Menlo]   ApplePushServiceTask           0[/FONT]
[FONT=Menlo]   UserIsActive                   0[/FONT]
[FONT=Menlo]   PreventUserIdleDisplaySleep    0[/FONT]
[FONT=Menlo]   PreventSystemSleep             0[/FONT]
[FONT=Menlo]   ExternalMedia                  1[/FONT]
[FONT=Menlo]   PreventUserIdleSystemSleep     0[/FONT]
[FONT=Menlo]   NetworkClientActive            0[/FONT]
[FONT=Menlo]Listed by owning process:[/FONT]
[FONT=Menlo]   pid 50(powerd): [0x00000100000801bc] 00:18:44 ExternalMedia named: "com.apple.powermanagement.externalmediamounted" [/FONT]
[FONT=Menlo]Kernel Assertions: 0x4=USB[/FONT]
[FONT=Menlo]   id=500  level=255 0x4=USB mod=8/17/15, 2:09 PM description=EH02 owner=AppleUSBEHCI[/FONT]
[FONT=Menlo]   id=501  level=255 0x4=USB mod=1/1/70, 2:09 AM description=EH01 owner=AppleUSBEHCI[/FONT]

This assertion does not prevent Sleep, tried both with and without external media plugged into USB.
What are the changes in DSDT patching?
I added clock-id to EH01 and EH02 USB Controller, which will prevent USB devices to wake your sleep.

So the problem with sleep is solved now?
 
So the problem with sleep is solved now?
Yes nguyenmac by now is solved, I will let you know if the sleep problem comes back.

Thank you guys for your great work.
 
Maybe in the installer you can add an option to include this patch for people with this sleep issue.
 
Maybe in the installer you can add an option to include this patch for people with this sleep issue.
It's added by default now.
 
I added clock-id to EH01 and EH02 USB Controller, which will prevent USB devices to wake your sleep.

So the problem with sleep is solved now?

My 4540s does not require AAPL,clock-id. I patch DSDT not with PBI-CE though...

And both "Wake on USB" *and* "Wake on LAN" must be disabled in BIOS.
 
@RehabMan

Both are disabled, something worth to mention is that the computer had on an old Bios version, today I updated to latest after the fix from nguyenmac.
I can try again without clock-id later on.
 
@RehabMan

Both are disabled, something worth to mention is that the computer had on an old Bios version, today I updated to latest after the fix from nguyenmac.
I can try again without clock-id later on.

Could be part of the issue. I have the latest BIOS on my 4540s.

Since you updated BIOS, make sure you re-patch ACPI.

ACPI files must be extracted/patched with the version of BIOS *and* the BIOS options you plan to use going forward. Any change... BIOS update, BIOS option change, means you need to re-extract/re-patch.
 
@RehabMan

Tried again with latest BIOS "F.60 A" before it was F.42 if I remember good.
Re-extracted from Clover (F4) updated DSDT and re-patched with HP ProBook Installer 6.3.9.5.

Sleep test results:

  1. No USB attached. OK.
  2. Automatic Energy Saver Sleep, battery only and AC. Both OK.
  3. Disk on key connected on USB2. OK.
  4. Disk on key on USB2 and Bluetooth dongle (Gmyle) on USB3. OK.
  5. Disk on key on USB2, Bluetooth dongle (Gmyle) on USB3 and External USB3 Hard Drive on USB3. OK.

So far so good, looks like the BIOS version I was using (F.42) was buggy. Lesson learned.
 
@nguyenmac

Did you rolled back AAPL,clock-id on Beta 2?

Is working without.

Thanks again.
 
Status
Not open for further replies.
Back
Top