Suspend automatically resumes if Bluetooth is enabled

Lately, my laptop has been automatically resuming as soon as suspended. After struggling for a while, I identified that it doesn’t happen with Airplane mode and on further testing, when bluetooth is enabled (not connected to anything).

I couldn’t find anything obvious from journalctl -b -g suspend output, expect the suspended state lasts for a very short duration (< 2 seconds)

Apr 24 17:09:34 sirius dbus-daemon[428]: [system] Activating via systemd: service name='org.freedes>
Apr 24 17:09:35 sirius sudo[8090]:    rohan : TTY=pts/2 ; PWD=/home/rohan ; USER=root ; COMMAND=/us>
Apr 24 17:09:35 sirius ModemManager[466]: <info>  [sleep-monitor] system is about to suspend
Apr 24 17:09:35 sirius systemd[1]: Starting System Suspend...
Apr 24 17:09:35 sirius systemd-sleep[8122]: Entering sleep state 'suspend'...
Apr 24 17:09:35 sirius kernel: PM: suspend entry (s2idle)
Apr 24 17:09:37 sirius kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Apr 24 17:09:37 sirius kernel: PM: suspend exit
Apr 24 17:09:37 sirius systemd[1]: systemd-suspend.service: Deactivated successfully.
Apr 24 17:09:37 sirius systemd[1]: Finished System Suspend.
Apr 24 17:09:37 sirius audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit>
Apr 24 17:09:37 sirius audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=>
Apr 24 17:09:37 sirius systemd[1]: Reached target Suspend.
Apr 24 17:09:37 sirius systemd[1]: Stopped target Suspend.
Apr 24 17:09:37 sirius kernel: audit: type=1130 audit(1650800377.947:346): pid=1 uid=0 auid=4294967>
Apr 24 17:09:37 sirius kernel: audit: type=1131 audit(1650800377.947:347): pid=1 uid=0 auid=4294967>

Trying out echo CNVW | sudo tee /proc/acpi/wakeup to disable wakeup with Intel Corporation Wi-Fi 6 AX201 didn’t help (perhaps that’s only for WiFi)

lcpci output:

0000:00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
0000:00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
0000:00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 (rev 01)
0000:00:07.1 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
0000:00:07.2 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #2 (rev 01)
0000:00:07.3 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #3 (rev 01)
0000:00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
0000:00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
0000:00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
0000:00:0d.3 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #1 (rev 01)
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
0000:00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
0000:00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
0000:00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
0000:00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
0000:00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
0000:00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
0000:00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
0000:00:1e.0 Communication controller: Intel Corporation Tiger Lake-LP Serial IO UART Controller #0 (rev 20)
0000:00:1e.3 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO SPI Controller #1 (rev 20)
0000:00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
0000:00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
0000:00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
0000:00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
10000:e0:1c.0 System peripheral: Intel Corporation Device 09ab
10000:e0:1c.4 PCI bridge: Intel Corporation Device a0bc (rev 20)
10000:e1:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller 980

lsusb output:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 13d3:56ba IMC Networks Integrated Camera
Bus 003 Device 003: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Okay, I don’t know why, but just removing all the devices from the pairing list seems to have resolved this. I have added the Bluetooth devices I use again and suspension seems to work okay.

Will update here if this recurs.

2 Likes

Hi, sorry if necro. Are you using a bluetooth gamepad? I’ve had a very similar issue, and my assumption is that it is caused by joystick drift and/or some kind of misconfiguration in the driver, since it happens even when the gamepad is disconnected.

For reference, I am using the xpadneo driver.