I'm running F30 on a Thinkpad A485 with a Ryzen R5 2500U but having
trouble suspending the device. I know it's an issue with the USB 3 hub
(xhci device 0000:06:00.4) as seen from dmesg below. The device is
failing to suspend for some reason. After this message there are
warnings about irq_startup associated with this same device so that may
be the issue.
> [ 86.338687] PM: suspend entry (deep)
> [ 86.338688] PM: Syncing filesystems ... done.
> [ 86.348213] Freezing user space processes ... (elapsed 0.002
> seconds) done.
> [ 86.350854] OOM killer disabled.
> [ 86.350855] Freezing remaining freezable tasks ... (elapsed 0.001
> seconds) done.
> [ 86.352112] printk: Suspending console(s) (use no_console_suspend
> to debug)
> [ 86.352615] wlp2s0: deauthenticating from MACADDRESS by local
> choice (Reason: 3=DEAUTH_LEAVING)
> [ 86.352655] thinkpad_acpi: acpi_evalf(GTRW, dd, ...) failed:
> AE_NOT_FOUND
> [ 86.352656] thinkpad_acpi: Cannot read adaptive keyboard mode.
> [ 86.594743] xhci_hcd 0000:06:00.4: WARN: xHC CMD_RUN timeout
> [ 86.609822] PM: suspend_common(): xhci_pci_suspend+0x0/0xd0 returns
> -110
> [ 86.609826] PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110
> [ 86.609832] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x120
> returns -110
> [ 86.609835] PM: Device 0000:06:00.4 failed to suspend async: error -110
I've tried disabling wakeup from the specified device in
/proc/acpi/wakeup. This has allowed me to enter suspend correctly once
but doesn't work consistently.
> GPP0 S3 *enabled pci:0000:00:01.1
> GPP1 S3 *disabled pci:0000:00:01.2
> GPP2 S3 *enabled pci:0000:00:01.3
> GPP3 S3 *enabled pci:0000:00:01.4
> GPP4 S3 *disabled
> L850 S3 *disabled
> GPP5 S3 *enabled pci:0000:00:01.6
> GPP6 S3 *disabled
> GP17 S3 *enabled pci:0000:00:08.1
> XHC0 S3 *disabled pci:0000:06:00.3
> XHC1 S3 *disabled pci:0000:06:00.4
> GP18 S3 *enabled pci:0000:00:08.2
> LID S3 *enabled platform:PNP0C0D:00
> SLPB S3 *enabled platform:PNP0C0E:00
Searching on Google I've only found information from kernel lists about
needed usb3 slow suspend enabled but that appeared resolved on the
kernel side or adding SUSPEND_MODULE="xhci_hcd" to no avail.
Has anyone experienced this issue before or know where I should be
looking further? Perhaps suspend just isn't working correctly with this
Thinkpad model on the current kernel?
The full dmesg is attached if that is helpful.
Regards.