WARNING: This page is about a different car, the 2005 Mazda RX-8 and 2004 Mazda RX-8. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the PCM connectors.
Disconnect the MAF/IAT sensor connector.
Inspect the following wiring harnesses for open or short circuit. (Continuity inspection)