I have an evolving problem with a PCI-E Card. Since some time i cannot
wake the system anymore if i suspend-to-ram with systemd-suspend.
The wakeup works 1 time only. After a second suspend. The system somehow
wakes up with fan turning on, but does not show any reaction to input.
Display stays off. I have to hard reset the system to get it back.
For me the problem started with 4.20 series but it was working partly
until recently by disconnection the peripherals from the USB card.
Since 5.2 (i think) it is too broken so my temporary fix is to remove
the card.
Unfortunately i have no idea to debug this, as i am not getting any
messages after the second suspend.
Here is a dmesg of the xhci module since boot until first suspend. After
first suspend, the device is not logging anything:
-- snip --
Nov 10 16:31:14 alex kernel: xhci_hcd 0000:06:00.0: xHCI Host Controller
Nov 10 16:31:14 alex kernel: xhci_hcd 0000:06:00.0: new USB bus
registered, assigned bus number 8
Nov 10 16:31:14 alex kernel: xhci_hcd 0000:06:00.0: hcc params
0x014042cb hci version 0x96 quirks 0x0000000000000004
Nov 10 16:31:14 alex kernel: input: Logitech Logitech Illuminated
Keyboard Consumer Control as
/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.1/0003:046D:C318.0003/input/input7
Nov 10 16:31:14 alex kernel: usb usb8: New USB device found,
idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
Nov 10 16:31:14 alex kernel: usb usb8: New USB device strings: Mfr=3,
Product=2, SerialNumber=1
Nov 10 16:31:14 alex kernel: usb usb8: Product: xHCI Host Controller
Nov 10 16:31:14 alex kernel: usb usb8: Manufacturer: Linux 5.3.9-gentoo
xhci-hcd
Nov 10 16:31:14 alex kernel: usb usb8: SerialNumber: 0000:06:00.0
Nov 10 16:31:14 alex kernel: hub 8-0:1.0: USB hub found
Nov 10 16:31:14 alex kernel: hub 8-0:1.0: 2 ports detected
Nov 10 16:31:14 alex kernel: xhci_hcd 0000:06:00.0: xHCI Host Controller
Nov 10 16:31:14 alex kernel: xhci_hcd 0000:06:00.0: new USB bus
registered, assigned bus number 9
Nov 10 16:31:14 alex kernel: xhci_hcd 0000:06:00.0: Host supports USB
3.0 SuperSpeed
Nov 10 16:31:14 alex kernel: usb usb9: We don't know the algorithms for
LPM for this host, disabling LPM.
Nov 10 16:31:14 alex kernel: usb usb9: New USB device found,
idVendor=1d6b, idProduct=0003, bcdDevice= 5.03
Nov 10 16:31:14 alex kernel: usb usb9: New USB device strings: Mfr=3,
Product=2, SerialNumber=1
Nov 10 16:31:14 alex kernel: usb usb9: Product: xHCI Host Controller
Nov 10 16:31:14 alex kernel: usb usb9: Manufacturer: Linux 5.3.9-gentoo
xhci-hcd
Nov 10 16:31:14 alex kernel: usb usb9: SerialNumber: 0000:06:00.0
Nov 10 16:31:14 alex kernel: hub 9-0:1.0: USB hub found
Nov 10 16:31:14 alex kernel: hub 9-0:1.0: 2 ports detected
.
.
.
Nov 10 17:15:10 alex kernel: xhci_hcd 0000:06:00.0: WARN: xHC CMD_RUN
timeout
Nov 10 17:15:10 alex kernel: PM: suspend_common():
xhci_pci_suspend+0x0/0xc0 [xhci_pci] returns -110
Nov 10 17:15:10 alex kernel: PM: pci_pm_suspend():
hcd_pci_suspend+0x0/0x20 returns -110
Nov 10 17:15:10 alex kernel: PM: dpm_run_callback():
pci_pm_suspend+0x0/0x130 returns -110
Nov 10 17:15:10 alex kernel: PM: Device 0000:06:00.0 failed to suspend
async: error -110
.
Nov 10 17:15:10 alex kernel: PM: Some devices failed to suspend, or
early wake event detected
.
.
.
-- snap --