Recently for my new job position I had the necessity to manage 2 computers from my desk: My Pc (my primary desktop with Linux) and the other with Windows 11 (Work laptop).
For security reasons I can’t connect with RDP, so in the end I managed by connecting second monitor on Laptop with HDMI, and switching keyboard and mouse from one pc to other.
Recently I bought the BENFEI USB 3.0 Switch, which is indicated on the ecommerce “Linux compatible”.
When this device is connected on Windows 11 no problems, keyboard and mouse are working very well.
When it was connected on Linux I had frequently disconnections.
So I tried ask Chat GPT what can I do, he said me I can configure USB ports without the Autosuspend option.
I tried, but it was not working again, I was reciving frequently disconnections as well.
In the end the thing that it finally works it was connecting directly the USB switch on a USB 3.0 port of my desktop motherboard. Before I was connecting the switch on a USB 2.0 port.
So yes, Chat GPT said me the Linux Kernel manage better USB 3.0 ports then the USB 2.0 ports, with a modern xhci_hcd module instead the old and more fragile ehci_hcd module.
TLDR; if in Linux you are reciving some hardware reset take in consideration to switch the hardware on an USB 3.0 port.