All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Haensch <ah.outfittery@tr-host.de>
To: linux-usb@vger.kernel.org
Subject: USB3.0 PCI-E Card with NEC chip crashes host on systemd-suspend
Date: Mon, 11 Nov 2019 18:01:06 +0100	[thread overview]
Message-ID: <f76fef8389e10154cc49759f0f5753d4@tr-host.de> (raw)

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 --


                 reply	other threads:[~2019-11-11 17:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f76fef8389e10154cc49759f0f5753d4@tr-host.de \
    --to=ah.outfittery@tr-host.de \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.