Having one or more USB ports that don't work on your Mac can be very frustrating, especially if you rely on those ports for data backup and external peripherals. That said, USB issues are quite rare and are generally easy to fix. If you think that the cable and the device are not the problem, you should check the ports themselves. To make sure they're clean, use a can of compressed air to apply pressure to remove any dust particles.
Respectively, check the port of the other device and do the same. If this is the case, the only real solution is to contact an authorized Mac specialist to perform a hardware diagnostic test and repair the port. But before you go down that route, there are a few troubleshooting tips you can try to get your USB ports working again.
Check Your DeviceThe first step is to make sure that your device is working properly.
Try connecting it to another computer or laptop and see if it works. If it does, then the problem is with your Mac's USB port. If it doesn't work on any other computer, then it's likely that your device is faulty and needs to be replaced.
Check Your CableThe next step is to check your cable.
Make sure that it's securely connected to both your device and your Mac. If it's loose or damaged, then it could be causing the issue. Try using a different cable if possible and see if that solves the problem.
Check Your SoftwareIf your device and cable are both working properly, then it's likely that there's an issue with your Mac's software.
It's possible that an application you've downloaded from an unknown source may contain malware, which could be causing the problem. Try uninstalling any recently installed applications and see if that solves the issue.
Clean Your PortsIf none of these steps have worked, then it's likely that there's an issue with your Mac's USB ports themselves. Dust and dirt in the port cavities can make it difficult for them to establish a connection with your device.
To make sure they're clean, use a can of compressed air to apply pressure and remove any dust particles from the ports.