I ran into a similar problem when my SD card was acting up. If your SD cannot mount the phone will not actually connect to the computer. The way to find out if this is the problem is easy, just remove your SD and try the computer and see if it works!
Is it bad that I like code???