Note
1. Open the bonnet.
2. Disconnect the negative battery cable.
3. Remove the radiator grille.
4. Disconnect the bonnet switch connector.
5. Check the continuity between the bonnet switch terminals A and B using an ohmmeter.

6. Lock the bonnet lock using a flat-head screwdriver or equivalent as shown.

7. Check the no continuity between the bonnet switch terminals A and B using an ohmmeter.
Caution
Theft-deterrent control module removal/installationMazda 6 Service Manual: No.8 no cool air
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while performing the inspection to discover
whether poor contact points are the cause of any intermittent malfunctions.
If there is a problem, check to make sure connectors, terminals ...
Mazda 6 Service Manual: Rear crossmember removal/installation
Caution
Performing the following procedures without first removing the ABS
wheel-speed sensor may possibly cause an open circuit in the harness if it
is pulled by mistake. Before performing the following procedures, remove the
ABS wheel-speed sensor (axle side) and fix it to an appropri ...