FS#74387 - [linux] REGRESSION: linux-5.17 beaks suspend on Thinkpad X1 Carbon Gen 9
Attached to Project:
Arch Linux
Opened by ifaigios (ifaigios) - Thursday, 07 April 2022, 12:26 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 02 September 2022, 15:46 GMT
Opened by ifaigios (ifaigios) - Thursday, 07 April 2022, 12:26 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 02 September 2022, 15:46 GMT
|
Details
Description:
After upgrading to linux-5.17, my laptop (Thinkpad X1 Carbon Gen 9) wakes up from suspend immediately after entering it. The bug persists with linux-5.17.1 I can provide logs if needed. The only workarounds I have found is to disable BOTH Bluetooth and "Always on USB" from BIOS, or to downgrade to linux-5.16.16 Additional info: * package version(s): linux-5.17 , linux-5.17.1 * link to upstream bug report, if any: https://bugzilla.kernel.org/show_bug.cgi?id=215768 Steps to reproduce: 1. Close the laptop lid 2. Laptop enters suspend (red LED stars blinking) and then immediately wakes up (red LED on, fan comes up) |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Friday, 02 September 2022, 15:46 GMT
Reason for closing: Fixed
Additional comments about closing: 5.19.2
Friday, 02 September 2022, 15:46 GMT
Reason for closing: Fixed
Additional comments about closing: 5.19.2
Disabling Bluetooth prior to closing lid helps as a workaround.
I created sleep/suspend hooks to disable/enable BT for sleep/awake process till fix released.
https://github.com/liskin/dotfiles/blob/fd4787f2fd2bda3792e4ffd25a8cdcc6471fc963/usr/lib/systemd/system-sleep/liskin-bluetooth-disconnect
Put the file in /usr/lib/systemd/system-sleep/ and make it executable to automatically disconnect bluetooth devices prior to suspending.
The change that seems to help:
https://github.com/archlinux/linux/commit/d50f255704bffbf7cbc641706dc63db1e0635819
https://github.com/archlinux/linux/compare/v5.18.15-arch1..v5.18.16-arch1#diff-7df2c5a0f078b8440d2c9bae64cf1019c2ab5f58c7ed4e9993e297da5bacfdfb
Anyway, just for notes: on 5.18.17 the pc correctly goes and stays on sleep, but when I open the lid, all the Bluetooth devices results disconnected, which is pretty annoying for mouse/keyboard. (Lenovo ThinkPad T14 here)