I have similar
Almost like the USB port gets a little loose with gravity. If I rest the phone and the cable on the desk, I can't maintain the USB connection. If I put the phone near the edge, and let the cable hang over, it puts just enough torque for the data connection to work.
Happens no matter what cables I use.
I've thought about asking HTC, but I have a feeling it means it goes in for repairs.