You are not logged in.

#1 2024-11-06 08:11:42

kongeor
Member
Registered: 2013-12-08
Posts: 6

xhci_hcd: xHC error in resume, USBSTS 0x401, Reinit

Hello,

After suspending my machine, my mouse isn't working. It's a logitech G305 with a wireless dongle. It used to work, and I just sporadically had this issue.
I have a 2nd machine with similar hardware where I also bump onto this every now and then.

After some tinkering with nvidia proprietary drivers, this issue became apparently worse. Now every time I suspend (manually) I'm hitting this problem.
I can unplug/re-plug the dongle which fixes the issue. Restarting gdm also works but that's even more painful.

The error I see in dmesg is:

[   41.825660] xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
[   63.007020] xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit

My kernel version is

6.11.6-arch1-1

I don't have anything particular in kernel params or mkinitcpio.conf that seems to be related.

I tinkered a bit with the autosuspend settings found in https://bbs.archlinux.org/viewtopic.php?id=281751
but nothing made things better.

Help or suggestion for things to try would be much appreciated. Thanks!

Offline

#2 2024-11-06 12:46:31

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: xhci_hcd: xHC error in resume, USBSTS 0x401, Reinit

Is the xhci error even relevant, ie. is it in proximity to the sleep cycle and is 02:00.0 the relevant usb hub?

https://wiki.archlinux.org/title/Logite … g_Receiver
Can you explicitly re-pair the device?

After some tinkering with nvidia proprietary drivers

What does that mean? GPUs often have a USB hub (for VR devices), is it the one that causes a resume error?

Offline

#3 2024-11-10 18:21:05

kongeor
Member
Registered: 2013-12-08
Posts: 6

Re: xhci_hcd: xHC error in resume, USBSTS 0x401, Reinit

Thank you for your reply. Indeed, the xhci error is misleading. This is not related to the usb hub, and of course nor nvidia drivers. This was completely irrelevant. I shared that mainly to highlight that I had mangled with kernel params and hooks.

I remembered that I had this issue in the past and it seems to be a combination of the following params: I have xpadneo-dkms-git installed from aur, and when I have my xbox series controller plugged in, my mouse doesn't work after suspend.

Unplugging the xbox controller resolves the issue. Same applies if the xpadneo-dkms-git is not there.

I think I can mark this resolved but I guess I should change the title to something like "logitech G305 not working after suspend".

Offline

#4 2024-11-10 19:50:51

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: xhci_hcd: xHC error in resume, USBSTS 0x401, Reinit

I think I can mark this resolved but I guess I should change the title to something like "logitech G305 not working after suspend".

Yes. Does the controller presence cause any differences in the system journal around the sleep?

Offline

Board footer

Powered by FluxBB