You are not logged in.

#1 2022-03-03 04:55:14

Mike616
Member
Registered: 2021-01-21
Posts: 8

`root hub lost power or was reset` repeatedly after system resume

I've recently installed Arch after using Manjaro for the last year or so. I'm having an issue I didn't have before.

After resuming from S3 sleep, the system will freeze momentarily every 30-60 seconds. Restarting fixes the problem. When the freezes happen, dmesg outputs this:

usb usb3: root hub lost power or was reset  
usb usb4: root hub lost power or was reset

I believe this happens if I suspend the machine while it is plugged into my thunderbolt dock, unplug it while it's asleep, and then resume the system.

I looked around for solutions but didn't find much. It seems it may have something to do with USB persistence?

Here's the relevant dmesg logs with audit log entries removed for brevity.

https://pastebin.com/B72A25Q8

And here's my boot parameters:

GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor resume=UUID=223b60d6-ac0f-46f4-8654-004d3ec95acf udev.log_priority=3 intel_iommu=on i915.enable_guc=0 i915.enable_gvt=1 button.lid_init_state=open sysrq_always_enabled=1"

Last edited by Mike616 (2022-03-03 05:03:18)

Offline

#2 2022-03-03 07:17:11

seth
Member
Registered: 2012-09-03
Posts: 29,957

Re: `root hub lost power or was reset` repeatedly after system resume

I suspect something™ doesn't like https://wiki.archlinux.org/title/Power_ … utosuspend
"usbcore.autosuspend=-1" will deactivate it completely but nb. that power management services like TLP can and will alter this at runtime.

Offline

#3 2022-04-23 14:16:23

Mike616
Member
Registered: 2021-01-21
Posts: 8

Re: `root hub lost power or was reset` repeatedly after system resume

Thanks for the help and sorry it's taken me forever to test this out, but it seems to not have worked. I added usbcore.autosuspend=-1 and I set TLP to disable USB autosuspend.

The strange thing is, I didn't have this problem under Manjaro so there's got to be something Manjaro does to prevent this.

Offline

#4 2022-04-23 14:21:44

Mike616
Member
Registered: 2021-01-21
Posts: 8

Re: `root hub lost power or was reset` repeatedly after system resume

Also, it appears that restarting my X session fixes the problem too. Not necessarily a full reboot.

Offline

#5 2022-04-23 15:36:35

seth
Member
Registered: 2012-09-03
Posts: 29,957

Re: `root hub lost power or was reset` repeatedly after system resume

I believe this happens if I suspend the machine while it is plugged into my thunderbolt dock, unplug it while it's asleep, and then resume the system.

https://wiki.archlinux.org/title/System … end/Resume ?

Offline

Board footer

Powered by FluxBB