[UPDATE: see my most recent comment for what i believe is the actual root cause, with detailed kernel dyndbg logs and concrete suggestion from a linux kernel contact – [RESPONDED] Suspend to memory broken on linux-6.4.11 (debian trixie) due to over-current on xHCI bus - #6 by khimaros]
this seems to be a regression with recent kernels or perhsps with recent dynamically loaded firmware.
i’ve removed all USB modules from the laptop, nothing is plugged in. bluetooth is disabled.
i’m running the latest stable Insyde firmware and EC:
# dmidecode | head
BIOS Information
Vendor: INSYDE Corp.
Version: 03.17
Release Date: 10/27/2022
my hardware is the i7-1185G7 model:
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 140
model name : 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
i’ve also tried with both deep and s2idle suspend, the same result.
the key seems to be this line in dmesg:
[37767.143371] usb usb3: PM: dpm_run_callback(): usb_dev_suspend+0x0/0x20 [usbcore] returns -16
[37767.143388] usb usb3: PM: failed to suspend async: error -16
i notice that the fingerprint reader and builtin bluetooth are on bus 003:
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 27c6:609c Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
Bus 003 Device 004: ID 8087:0032 Intel Corp. AX210 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
more context is here
[37764.783763] PM: suspend entry (deep)
[37764.795359] Filesystems sync: 0.011 seconds
[37764.795518] (NULL device *): firmware: direct-loading firmware iwlwifi-ty-a0-gf-a0.pnvm
[37764.795547] (NULL device *): firmware: direct-loading firmware regulatory.db
[37764.795551] (NULL device *): firmware: direct-loading firmware regulatory.db.p7s
[37764.795561] (NULL device *): firmware: direct-loading firmware i915/tgl_dmc_ver2_12.bin
[37764.795570] (NULL device *): firmware: direct-loading firmware intel/ibt-0041-0041.ddc
[37764.795695] (NULL device *): firmware: direct-loading firmware intel/ibt-0041-0041.sfi
[37764.795801] (NULL device *): firmware: direct-loading firmware iwlwifi-ty-a0-gf-a0-74.ucode
[37764.946340] Freezing user space processes
[37764.948284] Freezing user space processes completed (elapsed 0.001 seconds)
[37764.948287] OOM killer disabled.
[37764.948288] Freezing remaining freezable tasks
[37764.949497] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[37764.949537] printk: Suspending console(s) (use no_console_suspend to debug)
[37764.971991] usb usb3: PM: dpm_run_callback(): usb_dev_suspend+0x0/0x20 [usbcore] returns -16
[37764.972026] usb usb3: PM: failed to suspend async: error -16
[37765.154149] PM: Some devices failed to suspend, or early wake event detected
[37765.166198] iwlwifi 0000:aa:00.0: WRT: Invalid buffer destination
[37765.331405] iwlwifi 0000:aa:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x1f
[37765.331426] iwlwifi 0000:aa:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[37765.331437] iwlwifi 0000:aa:00.0: WFPM_AUTH_KEY_0: 0x80
[37765.331449] iwlwifi 0000:aa:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[37766.881362] OOM killer enabled.
[37766.881364] Restarting tasks ... done.
[37766.884326] random: crng reseeded on system resumption
[37766.892032] PM: suspend exit
[37766.892079] PM: suspend entry (s2idle)
[37766.896925] Filesystems sync: 0.004 seconds
[37766.938387] Freezing user space processes
[37766.940544] Freezing user space processes completed (elapsed 0.002 seconds)
[37766.940547] OOM killer disabled.
[37766.940548] Freezing remaining freezable tasks
[37767.010260] Freezing remaining freezable tasks completed (elapsed 0.069 seconds)
[37767.010264] printk: Suspending console(s) (use no_console_suspend to debug)
[37767.143371] usb usb3: PM: dpm_run_callback(): usb_dev_suspend+0x0/0x20 [usbcore] returns -16
[37767.143388] usb usb3: PM: failed to suspend async: error -16
[37767.310168] PM: Some devices failed to suspend, or early wake event detected
[37767.617317] OOM killer enabled.
[37767.617318] Restarting tasks ... done.
[37767.619760] random: crng reseeded on system resumption
[37767.626971] PM: suspend exit
any thoughts on how to further troubleshoot?