Find the Problem
If your computer comes with multiple USB ports, try to connect your peripheral to one of them. This can be done without difficulty to determine whether the issue affects a single port or all of them. Alternately, you may attempt a different cable; however, ensure that the current one is undamaged, not shredded, or has not melted.
Also, you may change devices. If a mouse fails to function in a particular port, attempt to use a keyboard or printer to determine whether the problem lies with the device or the port itself. If you have a separate computer, connect the device to that one.
Use the Right Port
Are you attempting to use a USB Type-C interface to charge your laptops? You might be using the wrong port. Certain ports are data-only ports, designated by some manufacturers so that they can only be used to transmit data and not to draw power. Verify that the USB terminals on your device are labeled. Certain products may feature an icon resembling a charger plug to signify that they are charging devices. Attempting to charge via a data-only port should result in the error being resolved by transitioning to the charging port.
Clear Debris
When you plug in a peripheral and momentarily establish a connection by slightly wriggling it suggests the presence of an obstruction. Check your USB terminals more closely. Debris or grime may obstruct the interface, preventing the computer from making a secure connection with the plug. An effective indication of a malfunction is when the cable fails to completely insert itself into the port. You might require a flashlight, but examine the port for any signs of food or grit obstructing it. If so, power down the computer and use a toothpick to gingerly pry any debris from inside. Additionally, compressed air can be used to purge the area; however, avoid inserting the plastic nozzle directly into the port, as condensation can form and cause damage. However, if you attempt to connect your device and observe that the port is loose or otherwise deforms, it is probable that a physical problem is at play. Currently, you may be required to pry open the chassis of the computer (if feasible) in an attempt to repair the port yourself or contact a professional.
Restart and Update
Restarting your USB interface is a potential requirement. A reset provides the computer with an opportunity to rectify any internal errors that may be causing malfunctioning components. To restart Windows, navigate to Start > Power > Restart. Navigate to Apple > Restart on a Mac. You might also be able to resolve the issue by installing an update on your computer. Over time, the drivers that enable all of your devices to function may encounter complications and require updates. Generally, driver updates are included in routine system updates; therefore, it is worthwhile to attempt. Select the Check for updates icon from the Settings > Update & Security > Windows Update menu in Windows 10. To download and install an update, select the corresponding icon. Navigate to Settings > Windows Update and select Install now for Windows 11. To check for updates, Mac users operating macOS Monterey or earlier can navigate to System Preferences > Software Updates. To update software on a macOS Ventura or later, navigate to System Preferences > General and select Software Update.
Manage USB Controllers
Each USB interface is governed by its own set of drivers. In the event that an error occurs with these drivers, USB interfaces might become unusable. Choose Device Manager by performing a right-click on the Start menu. Expand the inventory by locating Universal Serial Bus controllers further down the page. Identify the option whose name begins with "USB Host Controller" With a right-click, select Uninstall device from the entry. If the name appears in multiple listings, apply the same action to each one. After completing the driver uninstallation, restart the computer. Upon relaunching, the USB Host Controllers will be reinstalled automatically, which should resolve any remaining issues. Things operate marginally otherwise on Macs. On a Mac, the System Management Controller (SMC) manages a variety of hardware functions. Thus, in the event that a USB terminal fails to function, the SMC can be reset. The procedure varies contingent upon the Mac's silicon or Intel architecture, the presence of a detachable battery, or the inclusion of the T2 security chip. Apple provides guidelines for resetting the SMC on a given device.