Going with the PC as the problem then the next step is to power off , open up the case and inspect all cables, connections, seatings etc.. Especially around the USB ports. Use a flashlight and a magnifying glass. Look inside the port openings for debris, bugs, anything that may be interferring with making a full connection.
Could be a short, cracked trace, loose wire - something causing mouse connectivity (no matter what mouse) to be interrupted but not necessarily fully disconnected.
Gently wiggle cables, components, plugs - everything should be snug and tight. Reseat, unplug and replug as much as you can. Especially anything that does not seem to be properly connected.