Mac Keyboard Doesn't Recognize iPhone via USB
The Mac Keyboard is a non-powered USB hub. As such, it may or may not recognize your iPhone when attached to it.  Just in case though, have you tried connecting it to the port that your mouse currently is in? Do this just to make sure you don't have a bum keyboard.