I've searched this issue and the only solution was SMC reset, which I've tried. It's a last 2011, so no warranty left. I'm hoping its not the main board. When I plug in my iPhone, if I move the cable ever so slightly, it disconnects. Tried 3 different cables. Even my Nike Sportwatch as the same issue on that port.