Resume error

Hi,

I’m interested in trying EndeavourOS (already running Manjaro) and downloaded the live USB and booted from it.

Unfortunately it fails to resume after a suspend:

usb 1-5.2.4.2: PM: dpm_run_callback(): usb_dev_resume returns -5
usb 1-5.2.4.2: PM: failed to resume async: error -5

and then it just stays like that.

uname:

Linux EndeavourOS 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux

System specs:

Intel Core i7 12700
MSI Z690 motherboard
32 GB of RAM
Several NVME drives
NVIDIA 4080 with proprietary drivers

The error doesn’t happen with either Manjaro or Ubuntu

Output of lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1462:7d25 Micro Star International MYSTIC LIGHT 
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 045e:0b12 Microsoft Corp. Xbox Controller
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 007: ID 0424:4206 Microchip Technology, Inc. (formerly SMSC) USB4206 Smart Hub
Bus 001 Device 009: ID 8087:0033 Intel Corp. AX211 Bluetooth
Bus 001 Device 010: ID 0424:4216 Microchip Technology, Inc. (formerly SMSC) USB4216 Smart Hub
Bus 001 Device 011: ID 0424:7260 Microchip Technology, Inc. (formerly SMSC) USB2 Controller Hub
Bus 001 Device 014: ID 041e:3272 Creative Technology, Ltd Pebble V3
Bus 001 Device 015: ID 0424:7240 Microchip Technology, Inc. (formerly SMSC) USB2 Controller Hub
Bus 001 Device 020: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 021: ID 046d:08e5 Logitech, Inc. C920 PRO HD Webcam
Bus 001 Device 022: ID 3434:0213 Keychron Keychron K1 Pro
Bus 001 Device 023: ID 32c2:0012 HS6209 2.4G Wireless Receiver
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0424:7206 Microchip Technology, Inc. (formerly SMSC) USB7206 Smart Hub
Bus 002 Device 005: ID 154b:1006 PNY USB 3.2.1 FD
Bus 002 Device 006: ID 18d1:4ee7 Google Inc. Nexus/Pixel Device (charging + debug)
Bus 002 Device 007: ID 0424:7216 Microchip Technology, Inc. (formerly SMSC) USB7216 Smart Hub
Bus 002 Device 008: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 011: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 012: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)

Output of lsbusb -t

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 002: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 005: Dev 003, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 001: Dev 020, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 001: Dev 021, If 0, Class=Video, Driver=uvcvideo, 480M
            |__ Port 001: Dev 021, If 1, Class=Video, Driver=uvcvideo, 480M
            |__ Port 001: Dev 021, If 2, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 001: Dev 021, If 3, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 003: Dev 022, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 003: Dev 022, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 003: Dev 022, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 004: Dev 023, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 004: Dev 023, If 1, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 002: Dev 007, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 004: Dev 010, If 0, Class=Hub, Driver=hub/5p, 480M
                |__ Port 002: Dev 014, If 0, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 002: Dev 014, If 1, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 002: Dev 014, If 3, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 005: Dev 015, If 0, Class=Vendor Specific Class, Driver=[none], 480M
                |__ Port 005: Dev 015, If 1, Class=Billboard, Driver=[none], 480M
            |__ Port 005: Dev 011, If 0, Class=Vendor Specific Class, Driver=[none], 480M
            |__ Port 005: Dev 011, If 1, Class=Human Interface Device, Driver=usbhid, 480M
    |__ Port 007: Dev 004, If 0, Class=Vendor Specific Class, Driver=xpad, 12M
    |__ Port 007: Dev 004, If 1, Class=Vendor Specific Class, Driver=[none], 12M
    |__ Port 007: Dev 004, If 2, Class=Vendor Specific Class, Driver=[none], 12M
    |__ Port 013: Dev 006, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 014: Dev 009, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 014: Dev 009, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/9p, 20000M/x2
    |__ Port 004: Dev 011, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 002: Dev 012, If 0, Class=Imaging, Driver=[none], 5000M
        |__ Port 002: Dev 012, If 1, Class=Communications, Driver=cdc_acm, 5000M
        |__ Port 002: Dev 012, If 2, Class=CDC Data, Driver=cdc_acm, 5000M
        |__ Port 002: Dev 012, If 3, Class=Vendor Specific Class, Driver=[none], 5000M
        |__ Port 002: Dev 012, If 4, Class=Vendor Specific Class, Driver=[none], 5000M
    |__ Port 005: Dev 003, If 0, Class=Hub, Driver=hub/4p, 10000M
        |__ Port 001: Dev 006, If 0, Class=Vendor Specific Class, Driver=[none], 10000M
        |__ Port 004: Dev 007, If 0, Class=Hub, Driver=hub/4p, 10000M
            |__ Port 003: Dev 008, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
    |__ Port 007: Dev 005, If 0, Class=Mass Storage, Driver=usb-storage, 5000M

inxi -J should reveal which device is causing the issue.

Hi @kmansoft, welcome to the forum!

Just to be clear, the problem exists while using the live-session?

  Device-1: 1-5.2.4.2:14 info: Creative Pebble V3 type: audio,HID rev: 1.1

USB speakers - but Manjaro and Ubuntu are installed on the same computer (multi-boot using ReFind) and are able to suspend / resume just fine.

Yes, live session from USB media.

But I installed Arch a couple of weeks ago to the machine’s hard drive and it also would freeze on resume from suspend (although I didn’t write down the exact error).

Unplugged the speakers - issue in EndevourOS is still there.

Rebooted into Ubuntu - suspended / resumed - got same exact error messages about USB.

I think the USB messages are a red herring, and the cause is something else.

Another message that EndevourOS prints when resuming (before freezing) is this:

iwlwifi 0000:00:14.3: WRT: Invalid buffer destination

Ubuntu doesn’t have this message when resuming.

Yes my motherboard has built-in WiFi, which I’m not using, but there seems no way to disable it in BIOS / UEFI setup.

You may find out which kernel module loads for the wifi device and then blacklist it in /etc/modprobe.d/

Booted from EndevourOS’s live media again and disabled the WiFi module by editing boot parameters.

The WiFi error message is gone, but the system still can’t resume, freezes.

Any way to troubleshoot this?

The weird this is, my computer’s hardware is pretty plain, can’t think of anything unusual.