If it's mouse, try a different mouse. If it's a device or devices connected by a cable (especially micro USB), replace the cable (s). Eliminate things that are easy to fix first. For multiple devices maybe try removing all but one to find out which device has the problem. I would also check the power supply.
Running the network adapter troubleshooter tool. Click the Start button. Click Settings. Click System. Click Troubleshoot. Click Other troubleshooters. Click the run button of Network adapterFor iPads with a Home Button: press and hold the home button and on/off key together on the iPad for 10 seconds or so till you see the Apple logo pop up on the screen. Once the iPad starts and displays the home screen, try to connect it to your computer and give it a try. For iPads with no Home Button: press and quickly release the Volume Up
To fix the USB ethernet adapter’s random disconnection problem, you can try a network reset. To do so:. 1) Right-click on the Start menu and then select Settings. 2) Select Network & Internet. 3) Click Status on the left panel and then click Network reset on the right panel. 4) Click the Reset now button, and then follow the on-screenUsb 3.0 extensible host controller & USB root hub (usb 3.0): Uninstalling + unplugging all devices and restarting ; Unchecking "Allow the computer to turn off this device to save power" Windows USB Troubleshooter "The USB Controller is in a failed state or is not currently installed. Z3rAGV.