2024-04-04 10:57:33

by Paul Menzel

[permalink] [raw]
Subject: Removing external USB-C adapter during suspend causes `Unable to change power state from unknown to D0, device inaccessible`

Dear Linux folks,


In my quest to get rid of logged Linux errors and warnings, I noticed,
that disconnecting an external USB-C mini-docking station/port
replicator/multi-port adapter, when the system is suspended, then Linux
logs the errors below during resume.

[ 0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0
06/02/2022
[…]
[43209.732248] ACPI: PM: Waking up from system sleep state S3
[43210.055709] ACPI: EC: interrupt unblocked
[43210.058173] pcieport 0000:01:00.0: Unable to change power state
from unknown to D0, device inaccessible
[43210.062058] pcieport 0000:02:00.0: Unable to change power state
from D3hot to D0, device inaccessible
[43210.062059] pcieport 0000:02:02.0: Unable to change power state
from unknown to D0, device inaccessible
[43210.062061] pcieport 0000:02:01.0: Unable to change power state
from unknown to D0, device inaccessible
[43210.066881] xhci_hcd 0000:39:00.0: Unable to change power state
from D3hot to D0, device inaccessible
[43210.129393] ACPI: EC: event unblocked
[43210.130505] xhci_hcd 0000:39:00.0: Unable to change power state
from D3cold to D0, device inaccessible
[43210.130525] xhci_hcd 0000:39:00.0: Controller not ready at
resume -19
[43210.130528] xhci_hcd 0000:39:00.0: PCI post-resume error -19!
[43210.130529] xhci_hcd 0000:39:00.0: HC died; cleaning up
[43210.130538] xhci_hcd 0000:39:00.0: PM: dpm_run_callback():
pci_pm_resume+0x0/0xf0 returns -19
[43210.130548] xhci_hcd 0000:39:00.0: PM: failed to resume async:
error -19
[43210.140430] nvme nvme0: 4/0/0 default/read/poll queues
[…]


Linux is built from commit b1e6ec0a0fd0 (Merge tag 'docs-6.9-fixes' of
git://git.lwn.net/linux).


Kind regards,

Paul


Attachments:
20240404--dell-xps-13-9360--linux-6.9-rc2+--messages.txt (158.75 kB)