Bug ID | 1200659 |
---|---|
Summary | USB devices stop responding when disks are suspended |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | x86-64 |
OS | openSUSE Tumbleweed |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Kernel |
Assignee | kernel-bugs@opensuse.org |
Reporter | mail@erikhahn.eu |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Created attachment 859669 [details]
lshw output
Whenever the disks are suspended to save power, all USB devices including
bluetooth and the internal camera stop working. dmesg reports a "Host System
Error":
[ 8799.865957] hid-generic 0003:046D:C077.0002: input,hidraw0: USB HID v1.11
Mouse [Logitech USB Optical Mouse] on usb-0000:05:00.3-3/input0
[ 9164.290778] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 9164.294687] sd 0:0:0:0: [sda] Stopping disk
[ 9165.591297] xhci_hcd 0000:05:00.3: WARNING: Host System Error
[ 9166.387357] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 9166.387780] ata1.00: supports DRM functions and may not be fully accessible
[ 9166.392460] ata1.00: supports DRM functions and may not be fully accessible
[ 9166.397146] ata1.00: configured for UDMA/133
Replugging the devices has no effect. Running
$ echo '0000:05:00.4' > /sys/bus/pci/drivers/xhci_hcd/unbind
$ echo '0000:05:00.4' > /sys/bus/pci/drivers/xhci_hcd/bind
$ echo '0000:05:00.3' > /sys/bus/pci/drivers/xhci_hcd/unbind
$ echo '0000:05:00.3' > /sys/bus/pci/drivers/xhci_hcd/bind
temporarily makes them work again.
As a workaround, I set AHCI_RUNTIME_PM_ON_BAT=on in TLP.
PCIE_ASPM_ON_BAT=performance, RUNTIME_PM_ON_BAT=off and USB_AUTOSUSPEND=0 did
not work (the problem never occurred on AC).