Ah, I missed the parenthesis with the (both USB)... My apologies.
For the USB problems...
- Start with USB Driver - General Fix for Problems to resolve the USB issues. Also, USB ports can sometimes enter a safe power state to protect the system from power surges due to USB devices. To reset the USB ports to a nominal power state:
- Shut down and turn off the computer.
- Unplug the computer from the wall or surge protector (then remove the battery if it is a laptop).
- "Remove the computer from any port replicator or docking station, disconnect
cables to printers or devices such as external monitors, USB memory sticks or SD cards, headset or external speakers, mouse or auxiliary keyboard, turn off WIFI and Bluetooth wireless devices." (Use Hard Reset to Resolve Hardware and Software Issues HP Pavilion dv5000 Notebook PC series - HP Customer Care (United States - English))
- Hold down the power button for 30 seconds. This closes the circuit and ensures all
power from components is drained to clear the software connections between the BIOS
and hardware and clear any corruption in the temporary memory.
- (If it is a laptop, plug the battery back into the laptop and then) Plug the computer back into the wall. Do not reconnect any unnecessary peripherals; monitor, keyboard,
and mouse should suffice and be the only peripherals reconnected.
- Turn it on to reinitialize the software connections between the BIOS and hardware
When you read through the USB general fix, it suggests removing the problem devices. Obviously, your case prevents that since they are key components to even being able to do those steps. I still think the steps are worth doing with the keyboard and mouse connected; it's possible another USB device is causing conflicts with those two. Remove all USB devices except the keyboard and mouse while doing those steps.