Hi there
On the phone, try going to settings, then enter ´enable programmer mode/option´ and in usb related sub-section, changing the usb mode (charging only/photo transfer, etc) if available. Try them all on a sequence.
It usualy does the job. Hope it helps.