From 7bcd1f18e4df2fd8a6f897b870297206ffe0c9ee Mon Sep 17 00:00:00 2001 From: steeb Date: Tue, 30 Apr 2024 18:46:33 -0700 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3cac229..dce25f7 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,19 @@ KERNEL=="i2c-ELAN06A0:00", SUBSYSTEM=="i2c", ATTR{power/wakeup}="disabled" Source: [Arch Wiki](https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Instantaneous_wakeups_from_suspend) / [archive.is](https://archive.is/Rup9g) -### What is this doing? +> **ℹ️ What is this doing?** +> +> `i2c-ELAN06A0:00` is the hardware address of the haptic trackpad. Apparently, it causes the laptop to occasionally wake from sleep immediately after being told to suspend. Between that and immediately jamming the laptop into my bag when I put it to sleep, I was creating an overheating issue. Theoretically, this will solve the issue. -i2c-ELAN06A0:00 is the hardware address of the haptic trackpad. Apparently, it causes the laptop to occasionally wake from sleep immediately after being told to suspend. Between that and immediately jamming the laptop into my bag when I put it to sleep, I was creating an overheating issue. Theoretically, this will solve the issue. +> **💡 Tip** +> +> If you are visiting here from the future with a newer generation of Z13, or with some other AMD-based laptop with suspend issues, here's how to find your problematic i2c device! +> +> `ls /sys/bus/i2c/devices/*/power/wakeup` +> +> The format of the device name should be i2c-ELAN0679:00 or i2c-MSFT0001:00. Run this command to block it from waking the system: +> +> `sudo echo disabled > /sys/bus/i2c/devices//power/wakeup` ## Power Profile Daemon Tweaks