This error is occured when you connect a device to your computer using USB cable.
Some related solutions are posted: USB port reconfiguration, USB port reset, use another USB adapter etc…However, there is one main cause is missed: It is the malfunction of the USB connector or USB adapter.
First, you should try connnecting USB cable to another computer, if you get same error then you have to investigate its USB connectors or adapter even at the device (say printer or computer) you want to add to your computer hardware.