Doing an SMC reset (shutdown iMac and unplug power cord for at least 15 minutes) seems to have fixed a problem I had with iPhone not charging when the iMac goes to sleep. It also seems to have fixed a problem where Photos and Image Capture did not see new photos on the iPhone (also USB related?). However I have read that the USB problems creep back in after a while (buffers filling up?).