Questions about wires in a DB9 cable
It's very rare for all nine pins to be connected, here are the details. I only use three for anything I design - Ground, TxD and RxD. The other two will depend on the hardware and software.