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: Dsc on-board diagnosis
On-Board Diagnostic (OBD) Test Description
(See ABS (ABS/TCS) ON-BOARD DIAGNOSIS)
DTC Table
PID/DATA Monitor Table
Active Command Modes Table
...
Mazda 6 Service Manual: Fuel pump unit inspection
Caution
It is normal to hear the fuel pump operating when the ignition
switch is turned to the ON position.
Note
To improve startability, the fuel pump control operates the fuel
pump unit when the ignition switch is turned to the ON position. Due to
this, fuel pressure is rapidly ...