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: Control system
L.H.D.
R.H.D.
...
Mazda 6 Service Manual: Intake-air system removal/installation
Warning
When the engine and intake-air system are hot, they can badly
burn. Turn off the engine and wait until they are cool before removing the
intake-air system.
Fuel vapor is hazardous. It can easily ignite, causing serious
injury and damage. Always keep sparks and flames away from ...