Thanks, ed12. I connected pin 7 to pin 4 (3.5v) and that's sorted the audio detection. Not even sure how this works TBH, as there's no continuity (or resistance) between those pins, on the cable. I could only read continuity between pins 1 and 3. Hmmm.
Anyway, I also sorted the USB detection by connecting S-GND to GND, which is what the cable was doing.
Cheers all.