среда

[Bug 2162061] Re: ELAN0415 I2C HID touchpad causes immediate wake after suspend on AMD laptop

Update: The issue is not present after applying a systemd sleep hook that unbinds and rebinds the ELAN0415 I2C HID device. Sleep hook: Before suspend: echo i2c-ELAN0415:00 > /sys/bus/i2c/drivers/i2c_hid_acpi/unbind After resume: echo i2c-ELAN0415:00 > /sys/bus/i2c/drivers/i2c_hid_acpi/bind The workaround restores normal suspend/resume behavior. -- 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

Комментариев нет:

Отправить комментарий