Try this get a brush and lacquer flo thinner clean the USB socket and use a known working cable.
In addition to that, make sure to use an USB cable with data pins. Not your regular cheap charging cable.
An USB cable which can be used to transfer data from your mobile, does have the data pins. A 1$ charging cable, mostly doesn't.