I had a problem with USBs on a previous PC not detecting a USB hard drive.
I was told to do the following:-
Switch Off, Remove all monitors, printers and anything else connected to the PC. Disconnect from the power supply and leave the PC unpowered for as long as possible at least overnight.
Re plug every thing in reboot and hopefully the USBs work.
I didn't believe it but it worked.