Not all USB cables can transfer data. Try using a different USB cable if your device is charging, but doesn't establish a connection to your machine.
It seems trivial. But it's worth a try if each and every other solution that normally works, doesn't.