Public bug reported:

## Problem

On my Acer TravelLite TL14-42M laptop, Ubuntu suspend immediately wakes
up after 1-2 seconds.

Running:

systemctl suspend

The laptop enters suspend successfully but wakes immediately.

Windows dual boot on the same hardware suspends correctly.


## Hardware

Laptop: Acer TravelLite TL14-42M

CPU: AMD Ryzen 7 7730U

BIOS:
1.07.06RAC1

OS:
Ubuntu 24.04.4 LTS

Kernel:
6.17.0-1030-oem


## Suspend mode

cat /sys/power/mem_sleep

Output:

[s2idle]


## Investigation

Using:

cat /sys/kernel/debug/wakeup_sources

The wakeup source was identified as:

i2c-ELAN0415:00


The device is:

ELAN0415 I2C HID touchpad


## Workaround

The issue can be fixed by unbinding the touchpad before suspend and
rebinding after resume:

Before suspend:

echo i2c-ELAN0415:00 | sudo tee /sys/bus/i2c/drivers/i2c_hid_acpi/unbind


After resume:

echo i2c-ELAN0415:00 | sudo tee /sys/bus/i2c/drivers/i2c_hid_acpi/bind


I created a systemd sleep hook which performs this automatically.

After applying this workaround, suspend works correctly.


## Additional logs

Wakeup source before fix:

i2c-ELAN0415:00

The issue is reproducible on the OEM kernel as well:

6.17.0-1030-oem


The AMD S0ix state reports successful entry and exit, so the problem appears 
related to the ELAN I2C HID touchpad wake handling.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2162061

Title:
  ELAN0415 I2C HID touchpad causes immediate wake after suspend on AMD
  laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2162061/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to