Update: Found the root cause and workaround. The issue is caused by the ELAN0415 I2C HID touchpad waking the laptop during s2idle suspend. The wake source was identified as: ``` i2c-ELAN0415:00 ``` Disabling ACPI wake device GP17 did not solve the issue. Workaround: Created a systemd sleep hook: ``` /lib/systemd/system-sleep/elan-suspend-fix ``` Script: ```bash #!/bin/bash case "$1" in pre) echo i2c-ELAN0415:00 > /sys/bus/i2c/drivers/i2c_hid_acpi/unbind ;; post) sleep 2 echo i2c-ELAN0415:00 > /sys/bus/i2c/drivers/i2c_hid_acpi/bind ;; esac ``` After applying this workaround: - Suspend works correctly - Laptop no longer immediately wakes - ELAN touchpad works after resume Tested on: Acer TravelLite TL14-42M AMD Ryzen 7 7730U Ubuntu 24.04.4 LTS Kernel 6.17.0-1030-oem The issue appears to be related to ELAN0415 I2C HID wake handling during s2idle suspend. -- You received this bug notification because you are subscribed to linux in Ubuntu. Matching subscriptions: Bgg, Bmail, Nb https://bugs.launchpad.net/bugs/2162061 Title: ELAN0415 I2C HID touchpad causes immediate wake after suspend on AMD laptop Status in linux package in Ubuntu: New Bug description: ## 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2162061/+subscriptions
Комментариев нет:
Отправить комментарий