• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
HP Recommended

Sometimes I put my EliteBook 845 G8 into standby because I currently don't use it (not closing the lid, just clicking "StandBy").

And maybe some hours later I pack together my stuff and close the lid of my EliteBook to put it in the bag.

 

Unfortunately closing the lid makes my EliteBook 845 G8 power back on from standby!?!?

 

I'm pretty sure this is a case for a BIOS update.

Please fix this!

 

For my old EliteBook 735 G6 there was a BIOS option to control if the lid wakes the notebook from standby. But it looks like the EliteBook 845 G8 doesn't have that BIOS option regarding standby behavior of the lid anymore.

(there's only an option in the EliteBook 845 G8 BIOS to make the notebook power on from complete power off when opening the lid, but that option doesn't apply here)

 

BIOS version: 01.09.10 (05/19/2022)

 

Related: https://h30434.www3.hp.com/t5/Business-Notebooks/How-to-disable-WakeUp-on-LID-open/td-p/7924038

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

S3 sometimes accidentally reboots the system. And beginning with the Linux kernel >= 5.18 S3 doesn't work anymore at all.

 

Instead s2idle mode can be fixed. Just add "acpi.ec_no_wakeup=1" to your boot options. 

Usually in /etc/default/grub -> GRUB_CMDLINE_LINUX_DEFAULT. And afterwards you may need to run "update-grub" or "update-bootloader".   

See: 

https://bugzilla.kernel.org/show_bug.cgi?id=216516#c25

https://wiki.archlinux.org/title/Power_management/Wakeup_triggers#Persistent_settings

 

"acpi.ec_no_wakeup=1" is needed, because there's a bug in the BIOS / SMU (System Management Unit) firmware which triggers bad interrupts in s2idle standby (massively raising the power consumption). This might be fixed if HP offers a new BIOS update containing SMU Firmware version >= 64.66. 

https://bugzilla.kernel.org/show_bug.cgi?id=216516#c29 

But additionally "acpi.ec_no_wakeup=1" also disables wakeup on lid actions. 

If the BIOS gets fixed in the future and you want additional ways to wakeup the notebook, you need to remove "acpi.ec_no_wakeup=1" again and look into the options listed here: 

https://h30434.www3.hp.com/t5/Business-Notebooks/EliteBook-845-G8-powering-on-from-standby-when-clos...

View solution in original post

3 REPLIES 3
HP Recommended

I figured out what's happening also also found some solutions!

 

 

 

The recent EliteBook series (beginning with G7 or G8) don't support "classical" S3 suspend-to-memory standby mode anymore.

https://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface#Global_states

 

Instead the EliteBook G8 series support some new standby mode. It doesn't save as much power as S3 did, but the operating system may (depends...) be able to keep things like the wireless network connection running. This standby mode is being known by different names like "s2idle", "Modern Standby", "s0ix", "Connected Standby" or "InstantGo".

https://en.wikipedia.org/wiki/InstantGo

 

You which standby modes are supported by looking at this file: /sys/power/mem_sleep
If the file only lists "[s2idle]" only that "Modern Standby" is supported.

Older notebooks like the EliteBook 735 G6 instead show "s2idle [deep]" where "deep" is the classical S3 suspend-to-memory standby.

 

 

 

So in that new s2idle mode the operating system is still running. And the standard operating system mechanisms can be used to control when the system is being "waked" (although it's barely sleeping at all).

So I wrote these two files to disable wakeup by the lid and also by random USB devices like mices.

 

/etc/systemd/system/elitebook-wake-triggers.service

 

 

 

 

[Unit]
Description=Configure wakeup triggers before sleeping.
Before=suspend.target hybrid-sleep.target suspend-then-hibernate.target

[Service]
ExecStart=/root/Scripts/elitebook-wakeup-triggers.bash
User=root

[Install]
WantedBy=suspend.target hybrid-sleep.target suspend-then-hibernate.target

# enable with:
# systemctl enable elitebook-wakeup-triggers.service

 

 

 

 

 

/root/Scripts/elitebook-wakeup-triggers.bash

(don't forget to run "chmod +x ..." on this)

 

 

 

 

#!/bin/bash

# wakeup notebook keyboard und lid-closing
echo disabled > /sys/devices/platform/i8042/serio0/power/wakeup

# lid opening
echo disabled > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/power/wakeup

# ac power (dis)connect (one line, no line break)
echo disabled > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/AC/power/wakeup


# 2. USB-C port and USB-A ports.
#if grep -Eq 'XHC0.*enabled' /proc/acpi/wakeup; then
#	echo XHC0 > /proc/acpi/wakeup
#fi

# USB-C PD & DisplayPort (e.g. movement of external mice)
if grep -Eq 'XHC1.*enabled' /proc/acpi/wakeup; then
	echo XHC1 > /proc/acpi/wakeup
fi

 

 

 

 

 

 

 

The other way is to re-enable the old S3 standby mode. I actually prefer that, because it's much more power saving.

 

The old S3 mode actually still exists in the system (see below).

I guess there may be some hidden BIOS option to enable it!?

Does someone know if there's something like a hidden menu in the EliteBook G8 series BIOS!?

 

Luckily you can re-enable S3 without the help of the BIOS. But it's quite difficult!

Here's how to do it:

https://www.reddit.com/r/AMDLaptops/comments/lg0knl/comment/ikpwpb8/

HP Recommended

A BIOS option to enable S3 standby would be really great!

(editing the ACPI configuration is probably way too difficult for most users)

 

And in S3 mode it would be also great to have a BIOS option to configure if the notebook should wake on lid opening!

 

 

P.S.

Maybe also helpful running Linux on the EliteBook 845 G8:

 

https://blog.frehi.be/2022/05/07/debian-gnulinux-on-a-hp-elitebook-845-g8/

 

https://medium.com/@anenasaa/using-manjaro-linux-on-hp-elitebook-845-g8-with-amd-ryzen-5800u-unfinis...

HP Recommended

S3 sometimes accidentally reboots the system. And beginning with the Linux kernel >= 5.18 S3 doesn't work anymore at all.

 

Instead s2idle mode can be fixed. Just add "acpi.ec_no_wakeup=1" to your boot options. 

Usually in /etc/default/grub -> GRUB_CMDLINE_LINUX_DEFAULT. And afterwards you may need to run "update-grub" or "update-bootloader".   

See: 

https://bugzilla.kernel.org/show_bug.cgi?id=216516#c25

https://wiki.archlinux.org/title/Power_management/Wakeup_triggers#Persistent_settings

 

"acpi.ec_no_wakeup=1" is needed, because there's a bug in the BIOS / SMU (System Management Unit) firmware which triggers bad interrupts in s2idle standby (massively raising the power consumption). This might be fixed if HP offers a new BIOS update containing SMU Firmware version >= 64.66. 

https://bugzilla.kernel.org/show_bug.cgi?id=216516#c29 

But additionally "acpi.ec_no_wakeup=1" also disables wakeup on lid actions. 

If the BIOS gets fixed in the future and you want additional ways to wakeup the notebook, you need to remove "acpi.ec_no_wakeup=1" again and look into the options listed here: 

https://h30434.www3.hp.com/t5/Business-Notebooks/EliteBook-845-G8-powering-on-from-standby-when-clos...

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.